中国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-11 21:41
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » [Help] Problems when GRUB4DOS boots the system from the first partition of the first hard disk?
Printable Version  2,978 / 4
Floor1 wpah Posted 2009-10-15 08:24
新手上路 Posts 5 Credits 12
I made a bootable USB drive and used GRUB4DOS to boot some IMG tools from the USB drive, but why doesn't it work when I add the option to boot the system from the first partition of the first hard disk?

The MENU.LST file code is as follows:
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.

# color blue/green yellow/red white/magenta white/magenta
timeout 30
default /default
find --set-root /myudisk.txt
splashimage /boot/bj.xpm.gz
foreground ffffff
background e60012
fontfile /boot/fonts.gz

title (1) veket linux
find --set-root /myudisk.txt
kernel /veket/vmlinuz
initrd /veket/initrd.gz

title (2) windwos98se boot
find --set-root /myudisk.txt
map --mem /boot/win98se.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title (3) Dos
find --set-root /myudisk.txt
map --mem /boot/dos.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title (4) Ghost V8.3
find --set-root /myudisk.txt
map --mem /boot/ghost8.3.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title (5) Ghost V11.01
find --set-root /myudisk.txt
map --mem /boot/ghost11.01.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title (6) Boot the first operating system
rootnoverify (hd0,0)
makeactive
chainloader +1

title (7) Restart the computer
reboot

title (8) Shut down the computer
halt

Experts, help analyze:
title (6) Boot the first operating system
rootnoverify (hd0,0)
makeactive
chainloader +1
Why doesn't this part work? How should I write it???

[ Last edited by wpah on 2009-10-15 at 14:02 ]
Floor2 jxc99999 Posted 2009-10-19 17:07
初级用户 Posts 9 Credits 24
20000,xp,2003
find --set-root /ntldr
chainloader /ntldr
vista,2008,win7
find --set-root /bootmgr
chainloader /bootmgr
This should be relatively normal. I have already used grub4dos. Is makeactive necessary?
Floor3 wpah Posted 2009-10-21 23:17
新手上路 Posts 5 Credits 12
This method isn't working, heh. I don't know if makeactive is necessary. I modified it according to the original MENU.LST file, heh
Floor4 tusheng Posted 2009-11-22 10:32
中级用户 Posts 104 Credits 213
Why doesn't it work? Is there any error message prompted?
Floor5 sky2000 Posted 2010-04-10 22:35
新手上路 Posts 1 Credits 2
This situation is mostly because the mainboard regards the booting USB flash drive as a USB external hard drive, so hd0 is the USB flash drive itself, and the original first hard drive becomes hd1...
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023