* [gentoo-user] Re: bash: mount: command not found
[not found] <200412040824.02647.dlw@hei.net>
@ 2004-12-05 2:03 ` Gabriel M. Beddingfield
0 siblings, 0 replies; only message in thread
From: Gabriel M. Beddingfield @ 2004-12-05 2:03 UTC (permalink / raw
To: gentoo-user
Don wrote:
> [root@hei don]# chroot /mnt/gentoo /bin/bash
> bash-2.05b# env-update
>>>> Regenerating /etc/ld.so.cache...
> bash-2.05b# source /etc/profile
> hei / # ls
> bin boot dev etc home lib lost+found mnt opt proc root sbin
> stage1-x86-2004.3.tar.bz2 sys tmp usr var
> hei / # mount -t proc none /mnt/gentoo/proc
> bash: mount: command not found
> 'mount /mnt/gentoo' also says 'no such file or directory'.
>
> Any ideas?
It looks like you're installing gentoo. If so, then you have the commands
out of order. You should have done the mount command before chrooting. If
you goofed and chrooted before mounting proc, you may be able to do this:
(from your chroot environment)
# exit
# mount -t proc none /mnt/gentoo/proc
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
Then you'll be back where you left off.
Viz. http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6
To understand what's happening, man chroot. But the readers digest version
is this: 'chroot /mnt/gentoo /bin/bash' means that what was
once /mnt/gentoo is now / (and you're using bash for a shell).
--
G a b r i e l M . B e d d i n g f i e l d
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-05 2:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200412040824.02647.dlw@hei.net>
2004-12-05 2:03 ` [gentoo-user] Re: bash: mount: command not found Gabriel M. Beddingfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox