|
在机器中留一个分区为fat32文件格式,将knoppix光盘中的knoppix文件夹拷贝到该分区。解开里边的boot.img至knoppix 目录中,然后安装grub,在grub.conf 里加入相应命令行就行了,我的是这样的:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdd2
# initrd /initrd-version.img
#boot=/dev/hdd1
default=3
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Magic Linux (2.6.1)
root (hd1,0)
kernel /vmlinuz-2.6.1 ro root=LABEL=/
initrd /initrd-2.6.1.img
title Knoppix
root (hd0,6)
kernel /knoppix/vmlinuz ramdisk_size=100000 init=/etc/init lang=cn apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi vga=788 screen=800x600 xvrefresh=85 xmodule=fbdev
initrd=/knoppix/miniroot.gz nomce quiet BOOT_IMAGE=knoppix
title Fedora
root (hd0,6)
kernel /fedora/vm2422 ramdisk_size=100000 init=/etc/init apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi vga=788 screen=800x600 xvrefresh=85
initrd=/fedora/ramroot.gz nomce quiet BOOT_IMAGE=fedora
title Windows XP
rootnoverify (hd0,0)
chainloader +1 |
|