[gentoo-user] Re enter chroot install

2008-05-14 Thread James
Hello,

I have a installation that did not complete successfully. 
I need to re enter the chroot environment, using a
install cd.  For argue purposes, let's assume the hard drive
is formatted exactly as the example in the handbook.  All I want to
do is emerge an older kernel and compile it.  According 
to what I glean from the handbook, these are the minimal steps
to re enter the chroot environment after a failed reboot:





# mount /dev/sda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/sda1 /mnt/gentoo/boot
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
# export PS1=(chroot) $PS1


Anything else I missed?
Any of the above steps that are not necessary?


James

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re enter chroot install

2008-05-14 Thread Espen Hustad
2008/5/15, James [EMAIL PROTECTED]:

 Hello,

 I have a installation that did not complete successfully.
 I need to re enter the chroot environment, using a
 install cd.  For argue purposes, let's assume the hard drive
 is formatted exactly as the example in the handbook.  All I want to
 do is emerge an older kernel and compile it.  According
 to what I glean from the handbook, these are the minimal steps
 to re enter the chroot environment after a failed reboot:





 # mount /dev/sda3 /mnt/gentoo
 # mkdir /mnt/gentoo/boot
 # mount /dev/sda1 /mnt/gentoo/boot
 # mount -t proc none /mnt/gentoo/proc
 # mount -o bind /dev /mnt/gentoo/dev
 # chroot /mnt/gentoo /bin/bash
 # env-update
 # source /etc/profile
 # export PS1=(chroot) $PS1


 Anything else I missed?

No.


Any of the above steps that are not necessary?

mkdir /mnt/gentoo/boot


James

 --
 gentoo-user@lists.gentoo.org mailing list




Re: [gentoo-user] Re enter chroot install

2008-05-14 Thread Robert Bridge
On Thu, 15 May 2008 00:56:29 + (UTC)
James [EMAIL PROTECTED] wrote:
 I have a installation that did not complete successfully. 
 I need to re enter the chroot environment, using a
 install cd.  For argue purposes, let's assume the hard drive
 is formatted exactly as the example in the handbook.  All I want to
 do is emerge an older kernel and compile it.  According 
 to what I glean from the handbook, these are the minimal steps
 to re enter the chroot environment after a failed reboot:
 
 # mount /dev/sda3 /mnt/gentoo

check...

 # mkdir /mnt/gentoo/boot

shouldn't be needed, you did this the first time right?

 # mount /dev/sda1 /mnt/gentoo/boot
 # mount -t proc none /mnt/gentoo/proc
 # mount -o bind /dev /mnt/gentoo/dev
 # chroot /mnt/gentoo /bin/bash
 # env-update
 # source /etc/profile
 # export PS1=(chroot) $PS1

check...

 Anything else I missed?

No, that looks about right.

 Any of the above steps that are not necessary?

the mkdir...

Rob.
-- 
gentoo-user@lists.gentoo.org mailing list