Skip to contentSkip to conversation

Windows 95 and qemu

Qemu-devel Oliver Kopp 4 participants 4 messages Jun 11, 2004 – Jun 12, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I tried qemu-cvs two days ago with a German Win95 using qemu -hda /dev/hdc
/dev/hdc was the main harddisk of another PC, where Win95 works fine.

After firing up qemu, windows sys, it has an I/O-error and I should change the disk.

qemu -hda /dev/hdc1 doesn't work either: "incorrect system" (or similar)

fdisk -l /dev/hdc gives correct values.

FreeDOS from www.ubcd.de 2.31 and qemu -hda /dev/hda -cdrom /dev/crom -boot d showed a 0 MB-Disk while booting...

What can I do to use this Win95-Installation?

Greetings

Oliver

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a similar problem:

with the latest (june 10) cvs qemu, when I do "qemu /dev/hdc" (the main disk in my laptop on which I have a dual-boot WinXP / Linux), I get the Lilo interface without any problem. When I choose to boot Linux, it works fine. Booting XP however, gives me the message "A disk read error occurred, Press Ctrl+Alt+Del to restart". GRUB gives me the same result.
It seems the lilo bootloader jumps correctly to the XP boot record, but from that point on something goes wrong.
Has anyone had success yet booting XP (or another windows) from a device file?

Oliver Kopp wrote:

|Hi,
|
|I tried qemu-cvs two days ago with a German Win95 using qemu -hda
|/dev/hdc
|/dev/hdc was the main harddisk of another PC, where Win95 works fine.
|
|After firing up qemu, windows sys, it has an I/O-error and I should
|change the disk.
|
|qemu -hda /dev/hdc1 doesn't work either: "incorrect system" (or similar)
|
|
|fdisk -l /dev/hdc gives correct values.
|
|FreeDOS from www.ubcd.de 2.31 and qemu -hda /dev/hda -cdrom /dev/crom
|-boot d showed a 0 MB-Disk while booting...
|
|
|What can I do to use this Win95-Installation?
|
|
|Greetings
|
|Oliver
|
|
|
|----------------------------------------------------------------------
|
|_______________________________________________
|Qemu-devel mailing list
|[email protected]
|http://lists.nongnu.org/mailman/listinfo/qemu-devel

- --
Gerolf Vanacker
Department of mechanical engineering
division PMA, research group MLR
Celestijnenlaan 300B
B-3001 Heverlee, Belgium
K.U. Leuven
http://www.mech.kuleuven.ac.be

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAyYqnoJ4CTvgwJloRAtYhAJwIuvFTZWtQiXrx7M20R34xZ118TwCeI/fQ K4x2lWLxs1V5tkTVfrpBBrA=
=C7wJ
-----END PGP SIGNATURE-----

#2 lore raw

The problem may be related to the fact that QEMU does not initialize the HDD geometry fields in the CMOS memory.

Fabrice.

Quoted 77 lines · Gerolf Vanacker

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a similar problem:

with the latest (june 10) cvs qemu, when I do "qemu /dev/hdc" (the main disk in my laptop on which I have a dual-boot WinXP / Linux), I get the Lilo interface without any problem. When I choose to boot Linux, it works fine. Booting XP however, gives me the message "A disk read error occurred, Press Ctrl+Alt+Del to restart". GRUB gives me the same result.
It seems the lilo bootloader jumps correctly to the XP boot record, but from that point on something goes wrong.
Has anyone had success yet booting XP (or another windows) from a device file?

Oliver Kopp wrote:

|Hi,
|
|I tried qemu-cvs two days ago with a German Win95 using qemu -hda
|/dev/hdc
|/dev/hdc was the main harddisk of another PC, where Win95 works fine.
|
|After firing up qemu, windows sys, it has an I/O-error and I should
|change the disk.
|
|qemu -hda /dev/hdc1 doesn't work either: "incorrect system" (or similar)
|
|
|fdisk -l /dev/hdc gives correct values.
|
|FreeDOS from www.ubcd.de 2.31 and qemu -hda /dev/hda -cdrom /dev/crom
|-boot d showed a 0 MB-Disk while booting...
|
|
|What can I do to use this Win95-Installation?
|
|
|Greetings
|
|Oliver
|
|
|
|----------------------------------------------------------------------
|
|_______________________________________________
|Qemu-devel mailing list
|[email protected]
|http://lists.nongnu.org/mailman/listinfo/qemu-devel

- --
Gerolf Vanacker
Department of mechanical engineering
division PMA, research group MLR
Celestijnenlaan 300B
B-3001 Heverlee, Belgium
K.U. Leuven
http://www.mech.kuleuven.ac.be

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAyYqnoJ4CTvgwJloRAtYhAJwIuvFTZWtQiXrx7M20R34xZ118TwCeI/fQ K4x2lWLxs1V5tkTVfrpBBrA=
=C7wJ
-----END PGP SIGNATURE-----

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#3 lore raw
Quoted 2 lines

The problem may be related to the fact that QEMU does not initialize the HDD geometry fields in the CMOS memory.

Could that also have something to do with the failures I have installing SP4 on Win2k? It seems odd that something that high-level would be checking something that low-level directly, but it does fail while "checking for disk space"... I don't know, just wild speculation...

tim