Re QuickStartGuide on QEMU Wiki
Here is a super short addition you might want to add to the QuickStartGuide page, stolen from someone's posting in the Forums. Feel free to edit as I am a newbie here myself. Sorry I couldn't properly respond to the original post in this thread but I've just joined the list.
== Linux Guest on Linux Host ==
Create an empty 3 GB image file. You will be installing into this:
{{{
qemu-img create mylinux.raw 3G
}}}
Install from a downloaded iso file:
{{{
qemu -hda mylinux.raw -cdrom /dev/cdrom -boot d -net user -m 256 }}}
Run the installation:
{{{
qemu -hda mylinux.raw -cdrom /dev/cdrom -boot c -net user -m 256 }}}
-------------------
Andrew Malcolmson
Quoted 1 line
qemu -hda mylinux.raw -cdrom
/dev/cdrom-boot d -net user -m 256
This is wrong. "-net user" by itself won't give you a working network. You need to specify "-net nic -net user" (this is the default if no -net options are given).
Paul
Quoted 2 lines · Andrew Malcolmson
Here is a super short addition you might want to add to the QuickStartGuide page,
A Wiki is something anybody can add improvements himself ;)
Quoted 1 line
Create an empty 3 GB image file. You will be installing into this:
a)
Quoted 3 lines
{{{
qemu-img create mylinux.raw 3G
}}}
b)
Quoted 5 lines
Install from a downloaded iso file:
{{{
qemu -hda mylinux.raw -cdrom/dev/cdrom-boot d -net user -m 256 }}}
c)
Quoted 5 lines
Run the installation:
{{{
qemu -hda mylinux.raw -cdrom/dev/cdrom-boot c -net user -m 256 }}}
Mmh, sorry, but I didn't get the point here. What is the key difference between the things above and
- your step (a) and QuickStartGuide step 2: creation of blank disk image:
qemu-img create -f qcow c.img 3G
- your step (b) and QuickStartGuide step 3b: suppose you have an install iso image, called my_os_install.iso. Then run:
qemu -cdrom my_os_install.iso -hda c.img -m 256 -boot d
already in QuickStartGuide?
Your step (c) is an extension of QuickStartGuide's "qemu -hda c.img -m 256" which I think can be done by anybody who understands the basics of QuickStartGuide on his own.
Let us keep the QuickStartGuide simple and easy and don't explain every possible variant. For this anybody can use
http://fabrice.bellard.free.fr/qemu/qemu-doc.html
Regards
Dirk