tech-kern archive

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

Re: device-mapper qemu testing image

On Sun, Jun 22, 2008 at 02:08:02PM +0200, Adam Hamsik wrote:
> run this image with this command
> qemu -hda netbsd.img -hdb disk1.img -hdc disk2.img -m 64  -serial 
> telnet::4556,server,nowait -s

What Adam omitted to say is that you need to create the disk1.img and
disk2.img files for qemu to use.  They do not need to be large and
they can be just a file of zeros so doing:

dd if=/dev/zero of=disk1.img count=40k
dd if=/dev/zero of=disk2.img count=40k

in the same directory you put the netbsd.img file will work fine -
this will give you a pair of 20Mb "disks" to stripe together.

Brett Lymn
The information contained in this email and any attached files is
confidential to BAE Systems Australia. If you are not the intended
recipient, any use, disclosure or copying of this email or any
attachments is expressly prohibited.  If you have received this email
in error, please notify us immediately. VIRUS: Every care has been
taken to ensure this email and its attachments are virus free,
however, any loss or damage incurred in using this email is not the
sender's responsibility.  It is your responsibility to ensure virus
checks are completed before installing any data sent in this email to
your computer."

Home | Main Index | Thread Index | Old Index