[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Real partition under QEMU



Luca Capello, le Sun 01 Oct 2006 03:15:46 +0200, a écrit :
> 1) `qemu -hda /dev/hda10 -fda grub-0.95-i386-pc.ext2fs -boot a`
> 
>    This seems not to recognize the table partition of /dev/hda10, thus
>    failing to start.

What does not recognize the table partition ? You don't need a table
partition: just tell grub that the root is (hd0).

If it really wants a table partition, then you can fdisk /dev/hda10 and
create a partition starting at 1 and ending at the number of cylinders
of partition hda10. Beware of correctly setting the geometry the same as
hda in terms of heads and sectors.

> 2) `qemu -hda /dev/hda -fda grub-0.95-i386-pc.ext2fs -boot a`

This is dangerous: in linux, there is no coherency between hda and
hda10, so mounting hda10 in linux then using it in qemu via hda will
result to a corrupted system.

Samuel



Reply to: