Can I run my OS on /dev/hda1 in qemu?
• Short answer: No. qemu does not support creating a partition table/MBR on the fly. You need to use /dev/hda (e.g. the entire hard disk). • Long answer: It is possible to run an OS from /dev/hda1 but this is only for the advanced user who understands what a parition table looks like. Basicly this means you have to use /dev/hda1 as a disk image and set up an MBR and a partition table on it. Naturally, this means you can not use run this OS when booting your computer for real. Also, some OSes may be able to boot off of a hard disk directly, instead of just a hard disk partition (e.g. Linux with “root=/dev/hda”).
Short answer: No. qemu does not support creating a partition table/MBR on the fly. You need to use /dev/hda (e.g. the entire hard disk). Long answer: It is possible to run an OS from /dev/hda1 but this is only for the advanced user who understands what a parition table looks like. Basicly this means you have to use /dev/hda1 as a disk image and set up an MBR and a partition table on it. Naturally, this means you can not use run this OS when booting your computer for real. Also, some OSes may be able to boot off of a hard disk directly, instead of just a hard disk partition (e.g. Linux with “root=/dev/hda”).