Expand Your Main Partition With GParted
# Armbian and Raspi OS come with a nice utility to expand your partition (read the Musiclounge installation for more info) but what about Debian/Ubuntu?
# for this distro you need to do it manually but don’t worry
# with the great GParted it’s very easy

# grab the gparted live iso, make a bootable sd card or usb stick to expand your hard drive
https://gparted.org/livecd.php
# so you already created your image disk of MusicLounge audiophile server for amd64 on hard drive, usb stick or SD card
# boot with GParted Live USB key and run GParted (the software should startup automatically)
# select on top-right menu your musiclounge device disk (here it’s /dev/sdc)
# in edition 2023 the root partition is the last.
# so it is very easy, unmount root partition and expand it
# may need to fix the GPT table backup due to the different size of the hard drive.
# if GPT partions table is corrupted, open terminal and fix gpt with
# assuming it is on /dev/sda disk
$ sudo sgdisk -e /dev/sda


# that’s it!
# your MusicLounge Audiophile Server distro is now ready
# however if your root partition is before the swap do the following

# right-click the main partition to unmount musiclounge device
# click the swap partition and right-click to select Resize/Move

# select Align To Cylinder and
# move the partition to the end (or put zero in free space following)
# then click Resize/Move button

# click the main partition and right-click to select Resize/Move
# resize the partition to the end
# then click Resize/Move button


# apply changes
# that’s it!
# your MusicLounge Audiophile Server distro is now ready