I invoke qemu as follows
$ sudo kvm -drive file=ub-master.qcow2,if=virtio,index=0 -drive file=/home/amitava/iso/ubuntu-1104-mini.iso,media=disk,boot=on -m 512 -net nic -net tap -vnc 127.0.0.1:0 -monitor stdio
By specifying the cdrom as in the 2nd -drive above, it creates a spurious drive "23.1 MB ATA QEMU HARDDISK" and ubuntu-1104-mini.iso installer fails to install grub properly. The fix is easy enough, just use the traditional -cdrom option instead as
$ sudo kvm -drive file=ub-master.qcow2,if=virtio,index=0 -cdrom /home/amitava/iso/ubuntu-1104-mini.iso -m 512 -net nic -net tap -vnc 127.0.0.1:0 -monitor stdio
No comments:
Post a Comment