Emulating 8.2-767

Bert Freudenberg bert at freudenbergs.de
Sat Dec 6 10:55:50 EST 2008


On 06.12.2008, at 16:49, Bert Freudenberg wrote:

> On 06.12.2008, at 16:19, Dave Bauer wrote:
>
>> On Wed, Dec 3, 2008 at 11:43 AM, Bert Freudenberg <bert at freudenbergs.de
>>> 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


Forgot to mention - I tried "parted" first but it refused to resize  
the partition, so I had to go with the "scary" fdisk delete way.

Btw, if I had to do it again I'd start with an image that already has  
the activities installed:

http://download.laptop.org/xo-1/custom/g1g1/gg-767-4/

- Bert -





More information about the Devel mailing list