How to increase aufs root when change file is used [solved]

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
go2null
White ninja
White ninja
Posts: 25
Joined: 19 Aug 2014, 18:28
Distribution: LXDE-v3.0.1-i486.iso
Location: Canada

How to increase aufs root when change file is used [solved]

Post#1 by go2null » 19 Aug 2014, 22:42

I'm running Porteus LXDE on a machine with 4GB of RAM, using a 4GB save.dat (with approx 3.5G free) and booting from iso.
With this combination, I am running out of free space on the aufs root as it is only using ~1GB for the aufs root.

How can I increase the RAM allocated to the aufs root when using a save.dat changes file?
(Ideally to 100% available - kinda like allowing ramsize=100% even with a save.dat changes file.)

Here are some snippets.

Code: Select all

kernel /boot/syslinux/vmlinuz from=/boot/images/Porteus-LXDE-v3.0.1-i486.iso
=> uses default ramsize=60% of available RAM (4 - 1.4 * 60% ~= 1.6)

Filesystem     Type      Size  Used Avail Use% Mounted on
aufs           aufs      1.6G  3.7M  1.6G   1% /
devtmpfs       devtmpfs  1.4G     0  1.4G   0% /dev
/dev/sdb1      vfat       30G   12G   18G  41% /mnt/sdb1
/mnt/live/run  none      1.4G  1.2M  1.4G   1% /run

Code: Select all

kernel /boot/syslinux/vmlinuz from=/boot/images/Porteus-LXDE-v3.0.1-i486.iso
  changes=/boot/porteus/porteus-lxde-save.dat

Filesystem     Type      Size  Used Avail Use% Mounted on
aufs           aufs      990M  847M   77M  92% /
devtmpfs       devtmpfs  1.4G     0  1.4G   0% /dev
/dev/sdb1      vfat       30G   12G   18G  41% /mnt/sdb1
/mnt/live/run  none      1.4G  1.4M  1.4G   1% /run

Code: Select all

kernel /boot/syslinux/vmlinuz from=/boot/images/Porteus-LXDE-v3.0.1-i486.iso 
  changes=/boot/porteus/porteus-lxde-save.dat
  changes-ro ramsize=100%

Filesystem     Type      Size  Used Avail Use% Mounted on
aufs           aufs      2.7G  7.2M  2.7G   1% /
devtmpfs       devtmpfs  1.4G     0  1.4G   0% /dev
/dev/sdb1      vfat       30G   12G   18G  41% /mnt/sdb1
/mnt/live/run  none      1.4G  1.4M  1.4G   1% /run
Last edited by go2null on 20 Aug 2014, 07:49, edited 1 time in total.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4617
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: How to increase aufs root when change file is used

Post#2 by fanthom » 20 Aug 2014, 05:19

something is wrong.
when changes cheatciode is used then aufs root has the same size as the container/partition where changes are saved. it can be 100GB or 100GB.
if changes-ro is used then aufs root has 60% of your RAM (default value unless changed by ramsize= cheat).

i can bet that your save.dat container is 1GB and not 4GB :)
Please add [Solved] to your thread title if the solution was found.

go2null
White ninja
White ninja
Posts: 25
Joined: 19 Aug 2014, 18:28
Distribution: LXDE-v3.0.1-i486.iso
Location: Canada

Re: How to increase aufs root when change file is used

Post#3 by go2null » 20 Aug 2014, 07:47

Sorry about the noise - you are right that my save.dat was 1GB.

(I now recall that I had only created a 1GB as I was trying out Porteous and had to use slow dd as can't use fallocate on a FAT32 filesystem.)
(I manually created the save file as I wasn't sure what encryption was used by the included stock save file creator.)

Post Reply