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 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)? # 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 associating it with /dev/hda4! # mount /dev/hda1 /mnt/gentoo/boot 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? Sorry for the naive questions, but I'm trying to get my head around some of these concepts... Best regards, Assaf > > > -- gentoo-user@gentoo.org mailing list