![]() |
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-12 02:05 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Help, problem with dual-boot using Grub4DOS |
| Printable Version 3,354 / 12 |
| Floor1 realstephen | Posted 2009-11-30 22:24 |
| 新手上路 Posts 7 Credits 16 | |
|
There are a total of two partitions, both primary partitions.
The C drive is in Fat32 format and set as the active partition. The D drive is in Fat format and set as the inactive partition. The C drive has Winxp installed, and XP boots Grub4DOS. Copy the DOS system files (IO.sys, MSDOS.sys, Command.com) to the root directory of the D drive. Modify menu.lst as follows: title DOS6.22 root (hd0,1) chainloader (hd0,1)/IO.SYS title DOSDOS find --set-root (hd0,1)/io.sys chainloader (hd0,1)/io.sys title FINDDOSACT find --set-root (hd0,1)/io.sys makeactive chainloader (hd0,1)/io.sys title HD0 rootnoverify (hd0,0) makeactive chainloader +1 title HD1HD1 rootnoverify (hd0,1) makeactive chainloader (hd0,1)/io.sys None of them can succeed, and the error displayed is Error 13: Invalid or unsupported executable format. Why is this? What method can I use to achieve dual-boot? Also, another question, can Grub4DOS boot the Vxworks bootrom? If yes, how to do it? Thank you everyone! |
|
| Floor2 realstephen | Posted 2009-12-02 21:56 |
| 新手上路 Posts 7 Credits 16 | |
|
It seems that the question I raised is too naive.
DOS 6.22 can only be installed in the first primary partition of the hard disk, heh heh |
|
| Floor3 fujianabc | Posted 2009-12-03 17:24 |
| 金牌会员 Posts 1,616 Credits 3,467 | |
|
MS-DOS 6.22 does not support booting directly with the chainloader io.sys method; it must boot with the chainloader boot sector to start. Because both the io.sys and msdos.sys files of msdos 6.22 are core files.
[ Last edited by fujianabc on 2009-12-3 at 17:26 ] |
|
| Floor4 realstephen | Posted 2009-12-04 23:20 |
| 新手上路 Posts 7 Credits 16 | |
|
Oh, I see. Thanks. I've successfully booted using the chainloader (0,0) + 1 method. Later, I tried to use grub4dos to boot Vxworks's bootrom.sys and got Error 13: Invalid or unsupported executable format. Is it that grub4dos doesn't support this format?
|
|
| Floor5 fujianabc | Posted 2009-12-05 19:50 |
| 金牌会员 Posts 1,616 Credits 3,467 | |
Originally posted by realstephen at 2009-12-4 11:20 PM: What is bootrom.sys? Why did you directly use chainloader to load it? |
|
| Floor6 realstephen | Posted 2009-12-05 23:14 |
| 新手上路 Posts 7 Credits 16 | |
|
bootrom.sys is the boot loader of the VxWorks system.
I used to use DOS 6.22 to boot it, and it boots the real IMG of VxWorks. Now I want to try to directly boot it with Grub4DOS, so that I can get rid of DOS 6.22. |
|
| Floor7 realstephen | Posted 2009-12-05 23:18 |
| 新手上路 Posts 7 Credits 16 | |
|
Should we use
kernel (hd0,0)/boot/grub/memdisk.gz initrd (hd0,0)/boot/grub/bootrom.sys in this way? |
|
| Floor8 fujianabc | Posted 2009-12-06 18:29 |
| 金牌会员 Posts 1,616 Credits 3,467 | |
Originally posted by realstephen at 2009-12-5 11:14 PM: Grub is not an operating system. Grub only supports directly loading two types of formats: 1. The chainloader command can directly load bootsect-type files as well as ntldr and io.sys 2. The kernel command can directly load linux kernel-type files Your bootrom.sys obviously does not belong to one of the above two types, so Grub cannot be directly loaded. How did you load bootrom.sys under DOS? |
|
| Floor9 realstephen | Posted 2009-12-06 22:53 |
| 新手上路 Posts 7 Credits 16 | |
|
Vxworks provides a program Vxload.com for calling DOS 6.22. After DOS 6.22 is started, it boots bootrom.sys through Vxload.com. At this time, DOS hands over control to Vxworks' bootrom. Then bootrom.sys initializes basic hardware information (including the IO system, network, etc.), loads the real operating system image Vxworks into memory, and hands over control to Vxworks. In this way, the startup is completed.
Of course, Vxworks also has other startup modes. For example, use vxsys to write the boot information of Vxworks to the boot sector of the hard disk, and then the boot information directly loads bootrom.sys after power-on. |
|
| Floor10 fujianabc | Posted 2009-12-07 02:33 |
| 金牌会员 Posts 1,616 Credits 3,467 | |
Originally posted by realstephen at 2009-12-6 10:53 PM: Then you follow this method, use vxsys to write Vxworks boot information to the boot sector of the hard drive, and then load the boot sector with grub chainloader |
|
| Floor11 ZhiChaoC | Posted 2009-12-18 10:36 |
| 初级用户 Posts 42 Credits 88 | |
|
Can DOS and PE coexist in dual-boot????
If it is possible, what tools are used and how to make it!!!???? Please help, ask for advice, thank you!!!!!???? |
|
| Floor12 realstephen | Posted 2009-12-19 20:39 |
| 新手上路 Posts 7 Credits 16 | |
| Floor13 turkeycq | Posted 2010-01-11 11:11 |
| 新手上路 Posts 6 Credits 12 | |
|
How is your DOS booted? Still like this?
chainloader(0,0) + 1 What does (0,0) in the parentheses mean |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |