Hi Ard,

Thanks for your reply.

I want to expand the available disk space inside the foundation model, so may be the second option you provided will accomplish that. Is that right?
Currently the default is 8GB.

In the command "cat <old-file> /dev/zero | dd of=<new-file> count=16384 bs=1m" what is old-file and new-file?

I am using the following command to start the foundation model:
---------------------------------------------------------------------------------------------------
anilss@anilss:~/Linaro/tools/Foundation_v8pkg/models/Linux64_GCC-4.1$ ./Foundation_v8 --mbedded_lamp-armv8_20130719-403.img --network=nat --network-nat-ports=8022=22
terminal_0: Listening for serial connection on port 5000
terminal_1: Listening for serial connection on port 5001
terminal_2: Listening for serial connection on port 5002
terminal_3: Listening for serial connection on port 5003
Simulation is started
-----------------------------------------------------------------------------------------------------

Could I not add some switch to this command to increase my disk space?

Thanks,
Anil


On 30 January 2014 12:59, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
On 30 January 2014 04:50, Anil Singhar <anil.singhar@linaro.org> wrote:
> Does anyone know how to increase the disk size on Foundation Model?
>
> For some reason, the network connectivity to the foundation model (via ssh
> localhost) doesn't work reliably. So my earlier attempts to mount my host
> computer's drive and get things done  doesn't work reliably either. Now I am
> stuck with the initial 8GB or so hard disk on the foundation model which is
> insufficient for any meaningful work.
>

Hi Anil,

You should be able to run gparted on the filesystem image directly.
That allows you to resize partitions inside the filesystem image (if
there is free space left in the partition table)

If you need to grow the file itself, you can do something like

cat <old-file> /dev/zero | dd of=<new-file> count=16384 bs=1m

to make a copy of your old file padded to 16 GB.

Regards,
Ard.