Howto resize slaxsave.dat 

http://www.slax.org/forum/viewtopic.php?p=80390#80390

> I decided that a bigger one would be useful. But, I had already made lots of
> changes and really didn't want to lose any data.

I believe that the size of slaxsave.dat can be easily increased.

You simply enlarge the slaxsave.dat by zeros (using dd or cat /dev/zero >> slaxsave.dat for a while), and then you use xfs_growfs command to grow the XFS filesystem to fully fit the file size. All data will be preserved.

documented on: May 01, 2007, Tomas

Howto resize slaxsave.dat 

I could not run the xfs_growfs command directly on the slaxsave.dat file. It returned me this error : slaxsave.dat is not a mounted XFS filesystem.

So in order to make it successfull, you just need to restart your Slax without using your slaxsave.dat file. With Slax 6 press tab during the boot splash screen then delete "changes=slax/slaxsave.dat" part of the command, then press enter. After boot is done, mount your slaxsave.dat like this :

Create first a temp mount point :

mkdir /mnt/temp

Then mount your slaxsave.dat like this (I run slax from a usb stick) :

mount -t xfs /mnt/sda1_removable/slax/slaxsave.dat /mnt/temp -o loop

And finally use the xfs_growfs command like this :

xfs_growfs /mnt/temp

Tested with the fresh Slax 6 rc3.

documented on: May 04, 2007, Frederic GROSSE