Click to See Complete Forum and Search --> : GRUB configuration


gobeavers
10-19-2004, 09:05 PM
Doing a Gentoo install, this is the first time I have manually configured grub....my hard drive is set up with windows as the first partition, the root as 2nd, swap as 3rd, and boot as 4th.....the Gentoo manual uses this as the skeleton for the config:
______________________________________

default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.4.26-r6
root (hd0,0)
kernel /kernel-2.4.26-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3
initrd /initrd-2.4.26-gentoo-r6

# Only in case you want to dual-boot
title=Windows XP
root (hd0,5)
makeactive
chainloader +1
_______________________________________

I have this set up currently-

______________________________________

default 0
timeout 90
splashimage=(hd0,0)/grub/spash.xpm.gz

title=Gentoo Linux 2.6.8-r10
root (hd0,3)
kernel /boot/kernel-2.6.8-gentoo-r10 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_r$
initrd /boot/initrd-2.6.8-gentoo-r10

title=Windows XP
root (hd0,0)
makeactive
chainloader +1
____________________________________

My main question is:

Gentoo's code has this- "root=/dev/ram0"....is that something that I should or should not change for my system?

Also, if you see any errors in the configuration, that would be much appreciated :D...

(Sorry for the long post)

gehidore
10-19-2004, 09:25 PM
You can get by with the basics, unless you use genkernel.

Also, root (hd*,*) is in reference to your /boot partition. so in the kernel line you should only need /blah-version

unless you dont have a /boot partition.

gobeavers
10-20-2004, 12:38 AM
Originally posted by gehidore
You can get by with the basics, unless you use genkernel.

Also, root (hd*,*) is in reference to your /boot partition. so in the kernel line you should only need /blah-version

unless you dont have a /boot partition.
I used genkernel though....thanks for the /boot tip, I do have the /boot partition, so the change was made...thanks!