Jump to content

Recommended Posts

Posted (edited)

Good day.

I built an image for SDCARD on the rockchip3568 board using the project
from here https://github.com/armbian/build
This framework creates an image for SDCARD, consisting of two
partitions:

1 - boot (Fat32 - 256 MiB)
2 - root file system (ext4)

(all remaining capacity on SDCARD, I use a 16GiB card)
I need a different, custom, file system partition.

How can I make three partitions, for example of these sizes:
1. boot - 256MiB
2. root - 2GiB
3. work - the entire remaining capacity of the SDCARD
while the size of the image file is not all 16GiB,
but 256MiB (boot) + 2Gib (root) + 256MiB (work) = 2.5GiB
and the last partition would take up all the remaining space on the card?

I managed to modify two scripts:
partitioning.sh and rootfs-to-image.sh
and, as I understood, to make the last partition for the entire remaining capacity of the card, when forming the script for marking
partitions for sfdisk (in the partitioning.sh file), you do not need to specify the size
of the partition, which is what I did. However, the desired result did not work.

Can someone help with this problem?
Thanks in advance.

 

Edited by Alexander iLminsky

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines