xen won't boot windows installation, everything seems ok
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Debian PPC/i386/AMD64 5.0(Lenny), Vista, XP , WIN7, Server 03/08
Posts: 1,164
Rep:
xen won't boot windows installation, everything seems ok
After much gnashing and wailing of teeth, I finally found that xen will boot from a hard disk partition, this is good news I want to be able to use my existing XP install without rebooting. But after all the setup and the heartache I cannot get the install to boot. The domain sets up fine but whe I VNC into it says ata0 master: QEMU Hard disk ata-7 (17000 MB)....
followed by the line "booting from hard disk", and it just sits there doing nothing the only thing i noticed is that this is a 80 some-odd GB HD and the hard disk identifier lables it as 17GB. I tried changing the device info to use the recovery partition, and that at least got me further, it was an endless loop of I/O error, press any key to reboot, booting from harddisk.
I am running a HP dv9000z with 2GB RAM, dual sata 100GB 7200rpm hard drives, dual core Turion X2 TL-56 (1.8ghz per core).
The Hard drives are configured as such sda has 3 partitions sda1 -- windows xp mediacenter, sda2 -- recovery partition, sda3 -- Proprietary HP QuikPlay 300MB boot partition in sdb1, the bulk of the hard drive as root in sdb2, and 1.5GB swap in sdb3.
GRUB is loaded in the MBR of sda and works fine when booting the computer, I also tried booting xen into sda, but grub ends with an error21.
Distribution: Debian PPC/i386/AMD64 5.0(Lenny), Vista, XP , WIN7, Server 03/08
Posts: 1,164
Original Poster
Rep:
After searching and re-searching the net I found someone with a similar problem, the solution was to upgrade to xen 3.0.4 whic uses the 2.6.16 series kernel, that won't do, because due to my HW I need a 2.6.18 kernel, which turns out is ok because xen has released 3.1 stable which uses the 2.6.18 kernel. But even that is giving me headaches now, but that will be another request for help on a another thread when i have time.
After searching and re-searching the net I found someone with a similar problem, the solution was to upgrade to xen 3.0.4 whic uses the 2.6.16 series kernel, that won't do, because due to my HW I need a 2.6.18 kernel, which turns out is ok because xen has released 3.1 stable which uses the 2.6.18 kernel. But even that is giving me headaches now, but that will be another request for help on a another thread when i have time.
Dear Folks,
very interesting things you did - thanks for the good job. Well I have a similar Problem:
have sles using xen 3.x (all working fine)
have also winxp installation of an user
What I want: I want to get this winxp_installation (that was done on different hardware) running under xen
What I did: made iso out of the winxp partition (dd if ... of...) and tried to make new VM with xen tools > but either xen gui broke when adding the harddisk (the iso file of the winxp partition) or the graphic interface of the VM showed "booting from hard disk ..." and then did not response any more while doing nothing with 10%CPU load.
Is there anyone who could please help me with an idea of what is my problem? would be very nice - thanks in advance!
Another idea would be using existing xen VM-xp_installation and copy the windows files into it to have the initial full-installed version... but howto mount the image files?! idea with losetup or kpartx resulted in no mounting device... Any productive solution would be very interesting for all of us ...
when I attempt to run the windows xp vm the console shows "booting from hard disk...", the cpu usage goes to 100%, and that's as far as it gets.
I have a dual-boot setup that I'm attempting to convert to a dual-boot plus xen setup. I'm running openSuSE 11.2 with the 2.6.31.5-0.1-xen kernel and Xen 3.4.1. the hard drive is partitioned as:
sda1 - xp (ntfs)
sda2 - extended partition
sda5 - /windows/D (fat32)
sda6 - swap
sda7 - / (ext4)
sda8 - /home (ext4)
(I have a second hard drive, sdb, but it is not currently in use. It will eventually be a mirror image of sda.)
I've configured the windows xp vm as:
name="windowsxp"
uuid="b3a2c424-7df7-94f6-79a8-c641e412f68d"
memory=512
maxmem=512
vcpus=2
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
localtime=1
keymap="en-us"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.