From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E7rDC-0003Zn-5Y for garchives@archives.gentoo.org; Wed, 24 Aug 2005 09:06:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7O941Ge005783; Wed, 24 Aug 2005 09:04:01 GMT Received: from mail.t-systems.cz (mail.t-systems.cz [212.67.76.249]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7O8wPqf017102 for ; Wed, 24 Aug 2005 08:58:25 GMT Received: from mefisto.t-systems.cz (faust.t-systems.cz [10.246.110.12]) by mail.t-systems.cz (Postfix) with ESMTP id F1D9389E3F for ; Wed, 24 Aug 2005 10:58:57 +0200 (CEST) Received: from andre.t-systems.cz ([10.246.112.240]) by mefisto.t-systems.cz with Microsoft SMTPSVC(6.0.3790.211); Wed, 24 Aug 2005 10:58:57 +0200 Received: andre.t-systems.cz 10.246.112.240 from 10.246.112.176 10.246.112.176 via HTTP with MS-WebStorage 6.5.6944 Received: from frankies by andre.t-systems.cz; 24 Aug 2005 10:59:10 +0200 Subject: Re: [gentoo-user] newbie install - emerge: command not found From: Frank Schafer To: gentoo-user@lists.gentoo.org In-Reply-To: <430C3080.4070606@joli-ciel.com> References: <430B3304.2000507@joli-ciel.com> <430B38FA.60802@gmail.com> <430B4636.4050500@joli-ciel.com> <20050823171948.26fa3e95@hactar.digimed.co.uk> <430C3080.4070606@joli-ciel.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 24 Aug 2005 10:59:09 +0200 Message-Id: <1124873949.5942.67.camel@localhost.localdomain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 X-OriginalArrivalTime: 24 Aug 2005 08:58:57.0785 (UTC) FILETIME=[10082690:01C5A88A] X-T-Systems_Czech-MailScanner: Found to be clean X-T-Systems_Czech-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-5.834, required 5, autolearn=not spam, ALL_TRUSTED -3.30, AWL 0.07, BAYES_00 -2.60) X-MailScanner-From: frank.schafer@t-systems.cz X-Archives-Salt: 41ce3374-1091-4623-9362-04993071ce9d X-Archives-Hash: a24a09a0687156a1910df39d15d110ce 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