Skip to contentSkip to conversation

Is it easy to support booting off real harddrive?

Qemu-devel n schembr 1 participant 1 message Sep 25, 2007

lore
Share & tools
lore

n schembr

author
#0 lore raw

----- Original Message ----
From: naruto canada <[email protected]>
To: [email protected]
Sent: Monday, September 24, 2007 4:45:46 AM
Subject: [Qemu-devel] Is it easy to support booting off real harddrive?

hi

Is it easy to support booting off real harddrive?
Thanks

----------------------

This is the way I boot my remote systems.

# use raw disk    -hda /dev/sdc
#  use image file -hda hda1.img 

qemu -kernel-kqemu -boot c -hda /dev/sdc -m 128 -net nic,vlan=0 -net tap,vlan=0,ifname=fwRed -net nic,vlan=1 -net tap,vlan=1,ifname=fwGreen -hdb hd256M.img

If I need to I can move this disk to /dev/sda and boot it on real hardware. It works great on linux.