qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: Re: Building a disk image?


From: Matt Lawrence
Subject: Re: [Qemu-devel] Re: Re: Building a disk image?
Date: Tue, 5 Jul 2005 15:21:19 -0500

address@hidden wrote on 07/05/2005 02:12:30 PM:

> > I guess I don't don't quite understand how to get the partition table set
> > up correctly with losetup.  It looks like another issue.  Also, how do I
> > get the bootloader configured correctly in a disk image?  I'm still a bit
> > confused.
>
> ok, I'll try to write a step by step method :
>
> ( create a 512 MB disk image )
>
> $ qemu-img create /mnt/emu/test.img 512M
>
> ( use losetup to bind the created file to a block device )
>
> # losetup /dev/loop0 /mnt/emu/test.img

That's what I was doing wrong!  I was trying to use fdisk on test.img.  Thank you, thank you, thank you!!!!

-- Matt


reply via email to

[Prev in Thread] Current Thread [Next in Thread]