View previous topic :: View next topic |
Author |
Message |
bladefist n00b
Joined: 14 Dec 2003 Posts: 20
|
Posted: Sun Dec 14, 2003 10:27 pm Post subject: me = idiot grub.conf |
|
|
i just installed gentoo and setup the grub.conf, and l i got a little too excited and made a simple typo in grub.conf...so now i have to use a boot disk, then manually type in my grub.conf....thats all fine, well and dandy. but now how do i go back and find my grub.conf?
when i do nano -w /boot/grub/grub.conf i get a blank document |
|
Back to top |
|
|
mrhodes Guru
Joined: 01 May 2002 Posts: 310 Location: Halifax, NS
|
Posted: Sun Dec 14, 2003 10:36 pm Post subject: |
|
|
you wouldn't beleive how many times that used to happen to me!
what you need to do is mount your boot partition...
eg.
mount /dev/hda1 /boot
replace hda1 with your actual partition..
Hope this helps _________________ Michael Rhodes
Tiger Studios Entertainment
http://www.tigerstudios.net |
|
Back to top |
|
|
bladefist n00b
Joined: 14 Dec 2003 Posts: 20
|
Posted: Sun Dec 14, 2003 10:39 pm Post subject: |
|
|
bash-2.05b# mount /dev/hda1/boot
mount: can't find /dev/hda1/boot in /etc/fstab or /etc/mtab
what did i screw up on now |
|
Back to top |
|
|
mrhodes Guru
Joined: 01 May 2002 Posts: 310 Location: Halifax, NS
|
Posted: Sun Dec 14, 2003 10:42 pm Post subject: |
|
|
Oh, I think you will need to mount your root partition first, and then mount the boot partition...
mount /dev/hda2 /mnt/gentoo/
...
mount /dev/hda1 /mnt/gentoo/boot
then chroot into the /mnt/gentoo directory... then go fix your grub file...
let me know if you need more help _________________ Michael Rhodes
Tiger Studios Entertainment
http://www.tigerstudios.net |
|
Back to top |
|
|
bladefist n00b
Joined: 14 Dec 2003 Posts: 20
|
Posted: Sun Dec 14, 2003 10:43 pm Post subject: |
|
|
haha i am an idiot. figured it out. thanks |
|
Back to top |
|
|
mrhodes Guru
Joined: 01 May 2002 Posts: 310 Location: Halifax, NS
|
Posted: Sun Dec 14, 2003 10:47 pm Post subject: |
|
|
No Problem
was that the problem after all? _________________ Michael Rhodes
Tiger Studios Entertainment
http://www.tigerstudios.net |
|
Back to top |
|
|
|