Colin schreef:

>>>On Mon, 13 Jun 2005, Colin wrote:
>>>
>>>
>>>>/boot/grub/grub.conf
>>>>===============
>>>>default 0
>>>>timeout 10
>>>>splashimage=(hd0,0)/grub/splash.xpm.gz
>>>>
>>>>title=Gentoo Linux 2.6.11-r9
>>>>root (hd0,0)
>>>>kernel=/kernel-2.6.11-gentoo-r9 root=/dev/hde3
>>>>video=vesafb:mtrr,ywrap vga=0x31B
>>>
>>>
>>>Shouldn't that be:
>>>
>>>kernel /kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap
>>>vga=0x31B
>>>
>>
>>Good catch!  Yes, fix this first.  Also, there is no '=' for the title.
> 
> 
> The handbook shows an equal sign.  It's worked before on another system.

No, it does not:

Code Listing 3: grub.conf for non-genkernel users

# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.11-r3
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r3 root=/dev/hda3

# The next four lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda6.
title=Windows XP
rootnoverify (hd0,5)
makeactive
chainloader +1


Code Listing 4: grub.conf for genkernel users

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

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

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


Perhaps you're thinking of the LiLO config:

Code Listing 11: Example /etc/lilo.conf

boot=/dev/hda             # Install LILO in the MBR
prompt                    # Give the user the chance to select another
section
timeout=50                # Wait 5 (five) seconds before booting the
default section
default=gentoo            # When the timeout has passed, boot the
"gentoo" section

# For non-genkernel users
image=/boot/kernel-2.6.11-gentoo-r3
  label=gentoo            # Name we give to this section
  read-only               # Start with a read-only root. Do not alter!
  root=/dev/hda3          # Location of the root filesystem

# For genkernel users
image=/boot/kernel-2.6.11-gentoo-r3
  label=gentoo
  read-only
  root=/dev/ram0
  append="init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev"
  initrd=/boot/initrd-2.6.11-gentoo-r3

# The next two lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda6.
other=/dev/hda6
  label=windows

GRUB does not take an equal sign in that position, but Istr that Lilo does.

Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to