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 18:27
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » A small program to identify USB drives and use GRUB.exe to boot, where different machines recognize it as A:/C: View 2,204 Replies 3
Original Poster Posted 2009-12-04 13:23 ·  中国 河北 唐山 电信
初级用户
Credits 22
Posts 9
Joined 2009-04-18 09:35
17-year member
UID 143221
Gender Male
Status Offline
Set up two files, AMENU.LST and CMENU.LST, respectively for A:/C: and place this program in the same directory as GRUB.EXE.

____________________________________________________________

The downloaded files are as follows:

USBGRUB.RAR

[ Last edited by bnnwycpl on 2009-12-5 at 09:05 ]
A_knife
Floor 2 Posted 2010-01-06 13:48 ·  中国 安徽 合肥 电信
中级用户
★★
Credits 334
Posts 154
Joined 2007-03-24 02:14
19-year member
UID 82713
Gender Male
Status Offline
Floor 3 Posted 2010-01-09 20:17 ·  中国 河北 唐山 电信
初级用户
Credits 22
Posts 9
Joined 2009-04-18 09:35
17-year member
UID 143221
Gender Male
Status Offline
Under TC2, use the GETDRIVER() function to obtain the current drive letter, and use SYSTEM() to execute drive letter + GRUB.EXE + configfile="amenu.lst(/cmenu.lst)". Determine which menu configuration file to load through the drive letter.
A_knife
Floor 4 Posted 2010-01-09 22:28 ·  中国 安徽 合肥 电信
中级用户
★★
Credits 334
Posts 154
Joined 2007-03-24 02:14
19-year member
UID 82713
Gender Male
Status Offline
Is it to put the USBGRUB.RAR program in the same directory as grub.exe?
Forum Jump: