Skip to contentSkip to conversation

Direct kernel boot without harddrive image

DISCUSSION Daire Byrne 1 participant 2 messages Nov 20, 2008 – Nov 24, 2008 1 message not in the archive KVM

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Avi,

Quoted 7 lines · ----- "Avi Kivity
Quoted 1 line

Is direct kernel booting just not really supported properly or is it

just to do with Qemu forgetting about the direct boot kernel/initrd after a reboot?

Direct kernel booting is supported. Please try with -no-kvm to see if it is a qemu or kvm issue, and also try the latest release to see you aren't encountering an already-fixed bug.

I tried with -no-kvm and I get the same crash when I reboot the VM. I suppose it's a qemu bug then. I tried with the latest kvm-qemu (78) but perhaps I should try the latest Qemu and if it still breaks report the bug on the Qemu mailing list? It is like it forgets to boot the kernel and initrd again after a reboot and tries to boot from the harddrive instead.

Cheers,

Daire

#2 lore raw
Quoted 6 lines · ----- "Daire Byrne

I tried with -no-kvm and I get the same crash when I reboot the VM. I suppose it's a qemu bug then. I tried with the latest kvm-qemu (78) but perhaps I should try the latest Qemu and if it still breaks report the bug on the Qemu mailing list? It is like it forgets to boot the kernel and initrd again after a reboot and tries to boot from the harddrive instead.

More weirdness with direct booting - using more than 2048MB causes the BIOS to repeatedly crash out. This only happens using "-kernel" and "-initrd".

Daire