Skip to contentSkip to conversation

qemu for macosx can't boot linux partition

Qemu-devel Enric Pedascoll Quingles 3 participants 5 messages Sep 28, 2005 – Sep 29, 2005

lore
Share & tools
lore
#0 lore raw

hello,

i try to boot a fisical mac's partition with qemu but i don't obtain good results
i have read in documentation files that the command is:

~#qemu -snapshot -hda /dev/(your disk)

i try several way with the same result

~#qemu -snapshot -hda /dev/hda
~#qemu -snapshot -hda /dev/disk0
~#qemu -snapshot -hda /dev/hda0s1..s2...s5

and nothing...

anybody knows that i can do!

thank you for your answers!

#1 lore raw
Quoted 6 lines · Enric Pedascoll Quingles

i try to boot a fisical mac's partition with qemu but i don't obtain good results
i have read in documentation files that the command is:

~#qemu -snapshot -hda /dev/(your disk)

Quoted 7 lines

i try several way with the same result

~#qemu -snapshot -hda /dev/hda
~#qemu -snapshot -hda /dev/disk0
~#qemu -snapshot -hda /dev/hda0s1..s2...s5

and nothing...

Under Mac OS X, partitions are available as /dev/diskXsY and not /dev/hdXsY. Your boot partition /dev/disk0sY, other disks can get a different number after every reboot.

You can find the device name of a partition (under Mac OS X 10.4.x at least) by opening /Applications/Utilities/Disk Utility, selecting a partition and choosing File->Get Info.

Jonas

#2 lore raw

well, now i have running macosX.4 and i want to start a qemu session with a Debian partition, i know that macos partition is disk0s5 but all other partitions are Debian (swap, root, home ...), i try to boot all the disk /dev/disk0 and select Debian in a yaboot but when i type qemu -hda /dev/disk0, qemu crash

Quoted 28 lines · Jonas Maebe
Quoted 6 lines · Enric Pedascoll Quingles

i try to boot a fisical mac's partition with qemu but i don't obtain good results
i have read in documentation files that the command is:

~#qemu -snapshot -hda /dev/(your disk)

Quoted 7 lines

i try several way with the same result

~#qemu -snapshot -hda /dev/hda
~#qemu -snapshot -hda /dev/disk0
~#qemu -snapshot -hda /dev/hda0s1..s2...s5

and nothing...

Under Mac OS X, partitions are available as /dev/diskXsY and not /dev/ hdXsY. Your boot partition /dev/disk0sY, other disks can get a different number after every reboot.

You can find the device name of a partition (under Mac OS X 10.4.x at least) by opening /Applications/Utilities/Disk Utility, selecting a partition and choosing File->Get Info.

Jonas

#3 lore raw

Just from my experienc with using CD-ROM under OS X:

say You want partition 1 of disk 5

You dont need the: /dev/disk5s1
But: /dev/rdisk5s1 wich is a raw access

Mike

Quoted 50 lines · Enric Pedascoll Quingles

well, now i have running macosX.4 and i want to start a qemu session with a Debian partition, i know that macos partition is disk0s5 but all other partitions are Debian (swap, root, home ...), i try to boot all the disk /dev/disk0 and select Debian in a yaboot but when i type qemu -hda /dev/disk0, qemu crash

Quoted 23 lines · Jonas Maebe
Quoted 6 lines · Enric Pedascoll Quingles

i try to boot a fisical mac's partition with qemu but i don't obtain good results
i have read in documentation files that the command is:

~#qemu -snapshot -hda /dev/(your disk)

Quoted 9 lines

i try several way with the same result

~#qemu -snapshot -hda /dev/hda
~#qemu -snapshot -hda /dev/disk0
~#qemu -snapshot -hda /dev/hda0s1..s2...s5

and nothing...

Under Mac OS X, partitions are available as /dev/diskXsY and not /dev/ hdXsY. Your boot partition /dev/disk0sY, other disks can get a different number after every reboot.

Quoted 9 lines

You can find the device name of a partition (under Mac OS X 10.4.x at least) by opening /Applications/Utilities/Disk Utility, selecting a partition and choosing File->Get Info.

Jonas

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#4 lore raw

i don't understand very well your answer, but i only want to run all system (powerbookg4 with your all partitions) in a qemu session and then i select in a yaboot menu "Linux Option" and work directli to partition in snapshot file (or without them).

i try with /dev/rdisk0 and /dev/rdisk0s1..s2.. and the same result...qemu do nothing

thanks

Quoted 63 lines · Mike Kronenberg

Just from my experienc with using CD-ROM under OS X:

say You want partition 1 of disk 5

You dont need the: /dev/disk5s1
But: /dev/rdisk5s1 wich is a raw access

Mike

Quoted 50 lines · Enric Pedascoll Quingles

well, now i have running macosX.4 and i want to start a qemu session with a Debian partition, i know that macos partition is disk0s5 but all other partitions are Debian (swap, root, home ...), i try to boot all the disk /dev/disk0 and select Debian in a yaboot but when i type qemu -hda /dev/disk0, qemu crash

Quoted 23 lines · Jonas Maebe
Quoted 6 lines · Enric Pedascoll Quingles

i try to boot a fisical mac's partition with qemu but i don't obtain good results
i have read in documentation files that the command is:

~#qemu -snapshot -hda /dev/(your disk)

Quoted 9 lines

i try several way with the same result

~#qemu -snapshot -hda /dev/hda
~#qemu -snapshot -hda /dev/disk0
~#qemu -snapshot -hda /dev/hda0s1..s2...s5

and nothing...

Under Mac OS X, partitions are available as /dev/diskXsY and not /dev/ hdXsY. Your boot partition /dev/disk0sY, other disks can get a different number after every reboot.

Quoted 9 lines

You can find the device name of a partition (under Mac OS X 10.4.x at least) by opening /Applications/Utilities/Disk Utility, selecting a partition and choosing File->Get Info.

Jonas

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel