Chinaunix

标题: 硬盘运行Fedora 9 LiveCD [打印本页]

作者: sdccf    时间: 2008-05-22 08:47
标题: 硬盘运行Fedora 9 LiveCD

作者: yibin  出自: http://www.linuxdiyf.com
1.从Fedora-9-i686-Live.iso中解压出LiveOS目录放在D:\下,解压出vmlinuz0和initrd0.img放在LiveOS中
2.修改C:\boot\grub\menu.lst文件,添加:
title Fedora 9 LiveCD
# find --set-root /LiveOS/vmlinuz0
root (hd0,4)
kernel /LiveOS/vmlinuz0 root=/dev/sda5 ro liveimg rhgb
initrd /LiveOS/initrd0.img
#boot
3.重启,即可启动liveCD运行并安装。
注:
(hd0,4)和sda5代表windows的D盘
从硬盘启动运行的其他Linux对应的menu.lst文件如下:
title slax
root (hd0,5)
kernel /boot/vmlinuz root=/dev/ram0 rw
initrd /boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=6666 vga=769
title puppy
root (hd0,0)
kernel /puppy/vmlinuz
initrd /puppy/initrd.gz
# iso文件放在/Ubuntu下,将iso文件中casper下的vmlinuz和initrd.gz解压到/Ubuntu下
title Ubuntu 8.04 LiveCD
# find --set-root /Ubuntu/ubuntu-8.04-desktop-i386.iso
root (hd0,0)
kernel /Ubuntu/vmlinuz boot=casper iso-scan/filename=/Ubuntu/ubuntu-8.04-desktop-i386.iso quiet splash ro locale=zh_CN.UTF-8
initrd /Ubuntu/initrd.gz
boot
title Ubuntu 8.04 Installation From LiveCD
find --set-root /Ubuntu/ubuntu-8.04-desktop-i386.iso
kernel /Ubuntu/vmlinuz boot=casper iso-scan/filename=/Ubuntu/ubuntu-8.04-desktop-i386.iso quiet ro automatic-ubiquity locale=zh_CN.UTF-8 noprompt --
initrd /Ubuntu/initrd.gz
boot

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31/showart_698502.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2