Virtual Machine install on Mint 10 (gemu-kvm boot failure)

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
javanero

Virtual Machine install on Mint 10 (gemu-kvm boot failure)

Post by javanero »

Installed qemu-kvm KVM virtual machine via the software manager on my new mint 10 main OS.
(Kernel Linux 2.6.35-22-generic GNOME 2.32)
from the terminal, kvm results in

Starting SeaBIOS (version pre-0.6.1-20100702_143500-palmer)
Booting from Hard Disk ...
Boot failed: could not read the boot disk

Booting from Floppy ...
Boot failed: could not read the boot disk

Booting from CD-Rom ...
Boot failed: could not read from CDROM (code 0003)
No bootable device.

Now I have installed mint 10 as a dual boot with 3 physical partitions of SSD:
/dev/sda1 windows 27.6GB ntfs
/dev/sda2 /boot 0.5GB ext4
/dev/sda3 extended 27.8GB ext4
/sda5 linux-swap 5.6GB
/sda6 / 15.8GB
/sda7 /home 6.5GB these last three are logical partitions of sda3

Surfing the intertubes I found the following regarding VMs on logical volumes:
http://www.convirture.com/forums/viewto ... =27&t=1818

Here is the relevant post, it may be correct and I do not follow or a red herring.
Any help in getting kvm to run on mint 10 would be appreciated. - javanero


=================================================================
text of
http://www.convirture.com/forums/viewto ... =27&t=1818
Unfortunately this solution does not work; I get the same boot error as before.

I´ve been googling away and I think I have identified the source of my confusion and a solution the problem. I will try to summarize for the Convirt community what I´ve learned:

1. Having successfully created logical volume-based VMs, I now want the freedom to mount and manipulate those volumes (while the VM is shut down, of course.)

2. I can´t mount the logical volumes that are created. If I create the VM images as RAW (or convert an existing VM image to RAW using qemu-img), then I can mount the RAW image using a loop with offset.

3. It seems that source of my problem is this: since there are multiple partitions (boot, /, swap) in the image that is device-mapped to the logical volume (not sure if that is semantically correct?), we cannot simply mount it as one would a normal logical volume. (cf. http://www.howtoforge.com/forums/showth ... p?p=164751)

4. One of the responders to the discussion thread suggests using kpartx to create loopback devices for each of the partitions found on the physical device. I will be trying this ASAP and sharing my findings here.

5. As a further possibility...the utility qemu-nbd (for some distros it may be known as kvm-nbd) is capable of exporting a qcow2 image as a network block device. (cf. http://blog.loftninjas.org/2008/10/27/m ... sk-images/.) The utility has an option for specifying a single partition to expose, or it seems logical that once a client has connected to the network block device kpartx may be used to create loopback devices for each of the partitions contained in the image.
-------------------

I will be experimenting with this over the weekend. However, I would much appreciate any feedback or advice from the community before my next report.
=================================================================
i7 950, asus P6X58D-E
lspci as requested
00:00.0 Host bridge: Intel Corporation 5520/5500/X58 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
00:02.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 2 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
01:00.0 IDE interface: Marvell Technology Group Ltd. Device 91a3 (rev 11)
02:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
04:00.0 VGA compatible controller: nVidia Corporation GF104 [GeForce GTX 460] (rev a1)
04:00.1 Audio device: nVidia Corporation GF104 High Definition Audio Controller (rev a1)
05:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
07:02.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)
ff:00.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath Architecture Generic Non-Core Registers (rev 05)
ff:00.1 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath Architecture System Address Decoder (rev 05)
ff:02.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QPI Link 0 (rev 05)
ff:02.1 Host bridge: Intel Corporation Xeon 5500/Core i7 QPI Physical 0 (rev 05)
ff:03.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller (rev 05)
ff:03.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Target Address Decoder (rev 05)
ff:03.4 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Test Registers (rev 05)
ff:04.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Control Registers (rev 05)
ff:04.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Address Registers (rev 05)
ff:04.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Rank Registers (rev 05)
ff:04.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Thermal Control Registers (rev 05)
ff:05.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Control Registers (rev 05)
ff:05.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Address Registers (rev 05)
ff:05.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Rank Registers (rev 05)
ff:05.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Thermal Control Registers (rev 05)
ff:06.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Control Registers (rev 05)
ff:06.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Address Registers (rev 05)
ff:06.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Rank Registers (rev 05)
ff:06.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Thermal Control Registers (rev 05)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
javanero

Re: KVM on Mint 10 gemu-kvm boot failure

Post by javanero »

Ok, simpler question. Has anyone successfully installed a VM on Mint 10 where the installation was on a logical partition?

Recall, I have installed mint 10 as a dual boot with 3 physical partitions of SSD:
/dev/sda1 windows 27.6GB ntfs
/dev/sda2 /boot 0.5GB ext4
/dev/sda3 extended 27.8GB ext4
  • /sda5 linux-swap 5.6GB
  • /sda6 / 15.8GB
  • /sda7 /home 6.5GB these last three are logical partitions of sda3
Cheers!
Locked

Return to “Software & Applications”