Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Help
Date: Sun, 24 Jul 2005 17:45:52
Message-Id: ba9161cb29f76e4cab63e3f254b8479a@stellar.eclipse.co.uk
In Reply to: [gentoo-user] Help by "C.Beamer"
1 On Jul 24, 2005, at 6:23 pm, C.Beamer wrote:
2 >
3 > hda1 is DOS
4 > hda2 is /boot
5 > hda3 is swap
6 > hda4 is my extended partition
7 > hda5 is /root
8 >
9 > The grub.conf file that I entered is as follows:
10 >
11 > default 0
12 > timeout 30
13 >
14 > splashimage=(hd0,1)/grub/splash.xpm.gz
15 >
16 > title=Genoo Linux 2.6.12-r6
17 >
18 > root (hda0, 1)
19 > kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc
20 > ramdisk=8192
21 > real_root=/dev/hda5 udev
22 > initrd /initrd-2.6.12-gentoo-r6
23
24 I haven't tried booting with a RAM disk, so I can't comment on the
25 other lines, but in the first there should be no space after the comma.
26 IE:
27 root (hda0,1)
28
29 as you've done correctly below:
30
31 > title=DOS
32 > root (hda0,0)
33 > makeactive
34 > chainloader +1
35 >
36
37 > ...
38 > Is there a way to fix the grub.conf file?
39
40 I always do so by booting from the Gentoo LiveCD, mounting /dev/hda2 to
41 /mount/gentoo, editing grub.conf with `nano` and then rebooting. You
42 can experiment amply like this until you get it right.
43
44 Stroller.
45
46 --
47 gentoo-user@g.o mailing list