Results 1 to 5 of 5
Could somebody please tell me what to type to chroot back into the Gentoo installer so that I can edit my grub.conf.
I have searched this subject and it seems ...
- 08-13-2005 #1Just Joined!
- Join Date
- Jun 2005
- Location
- Harwich - England
- Posts
- 52
Daft question: How to chroot?
Could somebody please tell me what to type to chroot back into the Gentoo installer so that I can edit my grub.conf.
I have searched this subject and it seems to be general knowledge that is assumed that people know, I'm afraid I don't.
- 08-13-2005 #2Linux Enthusiast
- Join Date
- Jun 2005
- Location
- Odessa, FL
- Posts
- 586
first you want to mount your boot partition, whether it's different from your root partition or not by doing "mount /dev/hda1" (assuming it's on the first partition of your first harddrive, if not than adjust accordingly), then follow these steps to chroot into it (taken from the Gentoo handbook):
Code:# mount -t proc none /mnt/gentoo/proc # chroot /mnt/gentoo /bin/bash # env-update * Caching service dependencies... # source /etc/profile
- 08-13-2005 #3Just Joined!
- Join Date
- Jun 2005
- Location
- Harwich - England
- Posts
- 52
Thank you
Tried that and I get the following
What am I doing wrong?Code:mount point /mnt/gentoo/proc does not exist
- 08-13-2005 #4Try
Originally Posted by unobtanium and thenCode:mkdir /mnt/gentoo/proc
as stated aboveCode:# mount -t proc none /mnt/gentoo/proc # chroot /mnt/gentoo /bin/bash # env-update * Caching service dependencies... # source /etc/profile
- 08-29-2005 #5
errr
then the proc and the chrootCode:mount /dev/hd?? /mnt/gentoo
~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org


Reply With Quote
