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 21:58
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Ask about the menu.lst menu in U盘 grub View 2,537 Replies 2
Original Poster Posted 2008-09-24 21:06 ·  中国 湖北 武汉 电信
初级用户
Credits 55
Posts 25
Joined 2007-05-11 21:41
19-year member
UID 88224
Gender Male
Status Offline
Just now I read the beginner's tutorial of grub4dos, and I feel I understand but not fully...

How should the menu.lst file in grub for USB boot be written?

title Windows Vista
rootnoverify (hd0,0)
chainloader (hd0,0)/bootmanager
boot

title Windows XP
rootnoverify (hd0,0)
chainloader (hd0,0)/ntldr
boot

title PE
chainloader /LDRXPE
PE can boot..Vista and XP haven't been tried.. Also, how to write if starting an img on the USB?
Floor 2 Posted 2008-09-24 22:17 ·  中国 湖北 武汉 电信
初级用户
Credits 55
Posts 25
Joined 2007-05-11 21:41
19-year member
UID 88224
Gender Male
Status Offline
USB flash drive successfully boots the img
title Ghost
find --set-root /myudisk.txt
map --mem /ghost.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
But it can't boot Vista
XP hasn't been tried yet...
Which friend can give some pointers...
Floor 3 Posted 2008-12-15 18:19 ·  中国 广东 深圳 电信
初级用户
★★
Credits 188
Posts 96
Joined 2008-03-11 00:59
18-year member
UID 112592
Gender Male
Status Offline
Learning
Forum Jump: