From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uri Lublin Subject: Re: Fedora 8 as kvm guest Date: Sun, 03 Feb 2008 14:04:03 +0200 Message-ID: <47A5ADB3.4040208@qumranet.com> References: <200802030506.m1356N3E002718@linus.cs.queensu.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Bob Tennent Return-path: In-Reply-To: <200802030506.m1356N3E002718-s+GRcMkL13YalnyRIsVktCwD8/FfD2ys@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Bob Tennent wrote: > I'm experimenting with kvm on a Fedora 8 system. I've installed the > necessary packages, have a suitable CPU etc. I'll eventually aim for > a Windows guest, but am trying out a virtual Fedora 8 guest. When I > try to install a Fedora guest, it threatens to wipe and re-partition > the whole drive. It does this whether I specify an installation file > or partition in virt-manager. Can I ignore this? I don't want my whole > installation wiped. Is the hypervisor presenting the Fedora install with > a file/parition and making it think it has a whole drive? > > Bob T. > KVM guests see a virtual disk (which usually does not contain the host installation). To be on the safe side use a disk-image-file and verify that your guest finds no partitions and specifically no linux partition where the host fedora is installed. And/Or let us know the command line you are using. And/Or use the following, taken from KVM Wiki, which is safe (location/name of executables may vary): /usr/local/kvm/bin/qemu-img create -f qcow vdisk.img 10G sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda vdisk.img -cdrom /path/to/boot-media.iso \ -boot d -m 384 Uri ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/