Boot Ubuntu ISO from thumbdrive with success

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
tinybit
帖子: 48
注册时间: 2009-04-13 2:54

Boot Ubuntu ISO from thumbdrive with success

#1

帖子 tinybit » 2009-04-13 3:25

I am just booting ubuntu LiveCD from my USB drive through grub4dos.

Sorry I cannot input Chinese with SCIM, which only has English/European input method with this LiveCD.

My boot menu is here:

代码: 全选

title Ubuntu LiveCD

find --set-root /ubuntu-9.04-beta-desktop-i386.iso

map /ubuntu-9.04-beta-desktop-i386.iso (0xff)

map --hook

root (0xff)

kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/ubuntu-9.04-beta-desktop-i386.iso quiet splash locale=zh_CN.UTF-8 --

initrd /casper/initrd.gz

boot
Hopefully it could also work for you :em01

PS: None of the files need to be extracted from the ISO. The ISO should be contiguous on the (USB) drive, if not, you should defrag it before hand by using the contig utility under Windows.
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: Boot Ubuntu ISO from thumbdrive with success

#2

帖子 wangdu2002 » 2009-04-13 6:07

我的E文不行的,你的LiveUSB是USBcdrom还是USBhdd。 :em01
最好换xp用中文来说下。 :em20
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
tinybit
帖子: 48
注册时间: 2009-04-13 2:54

Re: Boot Ubuntu ISO from thumbdrive with success

#3

帖子 tinybit » 2009-04-13 8:21

是用的三重MBR,到 Sysoft 时空论坛去了解什么是三重 MBR,以及如何制作。

BIOS 把这个三重 MBR 格式的 U 盘识别为 USB-HDD。其实即使识别为软盘也没问题,但菜单中的路径表示需要作出相应改变,稍微有点麻烦,需要用到2009-04-06 以后最新版的 grub4dos 的 “软盘分区” 功能,即用 (fd0,0) 或者 (fd0,1) 来访问 ISO 所在的分区。

原则上讲,这与 U 盘的格式无关,USB-CDROM 也可以的,而且对于 USB-HDD、USB-FDD、USB-ZIP 来说也不一定需要三重 MBR,只要能启动到 grub4dos 便可。

我没有用专门的 LiveUSB(我没听说过世界上有 LiveUSB 这个东东,抱歉),而是直接用 LiveCD 版的 ISO,这就行了。
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: Boot Ubuntu ISO from thumbdrive with success

#4

帖子 billbear » 2009-04-13 12:55

@tinybit:
您是不点老师吧。欢迎常来指导。 :em01
回复