Page 1 of 1

Increasing the liveUSB storage size?

Posted: Sun Mar 03, 2019 20:46
by koesherbacon
Hi Sabayonders. I'm hoping someone can tell me if there's a way to increase the storage space when testing out the liveUSB. On Arch, this can be increased by using this kernel operator when fist booting up: 'cow_spacesize=16G'. It can also be done on the fly with this command:

Code: Select all

sudo mount -o remount,size=16G /run/archiso/cowspace
Using 'pydf' I see that the storage space is called 'LiveOS_rootfs' but I can't figure out where it's actually mounted. Does anyone know of the quivelent kernel parameter or command for Sabayon?

Thanks a bunch!

Re: Increasing the liveUSB storage size?

Posted: Thu Mar 21, 2019 11:07
by Fitzcarraldo
I have not tried with a LiveUSB, but when using a LiveDVD ISO in a VM under VirtualBox, the following apparently works to increase the size of the Live root partition:

Code: Select all

sabayon ~ # blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: SEC_TYPE="msdos" UUID="0775-7E71" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="8fa19cd5-2c87-4d98-9b47-8bf67406eaf2"
/dev/sda2: UUID="2ce47def-9c1d-4f10-bd8f-b5bf5f8bf6b4" TYPE="ext4" PARTUUID="d6c637fb-c21b-4a1d-8a54-f991e423ce1b"
/dev/sda3: UUID="RpVW8z-TDQU-jUkQ-p8ns-VdTA-UWhY-u0QLBK" TYPE="LVM2_member" PARTUUID="61b6a198-6060-4d1b-858e-1f876e79bfe9"
/dev/sr0: UUID="5acfaf7600039fde" LABEL="Sabayon Xfce" TYPE="udf" PTUUID="5779b13e" PTTYPE="dos"
sabayon ~ # df -h
Filesystem      Size  Used Avail Use% Mounted on
none            488M  912K  487M   1% /run
udev             10M     0   10M   0% /dev
tmpfs           488M     0  488M   0% /dev/shm
overlay         488M   45M  443M  10% /
none            488M   45M  443M  10% /mnt/overlay
/dev/loop0      2.0G  2.0G     0 100% /mnt/livecd
/dev/sr0        2.1G  2.1G     0 100% /mnt/cdrom
tmpfs           488M     0  488M   0% /sys/fs/cgroup
tmpfs           488M  8.0K  488M   1% /tmp
Public          916G  417G  499G  46% /media/sf_Public
none            488M     0  488M   0% /usr/lib64/opengl/nvidia
tmpfs            98M  8.0K   98M   1% /run/user/1000
sabayon ~ # umount Public
sabayon ~ # df -h
Filesystem      Size  Used Avail Use% Mounted on
none            488M  912K  487M   1% /run
udev             10M     0   10M   0% /dev
tmpfs           488M     0  488M   0% /dev/shm
overlay         488M   45M  443M  10% /
none            488M   45M  443M  10% /mnt/overlay
/dev/loop0      2.0G  2.0G     0 100% /mnt/livecd
/dev/sr0        2.1G  2.1G     0 100% /mnt/cdrom
tmpfs           488M     0  488M   0% /sys/fs/cgroup
tmpfs           488M  8.0K  488M   1% /tmp
none            488M     0  488M   0% /usr/lib64/opengl/nvidia
tmpfs            98M  8.0K   98M   1% /run/user/1000
sabayon ~ # mount -o remount,size=1G /mnt/overlay
sabayon ~ # df -h
Filesystem      Size  Used Avail Use% Mounted on
none            488M  912K  487M   1% /run
udev             10M     0   10M   0% /dev
tmpfs           488M     0  488M   0% /dev/shm
overlay         1.0G   45M  980M   5% /
none            1.0G   45M  980M   5% /mnt/overlay
/dev/loop0      2.0G  2.0G     0 100% /mnt/livecd
/dev/sr0        2.1G  2.1G     0 100% /mnt/cdrom
tmpfs           488M     0  488M   0% /sys/fs/cgroup
tmpfs           488M  8.0K  488M   1% /tmp
none            488M     0  488M   0% /usr/lib64/opengl/nvidia
tmpfs            98M  8.0K   98M   1% /run/user/1000
sabayon ~ #
As you can see above, I increased the size of the Live root partition from 488M to 1.0G.