|
|
发表于 2008-11-2 03:54:06
|
显示全部楼层
置启动项
修改grub文件,使启动项指向该iso文件
sudo gedit /boot/grub/menu.lst
复制下面的部分到menu.lst文件
title Ubuntu 8.04 LiveCD
root (hd0,3)
kernel /vmlinuz boot=casper iso-scan/filename=/Ubuntu-8.04-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd /initrd.gz
boot
说明:第二行的root (hd0,3)部分依据你的menu.lst而定,例如我的
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,3)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=b9ef10c6-99bf-4827-a27e-89da31210554 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04,
kernel 2.6.24-16-generic (recovery mode root (hd0,3) kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=b9ef10c6-99bf-4827-a27e-89da31210554 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd0,3)
kernel /boot/memtest86+.bin
quiet
所以我设定到是(hd0,3)
如果你的是 (hd0,1) ,那么你就应该设置为(hd0,1)
设置好后保存退出 |
|