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:28
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » [Help] Problems when GRUB4DOS boots the system from the first partition of the first hard disk? View 2,783 Replies 4
Original Poster Posted 2009-10-15 08:24 ·  中国 安徽 安庆 电信
新手上路
Credits 12
Posts 5
Joined 2006-10-24 05:15
19-year member
UID 67983
Gender Male
Status Offline
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 ]
Floor 2 Posted 2009-10-19 17:07 ·  中国 浙江 温州 中移铁通
初级用户
Credits 24
Posts 9
Joined 2009-02-04 11:27
17-year member
UID 137991
Gender Male
Status Offline
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?
Floor 3 Posted 2009-10-21 23:17 ·  中国 安徽 安庆 电信
新手上路
Credits 12
Posts 5
Joined 2006-10-24 05:15
19-year member
UID 67983
Gender Male
Status Offline
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
Floor 4 Posted 2009-11-22 10:32 ·  中国 北京 元恒信通科技有限公司
中级用户
★★
Credits 213
Posts 104
Joined 2007-08-31 10:29
18-year member
UID 96246
Gender Male
Status Offline
Why doesn't it work? Is there any error message prompted?
Floor 5 Posted 2010-04-10 22:35 ·  日本 东京都 千代田区 NTT通信公司
新手上路
Credits 2
Posts 1
Joined 2009-10-17 00:22
16-year member
UID 153190
Gender Male
Status Offline
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...
Forum Jump: