想要從ISO光碟映像檔直接開機,可以透過GRUB開機程式來實現...linux os
將iso映像檔裡的/casper/initrd.lz和/casper/vmlinuz
複製到一個磁槽的根目錄裡。
2 在終端機輸入 sudo gedit /boot/grub/menu.lst
在最下方加入以下文字
title ISO sda6/debian/
root (hd0,5)
kernel /debian/vmlinuz boot=casper iso-scan/filename=/debian/lubuntu-10.04.iso
initrd /debian/initrd.lz
在安裝之前,必須先卸除/isodevice,
終端機下以下指令
sudo umount -l /isodevice
my ISO file on /dev/sda6/debian/ there have 3 files : iso ;initrd.lz;vmlinuz. with *isomaster *to exarch