歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 從硬盤運行Fedora 9 LiveCD

從硬盤運行Fedora 9 LiveCD

日期:2017/2/28 17:02:53   编辑:Linux教程

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

Copyright © Linux教程網 All Rights Reserved