On Jul 24, 2005, at 6:23 pm, C.Beamer wrote:

hda1 is DOS
hda2 is /boot
hda3 is swap
hda4 is my extended partition
hda5 is /root

The grub.conf file that I entered is as follows:

default 0
timeout 30

splashimage=(hd0,1)/grub/splash.xpm.gz

title=Genoo Linux 2.6.12-r6

root (hda0, 1)
kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192
real_root=/dev/hda5 udev
initrd /initrd-2.6.12-gentoo-r6

I haven't tried booting with a RAM disk, so I can't comment on the other lines, but in the first there should be no space after the comma. IE:
   root (hda0,1)

as you've done correctly below:

title=DOS
root (hda0,0)
makeactive
chainloader +1


...
Is there a way to fix the grub.conf file?

I always do so by booting from the Gentoo LiveCD, mounting /dev/hda2 to /mount/gentoo, editing grub.conf with `nano` and then rebooting. You can experiment amply like this until you get it right.

Stroller.

--
gentoo-user@gentoo.org mailing list

Reply via email to