From: John Arbuckle <programmingkidx@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1737194] Windows NT 4.0 fails to boot from qcow2 installation
Date: Sat, 27 Jan 2018 00:39:08 -0000 [thread overview]
Message-ID: <42430D14-86E9-4F5F-AE59-DCEA2E89B84F@gmail.com> (raw)
In-Reply-To: A7EAECCF-80AF-4075-845E-420018361DD8@gmail.com
I have installed Windows 95 OSR 2.5 in QEMU using the qcow2 format. So
far there hasn't been any major problems that prevent Windows from
booting.
I downloaded the ISO file from here:
https://winworldpc.com/product/windows-95/osr-3
Used this floppy boot image to boot QEMU: https://winworldpc.com/product
/microsoft-windows-boot-disk/95-osr2x
Created the hard drive image file like this: qemu-img create -f qcow2
~/windows95.qcow2 2G
I used my Windows XP VM to format this qcow2 file to the FAT format.
My first attempt to boot the hard drive image file failed probably
because the CPU was set to something Windows 95 couldn't handle
properly. Changing the cpu to a pentium removed the booting problem.
This is the command-line I used to boot Windows 95:
qemu-system-i386 -hda windows95.qcow2 -boot c -netdev user,id=mynet0 -device ne2k_isa,netdev=mynet0 -soundhw sb16 -m 32 -cpu pentium -vga cirrus -localtime
The version of QEMU I used is today's git version (commit
e607bbee553cfe73072870cef458cfa4e78133e2).
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1737194
Title:
Windows NT 4.0 fails to boot from qcow2 installation
Status in QEMU:
New
Bug description:
Windows NT 4.0 will not boot from an installation more than once if
installed in a qcow2 image file. A quick fix to this problem is to use
the qcow format instead.
Steps to reproduce this issue:
Create the image file:
qemu-img create -f qcow2 winnt4.qcow2 1G
Boot from a Windows NT 4.0 Workstation CD:
qemu-system-i386 -hda winnt4.qcow2 -cdrom /dev/cdrom -boot d -m 128 -cpu pentium -vga cirrus
During the installation process you have the choise between FAT and
NTFS. You can pick anyone.
After finishing the installation the guest will reboot to install
additional items. Once this is done the guest will be bootable. Eject
any CD media from QEMU and reboot. You will then see Windows NT 4.0
booting up to the desktop. Go to "Start->Shut down" to shut down. Then
when Windows is ready quit QEMU.
Now try to boot using this command:
qemu-system-i386 -hda winnt4.qcow2 -boot c -m 128 -cpu pentium -vga cirrus
The BIOS screen will display an error message:
For NTFS:
Booting from Hard Disk...
A disk read error occurred.
Insert a system diskette and restart
the system.
For FAT:
No bootable device.
Additional information:
qemu-system-i386 version: 2.10.1
qemu-img version: 2.10.92 (v2.11.0-rc4-dirty)
If you don't have a Windows NT 4.0 Workstation installation CD, you may download one from here:
https://winworldpc.com/product/windows-nt-40/40
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1737194/+subscriptions
next prev parent reply other threads:[~2018-01-27 0:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-08 15:35 [Qemu-devel] [Bug 1737194] [NEW] Windows NT 4.0 fails to boot from qcow2 installation John Arbuckle
2017-12-08 18:41 ` [Qemu-devel] [Bug 1737194] " John Snow
2017-12-08 20:21 ` John Arbuckle
2018-01-25 7:53 ` i336_
2018-01-25 15:58 ` John Arbuckle
2018-01-25 16:16 ` Peter Maydell
2018-01-25 16:43 ` John Arbuckle
2018-01-25 17:07 ` Peter Maydell
2018-01-25 16:37 ` John Arbuckle
2018-01-26 14:51 ` David Lindsay
2018-01-26 17:03 ` John Arbuckle
2018-01-27 0:39 ` John Arbuckle [this message]
2020-11-16 18:13 ` Thomas Huth
2021-01-16 4:17 ` Launchpad Bug Tracker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42430D14-86E9-4F5F-AE59-DCEA2E89B84F@gmail.com \
--to=programmingkidx@gmail.com \
--cc=1737194@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).