[Novalug] virsh cheat sheet?
William Morse
wmorse@americancouncils.org
Wed Aug 21 15:20:11 EDT 2013
I've had problems with the boot loader, but I figured I that my image just didn't have a "good" MBR.
But this leads me to a question: I have a machine configured for Dual Boot with win7 on some partition. Is there a recipe to allow me to create an image of that system that is bootable from virsh?
I used dd to make a raw image file from the partition, and was able to add this image as a "drive" to another VM win7 system. But I couldn't figure out how to "prepend" an MBR to the image.
Anyone done something like this?
My eventual goal is to store the image on some external hard drive, because I run it only a couple times a year and free up the disk space on my system.
William Morse
________________________________________
From: novalug-bounces@calypso.tux.org [novalug-bounces@calypso.tux.org] on behalf of The Doctor [drwho@virtadpt.net]
Sent: Wednesday, August 21, 2013 2:22 PM
To: novalug@calypso.tux.org
Subject: Re: [Novalug] virsh cheat sheet?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/18/2013 12:31 AM, Jason P. Thomas wrote:
> I've dd'ed vm disks to lvm on xen with little trouble using both
> ext3 and ext4. I'd probably make an lvm the same size as the
> existing partition, then resize it after you insure it works if
> necessary.
Did you encounter any problems with the boot loader freaking out
because it couldn't find /boot or /root anymore? I ran into that a
couple of times and gave up on the migration effort.
- --
The Doctor [412/724/301/703] [ZS]
Developer, Project Byzantium: http://project-byzantium.org/
PGP: 0x807B17C1 / 7960 1CDC 85C9 0B63 8D9F DD89 3BD8 FF2B 807B 17C1
WWW: https://drwho.virtadpt.net/
"The futuristic is paradoxically familiar." --William Gibson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlIVBWsACgkQO9j/K4B7F8GqmACgpL9O/rA1lqwTlIR5cMSJyL+g
eqwAoM2RqrMgjQ+YVauObpEUdrqNXUt9
=JOSJ
-----END PGP SIGNATURE-----
_______________________________________________
Novalug mailing list
Novalug@calypso.tux.org
http://calypso.tux.org/mailman/listinfo/novalug
More information about the Novalug
mailing list