[Bug 598649] [NEW] cannot boot grub multiboot image with kvm -kernel
Scott Moser
smoser at canonical.com
Fri Jun 25 21:41:01 BST 2010
Public bug reported:
Binary package hint: qemu-kvm
I'm trying to boot a grub multiboot image with kvm -kernel and it is not
functioning.
'-kernel' should be capable of booting a multiboot image, and I'm
passing it one. I created the image by running the following inside a
ubuntu 10.04 guest.
$ echo "set prefix=(hd0)/boot/grub" > mycfg.cfg
$ grub-mkimage --output=grub-loader.img --config=mycfg.cfg \
--prefix=/boot/grub biosdisk ext2 part_msdos
Then, I tried booting a disk image passing that loader to '-kernel'. kvm hangs showing only:
Starting SeaBIOS (version 0.5.1-20100120_010601-rothera)
I've built git from commit bc3a9ccc5ddea4c0c713ef6fb3c11d9a88cec169 at
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git , and it is
functioning correctly.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: qemu-kvm 0.12.4+noroms-0ubuntu3
ProcVersionSignature: User Name 2.6.32-305.9-ec2 2.6.32.11+drm33.2
Uname: Linux 2.6.32-305-ec2 x86_64
Architecture: amd64
CurrentDmesg: [ 15.541040] eth0: no IPv6 routers present
Date: Fri Jun 25 20:25:58 2010
Ec2AMI: ami-8e05ede7
Ec2AMIManifest: ubuntu-images-testing-us/ubuntu-maverick-daily-amd64-server-20100625.manifest.xml
Ec2AvailabilityZone: us-east-1d
Ec2InstanceType: m1.large
Ec2Kernel: aki-0d816864
Ec2Ramdisk: unavailable
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
ubuntu 1779 812 99 86610 47744 1 20:25 pts/1 00:00:18 kvm -m 128 -drive file=disk.img,index=0,if=virtio -net nic,model=virtio -net user -kernel grub-loader.img -curses
Lspci:
Lsusb: Error: command ['lsusb'] failed with exit code 1:
ProcCmdLine: root=/dev/sda1 ro 4
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcModules: ipv6 293479 12 - Live 0xffffffffa0000000
SourcePackage: qemu-kvm
** Affects: qemu-kvm (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug ec2-images maverick
--
cannot boot grub multiboot image with kvm -kernel
https://bugs.launchpad.net/bugs/598649
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
More information about the Ubuntu-server-bugs
mailing list