cannot boot grub multiboot image with kvm -kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu-kvm (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Won't Fix
|
Undecided
|
Serge Hallyn |
Bug Description
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=
$ grub-mkimage --output=
--prefix=
Then, I tried booting a disk image passing that loader to '-kernel'. kvm hangs showing only:
Starting SeaBIOS (version 0.5.1-20100120_
I've built git from commit bc3a9ccc5ddea4c
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: qemu-kvm 0.12.4+
ProcVersionSign
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-
Ec2Availability
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.
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
Related branches
Changed in qemu-kvm (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in qemu-kvm (Ubuntu Lucid): | |
assignee: | nobody → Thierry Carrez (ttx) |
assignee: | Thierry Carrez (ttx) → Serge Hallyn (serge-hallyn) |
Changed in qemu-kvm (Ubuntu Lucid): | |
status: | New → Won't Fix |
This tarball contains a re-create scenario.
Download it, extract it, and the nrun: img,index= 0,if=virtio \
kvm -m 128 -drive file=disk.
-net nic,model=virtio -net user \
-kernel grub-loader.img
That works with kvm tip, but not maverick's version (or lucid's)