Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
QemuNotes
Edit
PageHistory
Diff
Info
LikePages
Here is how IanMcDonald is getting qemu running Linux. Create a disk image like: <verbatim> qemu-img create file1.img 5G </verbatim> which creates an image of 5 Gigabyte. Start qemu as follows: <verbatim> qemu -boot d -cdrom /dev/cdrom -hda hd.img </verbatim> Install the operating system. And then start qemu as below: <verbatim> qemu -hda hd.img -boot c </verbatim> However this created problems getting files in and out so better to create a loopback file system. For more on this see UserModeLinux. !!Qemu and networking Qemu can present a network device to the guest operating system via tuntap.%%% You should boot it like: <verbatim> qemu -boot c -hda hd.img -net nic,model=ne2k_pci -net tap,ifname=tap0,script=/path/to/tunconfig </verbatim> the file tunconfig should contain something like: <verbatim> #!/bin/bash /sbin/ifconfig ${1##/*/} 192.168.1.1 </verbatim> The above command appears to create an NE2K device at address 0xc100, irq 10. !! Hardware information Qemu has a built in console which you can use to get system information.%%% To access the console, use Ctrl-Alt-2 Some commands that may be useful: <verbatim> show pci show network </verbatim>
One page links to
QemuNotes
:
Qemu