OpenWrt Forum Archive

Topic: Creating additinal partition

The content of this topic has been archived on 3 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

This could be very trivial but i couldn't find any solution so far. I'm using openwrt on some PCEngines ALIX boad with 1gb CF. In my application i need to log some data. At the moment I'm creating an ext image that is 500Mb. However this approach is quite uncomfortable since i need sever around 300s to burn the image on the CF (using dd). The problem is that at the moment I've making several change to the software so I need to burn the CF many times.

Is there anybody on the forum that had the same problem? If so any hint to the solution is appreciated.

Thanks
R.

How does the time to transfer the image to the CF-Card relate to the thread topic?
If you want an additional partition on the CF, create it with fdisk.
Additionally, use a faster CF, card reader and/or USB 2.0 to decrease transfer time.

But anyway, I wouldn't use openwrt on an ALIX board, as long as there is no simple way to install upgrades and security fixes (if those fixes are available!).
I have mine running ubuntu server (with a generic kernel!), and there's enough RAM and CPU for it.
And upgrades are as simple as "aptitude update; aptitude full-upgrade" :-)

MMCM wrote:

How does the time to transfer the image to the CF-Card relate to the thread topic?

Uhm maybe it wasn't that clear I agree. Basically at the moment i need to set a big partition size in the openwrt image parameters section. As a result the disk image is big (500mb) and then the time to burn the image on the CF is very long.

Since the data partition is empty it seems to me a waste of time to have such a big image.

MMCM wrote:

If you want an additional partition on the CF, create it with fdisk.

If this is the only way i think that I will execute a script at boot time that creates the new partition and mount it.

MMCM wrote:

How does the time to transfer the image to the CF-Card relate to the thread topic?

Uhm maybe it wasn't that clear I agree. Basically at the moment i need to set a big partition size in the openwrt image parameters section. As a result the disk image is big (500mb) and then the time to burn the image on the CF is very long.

Since the data partition is empty it seems to me a waste of time to have such a big image.

MMCM wrote:

If you want an additional partition on the CF, create it with fdisk.

If this is the only way i think that I will execute a script at boot time that creates the new partition and mount it.

The discussion might have continued from here.