Article 5SGPM Resize boot partition, transfer free space from other partition

Resize boot partition, transfer free space from other partition

by
Superblond
from LinuxQuestions.org on (#5SGPM)
Hey Forum!

I am looking for help with the following problem!

I'm running a NAS with Openmediavault and now found that the default partitioning that was done at some point during the installation is running full.

attachment.php?attachmentid=37790&d=1638

Code:root@NAS:/# df -h
Dateisystem Gre Benutzt Verf. Verw% Eingehngt auf
udev 3,9G 0 3,9G 0% /dev
tmpfs 798M 45M 753M 6% /run
/dev/sda1 20G 19G 850M 96% /
tmpfs 3,9G 0 3,9G 0% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
tmpfs 3,9G 28K 3,9G 1% /tmp
/dev/sda9 13G 6,4G 5,8G 53% /var
/dev/sda8 62G 1,9G 57G 4% /home
/dev/sdc1 3,6T 120G 3,5T 4% /srv/dev-disk-by-uuid-45da65c8-60ec-4e95-921f-023408daa0ba
/dev/sdb1 5,5T 3,4T 2,1T 62% /srv/dev-disk-by-label-Video
https://webdav.magentacloud.de 1,3T 763G 509G 61% /srv/3123f855-2185-4fb4-b0ce-6d3353964dcb
tmpfs 798M 0 798M 0% /run/user/0Code:root@NAS:/# fdisk -l
Disk /dev/sdc: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: WDC WD40EFRX-68N
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 8A4466DA-28B1-4007-9E26-4B9B514EFF9E

Device Start End Sectors Size Type
/dev/sdc1 2048 7814037134 7814035087 3,7T Linux filesystem

Disk /dev/sdb: 5,5 TiB, 6001175126016 bytes, 11721045168 sectors
Disk model: WDC WD60EZRZ-00G
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: C4BE9E7D-F90A-44E2-A7F8-268EF0EB5C0D

Device Start End Sectors Size Type
/dev/sdb1 2048 11721045134 11721043087 5,5T Linux filesystem

Disk /dev/sda: 111,8 GiB, 120034123776 bytes, 234441648 sectors
Disk model: KINGSTON SA400S3
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: dos
Disk identifier: 0xa43e61ef

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 41281535 41279488 19,7G 83 Linux
/dev/sda2 41283582 234440703 193157122 92,1G 5 Extended
/dev/sda5 41283584 55691263 14407680 6,9G 83 Linux
/dev/sda6 55693312 64081919 8388608 4G 82 Linux swap / Solaris
/dev/sda7 72466432 75040767 2574336 1,2G 83 Linux
/dev/sda8 75042816 207110143 132067328 63G 83 Linux
/dev/sda9 207112192 234440703 27328512 13G 83 LinuxI would now like to move (as in the picture) space, specifically from /dev/sda2 to /dev/sda1 .

Although I had booted Gparted via a stick, I have not managed to increase sda1, or shrink sda2 beforehand to gain space.

Would anyone have a step by step guide for me!!!?

Many thanks & greetings
SB
Attached Thumbnailsattachment.php?attachmentid=37790&stc=1& latest?d=yIl2AUoC8zA latest?i=eYszi4rcgdI:DbLhjQ1TpwA:F7zBnMy latest?i=eYszi4rcgdI:DbLhjQ1TpwA:V_sGLiP latest?d=qj6IDK7rITs latest?i=eYszi4rcgdI:DbLhjQ1TpwA:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments