|  | 
 
| wpah 新手上路
 
  
 
 
 
 积分 12
 发帖 5
 注册 2006-10-24
 状态 离线
 | 
| 『楼 主』:
 [求助]GRUB4DOS引导第一硬盘第一分区系统时的问题?
 
使用 LLM 解释/回答一下 
 
 
我用U盘做成可启动并用GRUB4DOS引导U盘里的一些IMG工具,可我加引导第一硬盘第一分区系统时为什么就不行了?
 MENU.LST文件代码如下:
 # 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) 启动第一操作系统
 rootnoverify (hd0,0)
 makeactive
 chainloader +1
 
 title (7) 重新启动计算机
 reboot
 
 title (8) 关闭计算机
 halt
 
 高手们帮我分析一下:
 title (6) 启动第一操作系统
 rootnoverify (hd0,0)
 makeactive
 chainloader +1
 这部分怎么不行,我应该怎么写???
 
 Last edited by wpah on 2009-10-15 at 14:02 ]
 
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 ]
 
 
 
 |  | 
|  2009-10-15 08:24 |  | 
|  | 
 
| jxc99999 初级用户
 
   
 
 
 
 积分 24
 发帖 9
 注册 2009-2-4
 状态 离线
 | 
| 『第 2 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
2000,xp,2003find --set-root /ntldr
 chainloader /ntldr
 vista,2008,win7
 find --set-root /bootmgr
 chainloader /bootmgr
 这样应该比较正常,已经用grub4dos了,makeactive有必要吗
 
20000,xp,2003find --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?
 
 
 
 |  | 
|  2009-10-19 17:07 |  | 
|  | 
 
| wpah 新手上路
 
  
 
 
 
 积分 12
 发帖 5
 注册 2006-10-24
 状态 离线
 | 
| 『第 3 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
这种方法不行,呵呵,makeactive有没有必要我不知道,我是按用原版MENU.LST文件修改的,呵呵 
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 
 
 
 |  | 
|  2009-10-21 23:17 |  | 
|  | 
 
| tusheng 中级用户
 
    
 
 
 
 积分 213
 发帖 104
 注册 2007-8-31
 状态 离线
 | 
| 『第 4 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
为什么不行,有提示出错信息吗? 
Why doesn't it work? Is there any error message prompted? 
 
 
 |  | 
|  2009-11-22 10:32 |  | 
|  | 
 
| sky2000 新手上路
 
  
 
 
 
 积分 2
 发帖 1
 注册 2009-10-17
 状态 离线
 | 
| 『第 5 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
出现这种情况八成是因为主板将启动的U盘认为USB移动硬盘,所以hd0就是U盘自己,原来的第一硬盘变成hd1啦...........
 
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... 
 
 
 |  | 
|  2010-4-10 22:35 |  |