|
|

楼主 |
发表于 2006-12-28 13:16:48
|
显示全部楼层
grub.conf
# 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,3)/boot/grub/splash.xpm.gz
title=Gentoo
# Partition where the kernel image (or operating system) is located
root (hd0,3)
kernel /boot/kernel-2.6.19-gentoo-r2 root=/dev/sda4
initrd /boot/kernel-2.6.19-gentoo-r2
title=Gentoo (rescue)
kernel /boot/kernel-2.6.19-gentoo-r2 root=/dev/sda4 ro single
initrd /boot/kernel-2.6.19-gentoo-r2
# Partition where the kernel image (or operating system) is located
title Debian GNU/Linux, kernel 2.6.18-3-686
root (hd0,1)
kernel /vmlinuz-2.6.18-3-686 root=/dev/sda5 ro splash
initrd /initrd.img-2.6.18-3-686
savedefault
/etc/fstab
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda6 /home xfs noauto,noatime 0 2
/dev/sda4 / reiserfs defaults 0 1
/dev/sda5 /debian reiserfs noauto,notail 1 2
/dev/sda9 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
|