中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 00:36
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » How do I install a GRUB boot image onto a USB flash drive?? Thanks
Printable Version  4,125 / 13
Floor1 xxjjll Posted 2005-11-21 00:54
初级用户 Posts 5 Credits 21
How do I install a GRUB boot image onto a USB flash drive?? Thanks
Floor2 tinybit Posted 2005-11-21 10:36
初级用户 Posts 57 Credits 137
Does your machine have USB boot support? If so, you can use one of the following methods.

1。First boot to DOS from the USB flash drive, then run GRUB.EXE under DOS. So you only need to make the USB flash drive into a DOS boot disk and copy the GRUB.EXE file onto it.

2。Copy the GRLDR file to the root directory of the USB flash drive, then execute the bootlace command on the USB flash drive. This can also install GRUB's boot code onto the USB flash drive. You can do it in two steps. First, create a bootable DOS system on the USB flash drive. After DOS starts, just run bootlace 0x80 or bootlace --floppy 0x00 under DOS. The former assumes your USB flash drive is the first hard disk under DOS, and the latter assumes the USB flash drive is the first floppy disk under DOS. After that, check whether there is a GRLDR file in the root directory of the USB flash drive. If there is, then it's done; if not, you can now copy GRLDR to its root directory, and then it's done too.

These two methods may not always succeed. If one fails, as we said before, it is caused by the machine's motherboard BIOS, and is very hard to solve.
Floor3 gongchengxi Posted 2005-11-21 21:32
初级用户 Posts 20 Credits 40
The poster in reply #2 is really an expert.
Floor4 xxjjll Posted 2005-11-24 12:29
初级用户 Posts 5 Credits 21
Thanks to reply #2
Floor5 gmy Posted 2005-11-25 00:46
版主 Posts 392 Credits 1,113
Nope, my USB flash drive can't use your method:

1,GRUB.EXE hangs
2,Bootlace 0x80 reports that the partition table is incorrect

Explanation: my USB flash drive was made with USBOOT in HDD mode!

Possible reasons for failure:
1,BIOS
2,USBOOT
3,GRUB4DOS
Floor6 tinybit Posted 2005-11-25 08:38
初级用户 Posts 57 Credits 137
2, Bootlace 0x80 reports an incorrect partition table

Hehe, I'm afraid this may be serious. I suspect there's a problem with that partitioning tool of yours! Upload the first 63 sectors of the USB drive and I'll take a look.
Floor7 bbsbot Posted 2005-12-01 18:30
初级用户 Posts 6 Credits 117
I've also been working on GRUB booting from a USB flash drive these past few days, still learning.
Floor8 bbsbot Posted 2005-12-02 09:19
初级用户 Posts 6 Credits 117
Floor9 weilong888 Posted 2005-12-02 19:35
银牌会员 Posts 548 Credits 1,270
GRUB is a good thing.
Floor10 chujiafu Posted 2005-12-31 12:43
银牌会员 Posts 595 Credits 1,339 From 安徽 宿州
Floor11 hnlyzhd Posted 2006-01-02 09:20
高级用户 Posts 164 Credits 544
Many BIOSes do not support GRUB-booted USB flash drives. I've tested this many times. IBM BIOSes, Founder BIOSes, and ECS BIOSes, which means Lenovo's, all do not support GRUB-booted USB flash drives. Even booting into DOS from the USB flash drive and then loading GRUB.EXE doesn't work. All ASUS boards support GRUB booting, and TCL laptops also support GRUB booting. The BIOS seems to be AMI!

If the OP's BIOS doesn't support it, then just give up. It's not GRUB's fault, it's a BIOS problem!
Floor12 chujiafu Posted 2006-01-03 11:21
银牌会员 Posts 595 Credits 1,339 From 安徽 宿州
So if that's the case, does that mean the motherboard doesn't support it?
Floor13 9v9 Posted 2006-01-09 11:59
新手上路 Posts 7 Credits 14
Support
Floor14 Alan666 Posted 2006-06-15 18:56
初级用户 Posts 48 Credits 136
Still learning, many thanks to everyone's posts, I've benefited a lot!!!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023