[Linux] Resize rootfs in boot time or in runtime

cancel
Showing results for 
Search instead for 
Did you mean: 

[Linux] Resize rootfs in boot time or in runtime

284 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

276 Views
Yuri
NXP TechSupport
NXP TechSupport

@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

269 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

255 Views
Yuri
NXP TechSupport
NXP TechSupport

@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

250 Views
Chayma
Contributor III

@Yuri 

Thank you for your support.

Chayma.