![]() I tried everything I could think of and all the different steps found on the web including repairing the mbr changing disk types and boot options to no avail. But following the same steps in lucid it will hang after the mbr boots the first partition. partition disk (entire disk, one partition, active):įsarchiver restfs win.fsa id=0,dest= /dev/mapper/ vg-winp1Īt this point, the image will boot in 9.10. Kvm -m 1024 -cdrom rescuecd.iso -hda /dev/vg/win -boot dģ. boot system to image to rescuecd and backup xp or win2k3 using fsarchiver:įsarchiver savefs /some/remote/ location/ win.fsa /dev/sda1 That was initially how I got these restores to work I installed on a Karmic laptop and moved the raw image to Lucid.ġ. In fact, I can move the raw image from 9.10 to 10.04 and boot it without problem. ![]() Here are the steps I've taken and the partial fix I've discovered.įirst, let me say that these steps worked perfectly in 9.10. In my case I use install-mbr from the mbr package but have also tried to install the windows mbr from the boot cd without success. I'm installing using a slightly different situation - I'm restoring a WinXP/Win2k3 backup that was made with fsarchiver - but essentially I run across the same issue namely that boot fails when mbr tries to boot the first partition. LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-x86_64 -S -M pc-0.12 -no-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name winxp_test -uuid 634dff56-8c5a-fdbb-b5fc-091bcf78e586 -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/winxp_test.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=localtime -boot c -drive file=/var/lib/libvirt/images/winxp_test.img,if=none,id=drive-ide0-0-0,boot=on,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive file=/mnt/data/media/win_xp_sp3_32.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -device rtl8139,vlan=0,id=net0,mac=52:54:00:ac:e8:ca,bus=pci.0,addr=0x4 -net tap,fd=20,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -vnc 127.0.0.1:1 -k en-us -vga std -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 * various important CMOS locations needed by PC/Bochs bios */ +++ -271,12 +271,16 static void cmos_init( ram_addr_ t ram_size, ram_addr_t above_4g_mem_size,įor (i = 0 i bdrv, &cylinders, &heads, &secs) Maybe this will give someone a hint for a proper upstream solution:ġ files changed, 4 insertions(+), 0 deletions(-) Markus has a patch internally against an older qemu-kvm release that apparently fixes the issue, however the upstream code is different so it doesn't cleanly apply. 1,unit= 0,drive= drive-ide0- 1-0,id= ide0-1- 0 -device rtl8139, vlan=0, id=net0, mac=52: 54:00:ac: e8:ca,bus= pci.0,addr= 0x4 -net tap,fd= 20,vlan= 0,name= hostnet0 -chardev pty,id=serial0 -device isa-serial, chardev= serial0 -usb -device usb-tablet, id=input0 -vnc 127.0.0.1:1 -k en-us -vga std -device virtio- balloon- pci,id= balloon0, bus=pci. iso,if= none,media= cdrom,id= drive-ide0- 1-0,readonly= on,format= raw -device ide-drive, bus=ide. img,if= none,id= drive-ide0- 0-0,boot= on,format= raw -device ide-drive, bus=ide. LC_ALL=C PATH=/sbin: /usr/sbin: /bin:/usr/ bin QEMU_AUDIO_DRV=none /usr/bin/ qemu-system- x86_64 -S -M pc-0.12 -no-kvm -m 512 -smp 1,sockets= 1,cores= 1,threads= 1 -name winxp_test -uuid 634dff56- 8c5a-fdbb- b5fc-091bcf78e5 86 -nodefaults -chardev socket, id=monitor, path=/var/ lib/libvirt/ qemu/winxp_ test.monitor, server, nowait -mon chardev= monitor, mode=readline -rtc base=localtime -boot c -drive file=/var/ lib/libvirt/ images/ winxp_test. ![]() I cannot reproduce with qemu-kvm upstream, qemu stable, or qemu upstream. I can reproduce with qemu-kvm 0.12.4 like the original reporter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |