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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,622 次查看
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?

标签 (1)
0 项奖励
回复
1 解答
1,504 次查看
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 项奖励
回复
1 回复
1,505 次查看
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 项奖励
回复