public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Problems booting from  hard disk image.
@ 2003-10-19 19:27 Bernhard Bialas
  0 siblings, 0 replies; only message in thread
From: Bernhard Bialas @ 2003-10-19 19:27 UTC (permalink / raw)
  To: linux-msdos

Hello,
with the new dosemu 1.1.99.1 I have tried to boot a image of a harddisk (hda2, 
where my native dos is located). The image was created with dd-command, size 
=200 MB.
I have tried to boot the harddisk image with dosemu  in the following ways:

1 As partition (Dosemu.conf statement: $_hdimage=/dev/loop0). Before I have 
mounted the disk image with the mount command (mount /opt/dosemu/hda2.img 
/mnt -t msdos -o loop=/dev/loop0) as loopback device on a mountpoint . I am 
able to change in this "partition" and can see the content like files and 
directories. But if I start dosemu, (Xdos) then the following errormessage 
appears:

bernhard@Neptun:~> xdos
In file included from built-in global.conf:832
                 from built-in global.conf:690
Error in built-in global.conf: (line 745) /dev/loop0 must be a PARTITION, 
can't find number suffix!
1 error(s) detected while parsing the configuration-file

What number suffix is needed?

2. As simple hdimage (dosemu.conf statement: $_hdimage=hda2.img)
Than the following errormessage appears:

ERROR: IMAGE /opt/dosemu/hda2.img header lacks magic string - cannot 
autosense!

3. As virtual floppy (statement in the dosemu.conf: $_vbotfloppy=hda2.img)
The dosemu window appears with the following message:
 
Cannot load DOS press key to retry

After pressing a key, dosemu die.

The same three options I have tried with a disk image created from a 720 k 
floppy with the same results like with hda image , excepts in the following 
case: (dosemu.conf statement: $_vbootfloppy=floppy.img). 
Immediately after the start, dosemu crashes with a Error mesage:

ERROR: general protection at 0x700: 0

I do not know, why there is a difference.

Please note, that for the hard disk hda2 direct partition access was 
succesfull (dosemu.conf statement: $hdimage=/dev/hda2) i.e. I was able to 
boot DR-DOS 7.03 from it.

Is there someone who had successfully booted dosemu from a image file created 
with the dd-command and if yes how?

Thank you in advance
Bernhard
  



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-19 19:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-19 19:27 Problems booting from hard disk image Bernhard Bialas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox