Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Hardliner« (27.10.2006, 15:41)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
timeout 10 # By default, boot the first entry. default 0 # For booting GNU/Linux title chaos root (hd0,0) kernel /boot/kernel_17_r8 root=/dev/hda3 title Win XP rootnoverify (hd1,0) makeactive chainloader +1 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
Disk /dev/hda: 163.9 GB, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 128 1028128+ 83 Linux /dev/hda2 129 251 987997+ 82 Linux swap / Solaris /dev/hda3 252 981 5863725 83 Linux /dev/hda4 982 19929 152199810 5 Extended /dev/hda5 982 1772 6353676 83 Linux /dev/hda6 1773 19929 145846071 83 Linux Disk /dev/hdb: 163.9 GB, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 1 1217 9775521 7 HPFS/NTFS /dev/hdb2 1218 19929 150304140 5 Extended /dev/hdb5 1218 2434 9775521 c W95 FAT32 (LBA) /dev/hdb6 2435 5474 24418768+ c W95 FAT32 (LBA) /dev/hdb7 5475 19929 116109756 83 Linux |
Zitat
Original von hoppel
grub.conf:
Quellcode
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 timeout 10 # By default, boot the first entry. default 0 # For booting GNU/Linux title chaos root (hd0,0) kernel /boot/kernel_17_r8 root=/dev/hda3 title Win XP rootnoverify (hd1,0) makeactive chainloader +1
Zitat
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)/boot/grub/splash.xpm.gz
title=Gentoo Linux 2.6.17-r5
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.17-gentoo-r5 root=/dev/hda3
title=Gentoo Linux 2.6.17-r5 (rescue)
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.17-gentoo-r5 root=/dev/hda3 init=/bin/bb
# 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