Gentoo Archives: gentoo-user

From: Assaf Urieli <assaf@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] newbie install - emerge: command not found
Date: Wed, 24 Aug 2005 08:38:35
Message-Id: 430C3080.4070606@joli-ciel.com
In Reply to: Re: [gentoo-user] newbie install - emerge: command not found by Neil Bothwick
1 Neil Bothwick wrote:
2
3 >On Tue, 23 Aug 2005 17:52:22 +0200, Assaf Urieli wrote:
4 >
5 >
6 >>BTW, /usr/bin doesn't even exist - all /usr contains is lost+found
7 >>
8 >>
9 >Do you have a separate partition for /usr? If so, is it mounted?
10 >
11 >What you describe is a classic symptom of installing /usr on its own
12 >partition and forgetting to add it to /etc/fstab.
13 >
14 >
15 Oy vey, that was it! I knew I must be doing something stupid.
16 Feeling adventurous, I decided to create a 4th partition and mount /usr
17 onto it in my /etc/fstab, but on the other hand I didn't mount it while
18 installing gentoo (I thought somehow the fstab would be enough)...
19 So everything got installed on the root partition.
20 I corrected the problem by changing my /etc/fstab to mount /dev/hda4
21 somewhere else, and now when I reboot my /usr/bin directory contains
22 everything that was installed on it.
23
24 So, just a couple of questions to get things organised in my brain:
25 If I wanted to mount the /usr partition while installing, would this
26 have been the right command? Would I have to make the directory first?
27 # mount -t ext3 /dev/hda4 /mnt/gentoo/usr
28
29 In fact, I'm not even quite sure that I understand the whole concept of
30 mounting...
31 When I type:
32 # mount -t ext3 /dev/hda3 /mnt/gentoo
33 Does the /mnt/gentoo directory already exist somewhere? If it didn't, I
34 imagine this statement would throw an error. But where can it exist if
35 it isn't yet associated with any partition (i.e. /dev/hda3)?
36 # mkdir /mnt/gentoo/boot
37 Where am I making this directory? I would assume this statement creates
38 the directory on /dev/hda3. But then, in the next statement, I'm
39 associating it with /dev/hda4!
40 # mount /dev/hda1 /mnt/gentoo/boot
41
42 Another question:
43 Now that I've got an unused /dev/hda4 partition, what should I mount on
44 it? I can't mount /usr onto it cause /usr already exists on the root
45 partition & is full of stuff. Can I just invent any old name for
46 mounting (like say, /home), and then use it for storing data?
47
48 Sorry for the naive questions, but I'm trying to get my head around some
49 of these concepts...
50
51 Best regards,
52 Assaf
53
54 >
55 >
56 >
57 --
58 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] newbie install - emerge: command not found Frank Schafer <frank.schafer@×××××××××.cz>
Re: [gentoo-user] newbie install - emerge: command not found Neil Bothwick <neil@××××××××××.uk>