Board logo

标题: USB boot support without BIOS support now possible [打印本页]

作者: uleak     时间: 2008-7-11 11:49    标题: USB boot support without BIOS support now possible

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
作者: uleak     时间: 2008-7-13 19:17
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 ]
作者: 不点     时间: 2008-7-13 19:44
下面这段含有错误:
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 发生了交换。
作者: uleak     时间: 2008-7-13 20:10
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)
作者: uleak     时间: 2008-7-13 20:17
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...

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

then freezed. no luck.

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