0 Members and 1 Guest are viewing this topic.
What are you trying to do exactly ? .. install XP in a VM ?
I'm beginning to wonder whether I might be better off running as much of my everyday stuff as possible, email, office etc., under Linux and, when I have design work to do, re-booting into Windows.
Do you know how to create an ISO image of your XP installation CD ?
No it doesn't require a partition .. virtual machines are stored as files on the host PC.
it may be worth checking out a VM for your CAD (?) apps, just to see how they run, as it would mean you don't have to reboot.
Are you saying here that a VM file is 'app' specific? If this is the case where does the VM find the OS?
there have been a lot of updates to XP since my installation CD was created. Would I be able to update the VM file created from the ISO, created from my installation CD?
Can I choose the location of the VM files?
dd if=/dev/sr0 of=/path/to/where/you/want/to/save/WinXP.iso
OK, now to create an ISO image of your XP installation CD ..I'm going to assume you have Brasero installed .. if so -First, insert the disc from which you want to make an ISO image. Wait until, and make sure, an icon for the disc appears on your desktop, indicating the disc has been read and mounted.
Next, open Brasero and select the Disc Copy function.On the Copy CD/DVD dialog, change Select a disc to write to to ISO by clicking on the drop-down itself (not the properties button) and choosing Image file.Click the Properties button and choose a name (such as WinXP.iso) and location for the output ISO image and then click Close.Verify your settings and then click Start copy.Mad Penguin suggests the ISO image should be stored at /var/lib/libvirt/images but if it won't let you create it there, just create it in your Home folder and we'll move it later.
did if=image.IMG bs=1M | SSH root@another machine dd of=backup.IMG bs=1M
OK, I'm pretty sure it's not in the right place .. so can you run:Code: [Select]sudo updatedb
thenCode: [Select]locate WINXP64bSP2.isoand post the output
sudo mkdir -p /var/lib/libvirt/images
sudo mv -v /home/tony/var/lib/libvirt/images/WINXP64bSP2.iso /var/lib/libvirt/images/WINXP64bSP2.iso
When the GUI appears, add a connection to "localhost" (all default settings once you select "connect") and you should then see an option to add a new VM
OK, run:Code: [Select]sudo mkdir -p /var/lib/libvirt/imagesthen:Code: [Select]sudo mv -v /home/tony/var/lib/libvirt/images/WINXP64bSP2.iso /var/lib/libvirt/images/WINXP64bSP2.isoOK that's the ISO in the place MP mentioned.
Now fire up virt-manager .. and according to MP (and he should know) ..QuoteWhen the GUI appears, add a connection to "localhost" (all default settings once you select "connect") and you should then see an option to add a new VM
Link to Gareth's Blog