|
发表于 2010-3-30 12:43:29
|
显示全部楼层
还好吧?Grub2一样用啊,语法有小小变动而已。
- # Config file for GRUB2 - The GNU GRand Unified Bootloader
- # /boot/grub/grub.cfg
- # DEVICE NAME CONVERSIONS
- #
- # Linux Grub
- # -------------------------
- # /dev/fd0 (fd0)
- # /dev/sda (hd0)
- # /dev/sdb2 (hd1,2)
- # /dev/sda3 (hd0,3)
- #
- # Timeout for menu
- set timeout=2
- # Set default boot entry as Entry 0
- set default=0
- # (0) Arch Linux
- menuentry "Arch Linux" {
- set root=(hd0,7)
- linux /boot/vmlinuz26 root=/dev/sda7 ro
- initrd /boot/kernel26.img
- }
- # (1) Arch Linux
- menuentry "Arch Linux Fallback" {
- set root=(hd0,7)
- linux /boot/vmlinuz26 root=/dev/sda7 ro
- initrd /boot/kernel26-fallback.img
- }
- # (2) Windows
- menuentry "Windows 7 Ultimate" {
- set root=(hd0,1)
- chainloader +1
- }
复制代码 |
|