On Wed, Nov 11, 2009 at 01:46:49AM -0000, Dustin Kirkland wrote: > Matt, Evan- > > >From the kvm(1) manpage, I think the option you want is: > # boot from CD-ROM first, switch back to default order after reboot > -boot once=d > > Can you give that a try and see if that gives you the behavior you > expect? > > I tested here with a real, working disk image, and a live ISO. > > Using: > * /usr/bin/kvm -m 512 -cdrom ../iso/karmic-desktop-amd64.iso -hda > karmic-server.img -boot once=d > > I booted to the LiveCD desktop first, then used the graphical Restart > option, and rebooted directly to my server.img disk.
I don't understand why this option should be necessary. Following the steps in my original report, I would expect one of two things to happen: * The CD-ROM boot fails (because the disc is "ejected") and it falls back to booting from the hard disc * The CD-ROM boot succeeds (because the "tray closes") and I can boot from the hard disc by selecting the appropriate option from the menu Scott's comment #12 explains the difference pretty clearly. I should be able to repeat this process as many times as I like without restarting KVM. Instead, I get: * System fails to boot from the CD, and so halts and needs to be restarted with different command-line options The workaroud you've suggested would largely satisfy my needs for Ubuntu testing, but I don't understand why it shouldn't just work intuitively as described above. -- - mdz -- Fails to boot from CD after reboot: CDROM boot failure code: 0003 https://bugs.launchpad.net/bugs/348633 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs