China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-24 23:40
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Questions about installing GRUB on a USB flash drive! View 6,347 Replies 21
Floor 16 Posted 2004-06-20 00:00 ·  中国 河南 南阳 内乡县 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
It's a pity that I don't have a motherboard with a bootable USB. Please use programs like debug to debug and see where the error exactly is?
因为我们亲手创建,这个世界更加美丽。
Floor 17 Posted 2004-06-20 00:00 ·  中国 广东 广州 海珠区 电信
初级用户
Credits 186
Posts 32
Joined 2004-06-16 00:00
22-year member
UID 26837
Gender Male
Status Offline
The following is the speech of Budian on June 20, 2004 at 01:56:01 AM:
I'm very sorry that I don't have a motherboard that can boot from USB. Please use a program like debug to debug and see where exactly the error is?


At that time, I didn't use USB to boot the system, and I unplugged all USB - related things from the computer. I just loaded the USB driver in CONFIG.SYS. When I didn't load it, GRUB could run normally. When I loaded it, once I ran GRUB.EXE, the hard disk light would be on all the time, then the screen would be black and the computer would crash.
I loaded the USB driver with device = DUSE.EXE MEMPOOL = 1 XFERSIZE = 4. It seems that there is a conflict between GRUB FOR DOS and DUSE.EXE.
Floor 18 Posted 2004-06-20 00:00 ·  中国 广东 广州 番禺区 电信
初级用户
Credits 186
Posts 32
Joined 2004-06-16 00:00
22-year member
UID 26837
Gender Male
Status Offline
I copied bootgrub to the USB drive, then modified GRLDR, changing "(hd0,0)/boot/grub/menu.lst" to "(fd0)/menu.lst", and copied GRLDR and menu.lst to the root directory of the USB drive. When I boot with this USB drive, GRUB can read the GRLDR file, but still cannot find menu.lst on my USB drive. It is placed in the root directory of the USB drive. Why can it read GRLDR but not menu.lst? (Note: I can be sure that GRUB found GRLDR because when I delete this file, it shows "NO GRLDR" when booting.)
Floor 19 Posted 2004-06-20 00:00 ·  中国 河南 南阳 内乡县 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Thank you for the detailed bug report related to USB. Regarding the bugs related to GNU GRUB, I have no plan to fix them. But for those related to grub for dos, I will try my best to fix them. However, I would like to inform you that I don't have much time recently, as I have a lot of things to deal with. I will keep these bugs in mind but will fix them when I have time later.

=============

What you just said, "importing bootgrub into the USB flash drive", how did you import it? Is your USB flash drive in FAT12/16/32 format? If it is not in FAT12/16/32 format, then this situation is not a bug.
因为我们亲手创建,这个世界更加美丽。
Floor 20 Posted 2004-06-21 00:00 ·  中国 广东 广州 番禺区 电信
初级用户
Credits 186
Posts 32
Joined 2004-06-16 00:00
22-year member
UID 26837
Gender Male
Status Offline
I saw your previous old post, and I followed the method you taught to import:

The following is a quote from Buddy at 10:09:37 AM on March 6, 2004:
a. Format a floppy disk, or use any existing formatted floppy disk.
b. Read the first sector of the floppy disk into memory area 1, and read the fourth sector of BOOTGRUB into memory area 2.
c. Copy 60 bytes from 0x02 to 0x3d in memory area 1 to 0x02 to 0x3d in memory area 2.
d. Write the changed memory area 2 to the first sector of the floppy disk.
e. Copy the GRLDR file to the root directory of the floppy disk. .

Since I can read the GRLDR on my USB flash drive, it proves that your program is okay. The key problem is that GNU GRUB cannot find the files on my USB flash drive. This should be a bug of GNU GRUB, actually the format of my USB flash drive is very simple, it is definitely FAT16, and it can install any operating system that recognizes FAT16.

Now I have MSDOS710, MINI98 and many useful software installed on the USB flash drive, which only takes about 15MB of space, which is much better than a 1.44MB boot disk. But after all, MSDOS710 is not perfect, so I want to install multi-boot on the USB flash drive.

Now I still use GRUB FOR DOS. Although I need to copy some files to the hard disk to use it, I can write an automatic batch. For me, GRUB is still very convenient and practical.

When I boot from the USB flash drive, I don't use the USB driver. At this time, I can use GRUB, but when I boot in other ways, I generally load the USB driver (DUSE is plug-and-play supported, very convenient), so it's really a pity that I can't use GRUB.
Floor 21 Posted 2006-09-20 07:40 ·  中国 广东 广州 海珠区 电信
初级用户
Credits 21
Posts 9
Joined 2006-09-19 11:43
19-year member
UID 63069
Gender Male
Status Offline
I'm also trying this.. How can I put all files on the USB flash drive to execute???? (That MENU.LST)
Floor 22 Posted 2006-09-21 07:40 ·  中国 江苏 常州 电信
银牌会员
★★★
Credits 2,404
Posts 946
Joined 2005-09-08 13:44
20-year member
UID 42345
Status Offline
My machine is U disk booted and the U disk is formatted as USB-ZIP. It can't boot when formatted as USB-HHD. What's the matter? Also, I also want to install GRUB on the U disk. I've failed many times!郁闷! And I installed MSDOS710 and some self - made files on the U disk like the building owner. Can the building owner tell me how you installed GRUB? Installing GRUB just wants to DIY the menu! Nothing else, hehe!
Forum Jump: