Difference between revisions of "User:Larpoux/Setting-up a boot SDCARD for p-boot"

From PINE64
Jump to navigation Jump to search
m (Fxc moved page Setting-up a boot SDCARD for p-boot to User:Larpoux/Setting-up a boot SDCARD for p-boot: Moved to userspace, article is in draft state)
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
# - Resize the hard partition with ''fdisk'' or ''cfdisk'' (''cfdisk'' is really convenient!)
# - Resize the hard partition with ''fdisk'' or ''cfdisk'' (''cfdisk'' is really convenient!)
# - Mount the partition somewhere (/foo)
# - Mount the partition somewhere (/foo)
# - Execute the command :
# - Execute the commands :
<pre>
<pre>
$ df -h
$ df -h

Latest revision as of 14:43, 25 November 2020

Setting up a boot SDCARD for the Multi-boot image with 13 distributions is really simple ... after you realize that the second partition is not ext.fs but a new File System which is called `btrfs`.

Because of this File System,

$ sudo resize2fs /dev/sdXY   # THIS DOES NOT WORK !

(as explain in PinePhone#Resize_file_system ) does not work.


The correct way to resize the File System of the second partition is :

  1. - Resize the hard partition with fdisk or cfdisk (cfdisk is really convenient!)
  2. - Mount the partition somewhere (/foo)
  3. - Execute the commands :
$ df -h
$ btrfs filesystem resize max /foo
$ df -h