SOLVED - save.dat issues

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
Englischdude
White ninja
White ninja
Posts: 9
Joined: 02 May 2015, 20:21
Distribution: LM 17.1, Porteus 3 Mate
Location: Bregenz, Austria

SOLVED - save.dat issues

Post#1 by Englischdude » 20 May 2015, 14:11

Hi,

i am having some issues with saving to my save.dat. Everytime I go through the process there are a number of error messages which appear. my system is in german hence one of the messages being in german.

Here is the procedure I use:

- under system - system settings open the save manager
- select save to existing file and I navigate to the save.dat
- now when I click save session I get various error messages before at the end getting a window telling me that the session was successfully saved, however a reboot results in the loss of the changes.

Here the error messages:

1st message: Einhängen von Datenträger 537mb nicht möglich, Device /dev/loop12 is already mounted at `/mnt/loopsave'.

2nd message: Error mounting /dev/loop12 at /run/media/root/98ad0b3c-4ab2-4f75-a62e-3a8be233047e: Command-line `mount -t "xfs" -o "uhelper=udisks2,nodev,nosuid" "/dev/loop12" "/run/media/root/98ad0b3c-4ab2-4f75-a62e-3a8be233047e"' exited with non-zero exit status 32: mount: block device /dev/loop12 is write-protected, mounting read-only
mount: /dev/loop12: can't read superblock

3rd message: confirming my session has been saved to /mnt/mmcblk0p1/porteus/save.dat



any help would be appreciated.
Last edited by Englischdude on 23 May 2015, 08:39, edited 2 times in total.

Englischdude
White ninja
White ninja
Posts: 9
Joined: 02 May 2015, 20:21
Distribution: LM 17.1, Porteus 3 Mate
Location: Bregenz, Austria

Re: save.dat issues

Post#2 by Englischdude » 20 May 2015, 14:39

and here some more info to help with the diagnosis:

root@porteus:~# cat /var/log/porteus-livedbg /proc/cmdline
# Recognized devices:
/dev/sda1: LABEL="System-reserviert" UUID="F08C806B8C802E62" TYPE="ntfs"
/dev/sda2: UUID="86E283AAE2839CD5" TYPE="ntfs"
/dev/mmcblk0p1: LABEL="USB-Stick" UUID="27af9fc6-7150-4128-bd87-88ff55ff2632" TYPE="ext4"

# Booting device:
/mnt/mmcblk0p1

# Porteus data found in:
/mnt/mmcblk0p1/porteus

# Changes are stored in:
memory

# Non standard /rootcopy dir:
none

# Modules activated during boot time:
/mnt/mmcblk0p1/porteus/base/000-kernel.xzm
/mnt/mmcblk0p1/porteus/base/001-core.xzm
/mnt/mmcblk0p1/porteus/base/001-core_alldesktops-150124.xzm
/mnt/mmcblk0p1/porteus/base/002-xorg.xzm
/mnt/mmcblk0p1/porteus/base/002-xorg_alldesktops-150126.xzm
/mnt/mmcblk0p1/porteus/base/003-mate.xzm
/mnt/mmcblk0p1/porteus/base/004-mate_fixes-150124.xzm
/mnt/mmcblk0p1/porteus/base/0099-settings.xzm
/mnt/mmcblk0p1/porteus/base/04-firefox.xzm
/mnt/mmcblk0p1/porteus/base/06-abiword.xzm
/mnt/mmcblk0p1/porteus/base/08-skype.xzm
/mnt/mmcblk0p1/porteus/modules/locales-de_DE.utf8-i486-1prt.xzm
quiet initrd=initrd.xz changes=/porteus timezone=Europe/Zurich kmap=de,us login=root BOOT_IMAGE=vmlinuz

W8nGGh0sT
Ronin
Ronin
Posts: 2
Joined: 20 May 2015, 11:22
Distribution: V3.1-i486
Location: Rio de Janeiro

Re: save.dat issues

Post#3 by W8nGGh0sT » 20 May 2015, 15:57

Sorry, but i did not recognized your point.
Are u trying to make a partition NFTS for a new installation ?
I've donne something like that to install Porteus to hard drive, and i used a Porteus tool that runs in "Always Fresh" mode.
I remember that Porteus has asked me to try do a save.dat before install :cry:
In any case there is http://www.porteus.org/info/tips-and-tricks.html#2

C yah

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

Re: save.dat issues

Post#4 by fanthom » 20 May 2015, 18:11

this is wrong:

Code: Select all

changes=/porteus
you should point it to your save.dat (if it was created properly).
Please add [Solved] to your thread title if the solution was found.

Englischdude
White ninja
White ninja
Posts: 9
Joined: 02 May 2015, 20:21
Distribution: LM 17.1, Porteus 3 Mate
Location: Bregenz, Austria

Re: save.dat issues

Post#5 by Englischdude » 20 May 2015, 19:34

oh je, now I have even bigger fish to fry. Cant even boot from the SD Card even though I have changed nothing. Now when I boot I just get a black Screen prompt stating something like no Default or UI directive found or something. Will do a fresh install when I get home from my travels tomorrow on a new sd Card and see if that solves the Problem.

stuck on stupid
White ninja
White ninja
Posts: 22
Joined: 22 May 2015, 11:00
Distribution: 3.01
Location: USA-FLORIDA

Re: save.dat issues

Post#6 by stuck on stupid » 22 May 2015, 11:13

What mode did you boot into standard desktop or always fresh/ram? It looks like the you usb is in ready only mode.

Englischdude
White ninja
White ninja
Posts: 9
Joined: 02 May 2015, 20:21
Distribution: LM 17.1, Porteus 3 Mate
Location: Bregenz, Austria

Re: save.dat issues

Post#7 by Englischdude » 22 May 2015, 13:12

So, seems like the sd card i was using has used up its service life. I just installed the iso on a new card using rufus and all is fine. I still have some elementary newbie questions concerning saving.

1. What is the difference between saving to a file and saving to a module?
2. I have setup my save.dat file using the manager and changed porteus.cfg accordingly. Are all changes saved automatically? At the moment if i make any changes i always go to save session and save to my save.dat file before shutting down and clicking on remove previous changes. Is that the right procedure?
3. When saving the session as detailed in point 2 i get a message saying that the available space in root filesystem is limited.
4. My save.dat file is growing. I originally set it up as 512mb but now is more than 600. should all changes not be contained within the 512mb limit originally set up?

I would appreciate some clarification as to the use of the save function.
Many thanks.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5504
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: save.dat issues - UPDATED

Post#8 by brokenman » 22 May 2015, 17:54

Glad you got it sorted.

1. What is the difference between saving to a file and saving to a module?
Saving to a file creates a .dat file which supports encryption. Saving to a module does not.

2. I have setup my save.dat file using the manager and changed porteus.cfg accordingly. Are all changes saved automatically? At the moment if i make any changes i always go to save session and save to my save.dat file before shutting down and clicking on remove previous changes. Is that the right procedure?
Changes are saved automatically.

3. When saving the session as detailed in point 2 i get a message saying that the available space in root filesystem is limited.
The root file system is a live file system and is limited by your RAM. If you are booting with the changes= and saving to disk this is not the case. It should be noted that a 'save file' is only required when saving on a FAT32/NTFS file system. Whenever possible you should ormat your install media with a linux file system and instead of using a .dat file just save to a folder on the device.

4. My save.dat file is growing. I originally set it up as 512mb but now is more than 600. should all changes not be contained within the 512mb limit originally set up?
Your save file can be stripped of many things but it is hard for another person to know what to strip.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Englischdude
White ninja
White ninja
Posts: 9
Joined: 02 May 2015, 20:21
Distribution: LM 17.1, Porteus 3 Mate
Location: Bregenz, Austria

Re: save.dat issues - UPDATED

Post#9 by Englischdude » 23 May 2015, 08:38

solved.

managed to get a fresh install working with a ext3 file system. The reason I was using fat was I was having problems getting a linux install to work.

All saving is done automatically, all working as expected.

User avatar
francois
Contributor
Contributor
Posts: 4990
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: SOLVED - save.dat issues

Post#10 by francois » 24 May 2015, 05:10

Very good decision. Porteus is Linux, and ext3 is Linux filesystem, the match is as best as it could be. 8)
Voltaire: Le mieux est l'ennemi du bien.

Post Reply