From: Frank Schafer <frank.schafer@t-systems.cz>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] newbie install - emerge: command not found
Date: Wed, 24 Aug 2005 10:59:09 +0200 [thread overview]
Message-ID: <1124873949.5942.67.camel@localhost.localdomain> (raw)
In-Reply-To: <430C3080.4070606@joli-ciel.com>
On Wed, 2005-08-24 at 10:32 +0200, Assaf Urieli wrote:
> Neil Bothwick wrote:
>
> >On Tue, 23 Aug 2005 17:52:22 +0200, Assaf Urieli wrote:
> >
> >
> >>BTW, /usr/bin doesn't even exist - all /usr contains is lost+found
> >>
> >>
> >Do you have a separate partition for /usr? If so, is it mounted?
> >
> >What you describe is a classic symptom of installing /usr on its own
> >partition and forgetting to add it to /etc/fstab.
> >
> >
> Oy vey, that was it! I knew I must be doing something stupid.
> Feeling adventurous, I decided to create a 4th partition and mount /usr
> onto it in my /etc/fstab, but on the other hand I didn't mount it while
> installing gentoo (I thought somehow the fstab would be enough)...
> So everything got installed on the root partition.
> I corrected the problem by changing my /etc/fstab to mount /dev/hda4
> somewhere else, and now when I reboot my /usr/bin directory contains
> everything that was installed on it.
>
> So, just a couple of questions to get things organised in my brain:
> If I wanted to mount the /usr partition while installing, would this
> have been the right command? Would I have to make the directory first?
> # mount -t ext3 /dev/hda4 /mnt/gentoo/usr
Former: yes, latter: yes
>
> In fact, I'm not even quite sure that I understand the whole concept of
> mounting...
> When I type:
> # mount -t ext3 /dev/hda3 /mnt/gentoo
> Does the /mnt/gentoo directory already exist somewhere? If it didn't, I
> imagine this statement would throw an error. But where can it exist if
> it isn't yet associated with any partition (i.e. /dev/hda3)?
First: it has to exist
Second: you imagine right
Third: A bolt hole can exist without a bolt in it, can't it?
> # mkdir /mnt/gentoo/boot
> Where am I making this directory? I would assume this statement creates
> the directory on /dev/hda3. But then, in the next statement, I'm
yes
> associating it with /dev/hda4!
right
/mnt/
|
+- gentoo/ << this is a mountpoint (bolt hole) on /dev/hda3
#mount /dev/hda4 /mnt/gentoo (here's the bolt)
|
+ usr/ << this is a normal directory
|
+ boot/ << further bolt hole
> # mount /dev/hda1 /mnt/gentoo/boot
(with bolt from here on)
Well, every normal directory can act as a bolt hole. If it contains
something when you screw the bolt in (mount something) the content of
the directory will be hidden (that's why the commands weren't found).
>
> Another question:
> Now that I've got an unused /dev/hda4 partition, what should I mount on
> it? I can't mount /usr onto it cause /usr already exists on the root
> partition & is full of stuff. Can I just invent any old name for
> mounting (like say, /home), and then use it for storing data?
yes
>
> Sorry for the naive questions, but I'm trying to get my head around some
> of these concepts...
Don't worry, we all began some (ancient ;) time ago.
>
> Best regards,
> Assaf
>
> >
> >
> >
Regards
Frank
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-24 9:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-23 14:30 [gentoo-user] newbie install - emerge: command not found Assaf Urieli
2005-08-23 14:55 ` Nagatoro
2005-08-23 15:52 ` Assaf Urieli
2005-08-23 16:19 ` Neil Bothwick
2005-08-24 8:32 ` Assaf Urieli
2005-08-24 8:59 ` Frank Schafer [this message]
2005-08-24 10:56 ` Michael Kintzios
2005-08-24 11:00 ` Neil Bothwick
2005-08-23 16:38 ` Jason Cooper
2005-08-23 15:12 ` Holly Bostick
2005-08-23 15:49 ` Assaf Urieli
2005-08-23 16:10 ` Ben Munat
2005-08-23 16:25 ` Assaf Urieli
2005-08-23 17:41 ` Willie Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1124873949.5942.67.camel@localhost.localdomain \
--to=frank.schafer@t-systems.cz \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox