Hi Norbert,
thank you for your report and your help to make Ubuntu better!
I must admit I never used kvm in that way (ton install on a usb drive),
but I like it and since I wanted to reroll my usb flash to be a zesty
release I had the perfect opportunity to test your case.
I'm confused if qemu here is not just "doing what it is told".
I'm actually happy that it at leasts presents a message to make clear that the
implicit raw detection is an issue.
I constructed the command as suggested by the message (with explicit
raw) and a few options more that I prefer and considered more
appropriate for this case like disabling cache.
$ kvm -m 1024 -drive
file=/dev/sdb,format=raw,cache=none,index=0,media=disk -boot d -drive
format=raw,media=cdrom,readonly,file=zesty-desktop-amd64.iso
And for me that just worked, no corruption or anything:
Also it boots just fine afterwards with:
$ kvm -m 1024 -drive file=/dev/sdb,format=raw,cache=none,index=0,media=disk
I'd think that the following might also work, but didn't test it.
$ kvm -m 1024 -usbdevice disk:format=raw:/dev/sdb -boot menu=on -drive
format=raw,media=cdrom,readonly,file=zesty-desktop-amd64.iso
@Norbert - might this actually not be a qemu bug but instead one in
grub2-theme-preview, were you trying to request an update to that? I don't see
it packaged, so I doubt that but still wanted to ask?
For now I'll mark incomplete as I don't see the actual issue, but please
describe what you think shall/could be done and set it back to new!
** Changed in: qemu (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1685031
Title:
qemu-kvm corrupts filesystems on usb-flash drive if raw format is not
specified
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1685031/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs