|
四.安装grub,多重引导
1)grub_install /dev/hda
2)vi /boot/grub/device.map:
(hd0) /dev/hda
3)grub_install /dev/hda
看看我的 menu.lst:
- timeout 3
- color black/cyan yellow/cyan
- i18n (hd0,3)/boot/grub/messages
- #keytable (hd0,3)/boot/grub/us.klt
- #altconfigfile (hd0,3)/boot/grub/menu.once
- default 2
- title Rescueos(deb3r0)
- kernel (hd0,0)/boot/vmlinuz-2.4.18 root=/dev/hda1 devfs=mount vga=normal mem=128M
- initrd (hd0,0)/boot/map-2.4.18
- title Winos(2000)
- root (hd0,1)
- makeactive
- chainloader +1
- title Linos(deb3r0)
- kernel (hd0,3)/boot/vmlinuz-2.4.18 root=/dev/hda4 devfs=mount vga=normal mem=128M
- initrd (hd0,3)/boot/map-2.4.18
- title Rescueos(testkernel)
- kernel (hd0,0)/usr/src/linux/arch/i386/boot/bzImage root=/dev/hda1 devfs=mount vga=normal mem=128M
- initrd (hd0,0)/usr/src/linux/System.map
- title Linos(testkernel)
- kernel (hd0,3)/usr/src/linux/arch/i386/boot/bzImage root=/dev/hda4 devfs=mount vga=normal mem=128M
- initrd (hd0,3)/usr/src/linux/System.map
复制代码
下一步:
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=9936 |
|