LSDK 19.03: How to add swap partition on flex-installer command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LSDK 19.03: How to add swap partition on flex-installer command

Jump to solution
794 Views
ohara
Contributor I

I'm trying to install LSDK 19.03 images to 8GByte(7.2GiB) SD card with flex-installer command,

$> flex-installer -b ../bootpartition_LS_arm64_lts_4.19.tgz -r build/images/rootfs_lsdk_19.03_LS_arm64_201904161757.tgz -d /dev/mmcblk0

this command automatically makes three(3) partitions on SD card as follows,

  mmcblk0p1   23.2M /EFI

  mmcblk0p2  1G /boot

  mmcblk0p3  6.1G /rootfs

There is no swap partition.

How to add swap partition on this SD-Card?

Labels (1)
0 Kudos
1 Solution
676 Views
Pavel
NXP Employee
NXP Employee

See the following page about creation swap partition:

https://www.thegeekdiary.com/how-to-add-swap-space-in-linux/

 

Draw attention that damage SD card is possible since. SD card can be written approximately only 100,000 times.

Look at also the following pages:

https://askubuntu.com/questions/488033/is-having-swap-on-hard-drive-or-sd-card-better

 

https://www.raspberrypi.org/forums/viewtopic.php?t=2813

 


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
677 Views
Pavel
NXP Employee
NXP Employee

See the following page about creation swap partition:

https://www.thegeekdiary.com/how-to-add-swap-space-in-linux/

 

Draw attention that damage SD card is possible since. SD card can be written approximately only 100,000 times.

Look at also the following pages:

https://askubuntu.com/questions/488033/is-having-swap-on-hard-drive-or-sd-card-better

 

https://www.raspberrypi.org/forums/viewtopic.php?t=2813

 


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos