1.使用ubuntu或B2D Live CD开机(或有装grub套件的linux任一版本)。
2.开机后插入随身盘并挂载在/media/sdb2,假设随身盘代号为/dev/sdb。
3.在命令模式下输入:
# cd /media/sdb2
# grub-install --no-floppy --root-directory=. /dev/sda
程式会自动建立boot目录,并将相关档案复制过去。
4.在/media/sda2/boot/grub/目录下建立menu.lst
内容为:
color cyan/blue white/blue
timeout 30
default 0
title NetbossLiveUsb
root(hd0,1)
kernel /linux ramdisk_size=100000 init=/etc/init lang=tw atapicd apm=power-off xmodule=fbdev vga=791 splash=silent initrd=minirt.gz nomce quiet myconf=scan BOOT_IMAGE=root
initrd /minirt.gz
完成。

