[Linux] Resize rootfs in boot time or in runtime

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

[Linux] Resize rootfs in boot time or in runtime

788 Views
Chayma
Contributor III

Hi everyone,

I would like to know if there is a possibility to resize the RootFS  :
- During the boot time
- During the runtime

Note: I am working on iMX8M mini

Thank you in advance.

 

Best regards,

0 Kudos
4 Replies

780 Views
Yuri
NXP Employee
NXP Employee

@Chayma 
Hello,

  It would be better to use special utilities for the resizing, such as parted.
Look at the following document.

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Linux-Binary-Demo-Files-Tips/ta-p/1...

 

Regards,
Yuri.

0 Kudos

773 Views
Chayma
Contributor III

@Yuri 

Hello,

Thank you for your response.

So, the rootfs resizing during the system runtime and during the system boot are not possible ?

Note : I am using the eMMC

759 Views
Yuri
NXP Employee
NXP Employee

@Chayma 
Hello,

   I do not think, that this is good idea to resize rootfs during boot.
At least, I do not know about robust implementations here.

Regards,
Yuri.

0 Kudos

754 Views
Chayma
Contributor III

@Yuri 

Thank you for your support.

Chayma.