syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
400 stars 40 forks source link

broken boot_extend.sh (23.06 image) #686

Closed cyberb closed 1 year ago

cyberb commented 1 year ago
/snap/platform/current/bin/boot_extend.sh
Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra 227099469 blocks) or continue with the current setting? 
Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra 227099469 blocks) or continue with the current setting? 
/snap/platform/current/bin/boot_extend.sh: line 13: awk: command not found
GPT PMBR size mismatch (7342178 != 234441647) will be corrected by write.
The backup GPT table is not on the end of the device. This problem will be corrected by write.

Welcome to fdisk (util-linux 2.33.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

GPT PMBR size mismatch (7342178 != 234441647) will be corrected by write.
The backup GPT table is not on the end of the device. This problem will be corrected by write.

Command (m for help): 

Command (m for help): 
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Disk model: ADATA SP550     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 8948DE21-EA63-40ED-8B30-7965616EEE40

Device       Start     End Sectors  Size Type
/dev/sda1     2048 1050623 1048576  512M EFI System
/dev/sda2  1050624 7342080 6291457    3G Linux filesystem

Command (m for help): Partition number (1,2, default 2): 
Partition 2 has been deleted.

Command (m for help): Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Disk model: ADATA SP550     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 8948DE21-EA63-40ED-8B30-7965616EEE40

Device     Start     End Sectors  Size Type
/dev/sda1   2048 1050623 1048576  512M EFI System

Command (m for help): Partition number (2-128, default 2): Value out of range.
Partition number (2-128, default 2): First sector (1050624-234441614, default 1050624): Last sector, +/-sectors or +/-size{K,M,G,T,P} (1050624-234441614, default 234441614): Value out of range.
Last sector, +/-sectors or +/-size{K,M,G,T,P} (1050624-234441614, default 234441614): Last sector, +/-sectors or +/-size{K,M,G,T,P} (1050624-234441614, default 234441614): Last sector, +/-sectors or +/-size{K,M,G,T,P} (1050624-234441614, default 234441614): Last sector, +/-sectors or +/-size{K,M,G,T,P} (1050624-234441614, default 234441614): 
Created a new partition 2 of type 'Linux filesystem' and of size 111.3 GiB.
Partition #2 contains a ext4 signature.

Command (m for help): 
Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra 227099469 blocks) or continue with the current setting? 
resize2fs 1.44.5 (15-Dec-2018)
The filesystem is already 786432 (4k) blocks long.  Nothing to do!