![]() |
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-09-06 05:38 |
47,812 topics / 349,914 posts / today 0 new / 48,268 members |
| DOS启动盘 & LOGO技术 (启动盘室) » [Help] About the problem of automatically starting GRUB under pure DOS |
| Printable Version 1,922 / 1 |
| Floor1 zrn0681 | Posted 2010-11-30 11:27 |
| 新手上路 Posts 7 Credits 16 | |
|
I successfully made a DOS bootable USB drive using a USB flash drive, and I successfully automatically started GRUB through autoexec.bat. But the root directory is a bit too messy. I newly created a directory BOOT and put all the main GRUB program and IMG files into BOOT. But now I can't start GRUB when booting, and I can only start GRUB by entering commands. I once found a command in the forum that I could add to autoexec.bat, but I lost it. Can someone give me a new command so that the USB drive can automatically enter the GRUB menu after booting?
The original AUTOEXE only had one sentence "GRUB". After I moved the GRUB main program to the BOOT folder, I added the path "/BOOT/GRUB" inside, but it still didn't work. I couldn't enter the GRUB main menu when booting, which means GRUB didn't start. How should I change this command to make GRUB execute automatically when booting? [ Last edited by zrn0681 on 2010-11-30 at 12:56 ] |
|
| Floor2 lauey | Posted 2010-11-30 19:11 |
| 初级用户 Posts 9 Credits 30 | |
|
Fainted! Just add a cd command.
cd boot --------AUTOEXEC.BAT-------- @ECHO OFF CD BOOT GRUB |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |