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-25 05:17
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Can GRUB support entering via a boot hotkey? View 3,554 Replies 19
Original Poster Posted 2007-11-09 11:57 ·  中国 广东 阳江 江城区 电信
中级用户
★★
Credits 300
Posts 107
Joined 2007-09-15 17:34
18-year member
UID 97469
Gender Male
Status Offline
Can GRUB have a hotkey to enter at boot? Like one-key restore where pressing F11 can enter the restore state? Does anyone know?
迅源电脑,欢迎软件下载!
http://www.wou88.cn
Floor 2 Posted 2007-11-09 12:09 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
That's great. Look at the help file.
Windows 一键还原
http://www.yjhy.com
Floor 3 Posted 2007-11-09 18:18 ·  中国 广东 阳江 江城区 电信
中级用户
★★
Credits 300
Posts 107
Joined 2007-09-15 17:34
18-year member
UID 97469
Gender Male
Status Offline
Is this the help file you wrote? Or some other help file? Why can't I find it?
迅源电脑,欢迎软件下载!
http://www.wou88.cn
Floor 4 Posted 2007-11-09 20:56 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
There are official instructions, and I have my beginner's tutorials.
Follow the official instructions.
Windows 一键还原
http://www.yjhy.com
Floor 5 Posted 2007-11-10 12:55 ·  中国 广东 阳江 江城区 电信
中级用户
★★
Credits 300
Posts 107
Joined 2007-09-15 17:34
18-year member
UID 97469
Gender Male
Status Offline
Table of contents
1 grub4dos Beginner's Tutorial - Introductory Section
1.1 Introduction to grub
1.2 How to obtain the latest version of grub4dos
1.3 How to install grub4dos
1.3.1 Enter grub4dos through the boot menu of Windows NT
1.3.2 Boot grub through DOS
1.3.3 Boot grub through MBR
1.3.4 Enter grub4dos through the boot menu of Windows VISTA
1.4 How to use grub4dos
1.5 Conclusion
2 grub4dos Beginner's Tutorial - Application Section
2.1 Applications on the hard disk
2.1.1 Load floppy disk image
2.1.2 Boot WinPE
2.1.3 Boot the system
2.2 Applications on the CD - ROM
2.2.1 Bootable CD - ROM guided by grub
2.2.2 Bootable CD - ROM where BCDW guides GRUB
2.3 Applications on the floppy disk
2.3.1 Floppy disk application of booting grub through DOS
2.3.2 Floppy disk application where the boot sector has installed the GRLDR boot record
2.4 Applications on the USB flash drive
2.5 Conclusion
3 grub4dos Beginner's Tutorial - Advanced Section
3.1 Set password
3.2 Menu built - in
3.3 Use personalized grub4dos file name
3.4 Install Windows XPE to the logical partition

4 Appendix
4.01 How to use grubinst_gui
4.02 Grub command index
4.03 How to use the simplified Chinese version of Grub
4.04 Introduction to GRUB for DOS disk emulation commands
4.05 Summary of GRUB installation configuration and use
4.06 Detailed explanation of Grub command usage
4.07 GRUB three - step pass
4.08 Summary and analysis of relevant installation configuration and use examples of Grub
4.09 How to add password to GRUB system boot manager
4.10 GRUB, the system boot manager, a guide for beginners

Grub4dos official documentation

4.11 Grub4dos_tutorial (English)
4.12 Introduction to Grub4dos
4.13 Installation and startup of Grub4dos
4.14 Beginner's guide to Grub4dos
4.15 Advanced functions of Grub4dos
4.16 Grub4dos command index
4.17 Introduction to Grubinst
4.18 Grub4dos readme (English)
4.19 Grub4dos readme (Chinese)

Which item in the description is it talking about? I'm stupid, please point it out for me?
迅源电脑,欢迎软件下载!
http://www.wou88.cn
Floor 6 Posted 2007-11-10 13:32 ·  中国 广东 阳江 江城区 电信
中级用户
★★
Credits 300
Posts 107
Joined 2007-09-15 17:34
18-year member
UID 97469
Gender Male
Status Offline
Oh! I see, but I still want to ask whether bootlace --force-backup-mbr --boot-prevmbr-first --time-out=3 --hot-key=0x3920 --mbr-disable-floppy 0x80 needs to be in the same directory as the GRLDR file? Also, can the GRLDR file I renamed to XYldr be used with this command?
迅源电脑,欢迎软件下载!
http://www.wou88.cn
Floor 7 Posted 2007-11-10 13:52 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
If you are reading my beginner's tutorial, it is recommended to look at the latest version from 08-27, which has the usage of renaming files. Of course, these instructions are all in the official documentation. Read it several times and you will understand.
Windows 一键还原
http://www.yjhy.com
Floor 8 Posted 2007-11-10 13:53 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
I just noticed that the directory you provided is already the latest version.
Windows 一键还原
http://www.yjhy.com
Floor 9 Posted 2007-11-10 13:53 ·  中国 广东 阳江 江城区 电信
中级用户
★★
Credits 300
Posts 107
Joined 2007-09-15 17:34
18-year member
UID 97469
Gender Male
Status Offline
For example, I want to press F7 within 3 seconds when booting to enter Grub4dos, and if I don't press within 3 seconds, enter XP. What is the command?
迅源电脑,欢迎软件下载!
http://www.wou88.cn
Floor 10 Posted 2007-11-10 15:03 ·  中国 广东 阳江 江城区 电信
中级用户
★★
Credits 300
Posts 107
Joined 2007-09-15 17:34
18-year member
UID 97469
Gender Male
Status Offline
What I don't understand is why when I use the shortcut key to boot GRUB through the MBR, the main system can recognize grldr but can't recognize the renamed xyldr file. However, when booting with NT, it can recognize my xyldr file.
迅源电脑,欢迎软件下载!
http://www.wou88.cn
Floor 11 Posted 2007-11-17 00:15 ·  中国 辽宁 辽阳 联通
初级用户
★★
DOS之迷
Credits 174
Posts 81
Joined 2007-11-07 21:13
18-year member
UID 102004
Gender Male
Status Offline
After default installation, download DSPTW.EXE. Run the following code to complete the key modification. This code is for the 20071111 version.
ECHO Writing 00h...
dsptw 0 0 0 /m /hex:EB5E01030041 /Y
After completion, press F7 to enter within 3 seconds.

[ Last edited by loveheartrain on 2007-11-17 at 12:17 AM ]
愛意之无尽@灵犀!
QQ:71216716 E_mail:l.h.r.@163.com
Floor 12 Posted 2007-11-17 10:11 ·  中国 陕西 安康 电信
初级用户
★★
Credits 171
Posts 78
Joined 2006-11-22 11:26
19-year member
UID 71373
Gender Male
Status Offline
Originally posted by yjjia at 2007-11-10 03:03 PM:
What I don't understand is why when I use the shortcut key to boot GRUB through the MBR, the main system can recognize grldr but cannot recognize the renamed xyldr file. When booting with NT, it can recognize my xyldr file.


Use the attached grubinst.exe I provided to deploy.

grubinst.exe --mbr-disable-floppy --boot-prevmbr-first --boot-file=xyldr --time-out=3 --hot-key=F7 "--key-name=<F7>" (hd0)

[ Last edited by afeichai on 2007-11-17 at 10:15 AM ]
Attachments
grubinst.rar (16.51 KiB, Downloads: 92)
Floor 13 Posted 2007-11-17 11:39 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Originally posted by loveheartrain at 2007-11-17 00:15:
After default installation, download DSPTW.EXE
Run the following code to complete the key modification. This code is for the 20071111 version
ECHO Writing 00h...
dsptw 0 0 0 /m /hex:EB5E01030041 /Y
After completion, press F7 within 3 seconds to enter.


A great expert.
Windows 一键还原
http://www.yjhy.com
Floor 14 Posted 2007-11-17 18:19 ·  中国 河北 保定 联通
初级用户
Credits 114
Posts 49
Joined 2006-10-08 06:47
19-year member
UID 64907
Status Offline
Originally posted by yjjia at 2007-11-10 15:03:
What I don't understand is why when I use the shortcut key to boot grub through the MBR, the main one can recognize grldr, but the renamed xyldr file cannot be recognized. When booting with NT, it can recognize my xyldr file.

Grubinst.exe also needs to be modified accordingly. Of course, if you use other installation methods, you have to figure out how to modify it yourself.
Floor 15 Posted 2007-11-22 14:29 ·  中国 山西 太原 中移铁通
初级用户
★★
Credits 172
Posts 88
Joined 2006-12-08 10:47
19-year member
UID 72923
Gender Male
Status Offline
If the hotkey has already been installed, how to remove it?
Forum Jump: