An observation:
mloop will not mount a save.dat file if the changes=EXIT: cheatcode is used. Even if the file is not the one specified with the cheatcode and has a different name.
A feature or a shortcoming?
mloop a save.dat file
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: mloop a save.dat file
Interesting. mloop was written some time ago and probably needs updating but I don't think this is a coding problem. I would need to boot using this cheatcode to verify but i don't see why it would care about mounting a save.dat that isn't in use (or one that IS in use for that matter which may be a shortcoming).
It simply issues this command:
It simply issues this command:
Code: Select all
mount -t auto -o loop /path/to/save.dat /mnt/loop
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: mloop a save.dat file
Run as root.
In Always Fresh mode it runs fine.
Code: Select all
mloop /mnt/sda5/porteus/changes/porteussave-b4.dat
using /dev/loop15
Please wait while i gather some info ....
mount: wrong fs type, bad option, bad superblock on /dev/loop15,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
#################################
Your data file has been mounted at:
/mnt/loop
You can unmount it by typing uloop
Here is a list of the files:
Ed
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: mloop a save.dat file
you wont be able to mount save.dat if it was previously mounted by initrd (and this is the case for 'changes=EXIT:' cheat)
this is partially explained here:
http://forum.porteus.org/viewtopic.php? ... 125#p16093
this is partially explained here:
http://forum.porteus.org/viewtopic.php? ... 125#p16093
Please add [Solved] to your thread title if the solution was found.