Chinaunix首页 | 论坛 | 博客
  • 博客访问: 101927763
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类: LINUX

2008-05-22 08:47:33

作者: yibin  出自:
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
阅读(307) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~