On 06.12.2008, at 16:19, Dave Bauer wrote:

> On Wed, Dec 3, 2008 at 11:43 AM, Bert Freudenberg <[EMAIL PROTECTED] 
> > wrote:
>
> (*)
> Now to the hoops:
>
> * I started with the 767/ext3 image from
>   http://download.laptop.org/xo-1/os/official/
> * extended to 2 GB by appending /dev/zero
>   (jffs2 compression gives roughly 2 GB too)
> * enlarged the partition to full 2 GB
>   (using fdisk and ext2resize)
>
> Hi, I want to try this with virtualbox. I can't seem to get the disk  
> image size extension working.
> Can you share the actual commands you used to do this?


Off the top of my head ...

dd if=/dev/zero bs=1048576 count=1234 >> os.img
(don't remember actual count)
put os.img as /dev/sdb in the F10 VM
fdisk /dev/sdb
set units to B (bytes), print old partion table, note old start,  
delete first and only partition, make new partition from old start to  
100%, write, quit
ext2resize /dev/sdb1


- Bert -


_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to