中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-06-24 23:37
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » USB boot support without BIOS support now possible 查看 2,072 回复 4
楼 主 USB boot support without BIOS support now possible 发表于 2008-07-11 11:49 ·  中国 香港 理工大学
初级用户
积分 40
发帖 15
注册 2007-10-26 15:33
18年会员
UID 100849
性别 男
状态 离线
there are 2 more methods to boot natively from USB now
(1)
GRUB2 with USB, from coreboot, compiled by Climbing, see bbs.znpc.net
http://bbs.znpc.net/viewthread.php?tid=4737&extra=page%3D2
(2)
PLOP manager, embedded into ROMOS pci ROM, see this forum
http://www.cn-dos.net/forum/viewthread.php?tid=41439&fpage=1
2 发表于 2008-07-13 19:17 ·  中国 香港 理工大学
初级用户
积分 40
发帖 15
注册 2007-10-26 15:33
18年会员
UID 100849
性别 男
状态 离线
for people without USB BIOS support, please read following.
(Caution, the following is dangerous and may be harmful to your PC, I am not responsible to any damage caused)
steps:
1)if no dos is installed, then go to grub4dos.sf.net and downoad wingrub, if dos installed, goto step3.
2)install wingrub. after finished, select base setup, select c:, select grub install, select boot from file, select boot.ini
3)prepare usb flash drive as disk, you may fdisk/format under win98+usbaspi environment, or partition magic under windows, make it bootable
4)put use plop.at provided floppy image, unzip, put it in c:\ and rename as sbm.bin
5)reboot into grub4dos, select a column with sbm.bin and press enter
6)plop starts then press u, if plop support your USB disk, you are lucky.
7)you may have the USB disk "sys" with win98 dos. put grub.exe into the USB disk.
8)copy "ntldr" as "ntldr_usb"
9)edit menu.lst with following line:
title boot embedded XP from USB
find --set-root /ntldr_usb
map () (hd0)
map (hd0) ()
map --hook
chainloader /ntldr_usb
boot
10)goto some forum and download a mobileXP alike, unzip into USB DISK
11)now, if you want to remove the harddisk, then you can put the plop manager into BIOS, look at this:
http://www.cn-dos.net/forum/viewthread.php?tid=41439&fpage=1
and use cbrom to embed the romos.bin into your BIOS image, reflash the BIOS
12)reboot the system you may be under USB disk as C:\.
13)type grub and enter
14)select boot embedded XP from USB
15)entering xp boot
16) done

edit: grub.exe is not work this way. so use hmload and PE instead.

[ Last edited by uleak on 2008-7-13 at 07:44 PM ]
3 发表于 2008-07-13 19:44 ·  中国 河南 南阳 电信
银牌会员
★★★★
不甘寂寞的人
积分 2,491
发帖 1,115
注册 2003-09-24 00:00
22年会员
UID 10292
性别 男
状态 离线
下面这段含有错误:
title boot embedded XP from USB
find --set-root /ntldr_usb
map () (hd0)
map (hd0) ()
map --hook
chainloader /ntldr_usb
boot

分析:

在 map --hook 之后,应该再次使用
find --set-root /ntldr_usb
然后使用
chainloader /ntldr_usb
rootnoverify (hd0)
这是因为第一个 find --set-root 所确定的 root 分区所在的 drive,已经与 hd0 发生了交换。
因为我们亲手创建,这个世界更加美丽。
4 发表于 2008-07-13 20:10 ·  中国 香港 理工大学
初级用户
积分 40
发帖 15
注册 2007-10-26 15:33
18年会员
UID 100849
性别 男
状态 离线
thanks tinybit.

right, your absolutely.

the real BIOS supported USB boot must use this code:
title boot embedded XP from USB
find --set-root /ntldr_usb
map () (hd0)
map (hd0) ()
map --hook
find --set-root /ntldr_usb
chainloader /ntldr_usb
rootnoverify (hd0)
5 发表于 2008-07-13 20:17 ·  中国 香港 理工大学
初级用户
积分 40
发帖 15
注册 2007-10-26 15:33
18年会员
UID 100849
性别 男
状态 离线
After several trial, grldr/grub is not able to start under virtualbox and plop manager.... I am sorry but syslinux did. I quickly tried syslinux.exe and make usb F: bootable.

I used syslinux + loadbin to chainload ntldr. this is ok until displayed...

invalid BOOT.INI file
booting from c:\WINDOWS\


then freezed. no luck.

[ Last edited by uleak on 2008-7-13 at 08:27 PM ]
论坛跳转: