[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Bug 1737194] Windows NT 4.0 fails to boot from qcow2 i
From: |
John Arbuckle |
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 |
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