Page 1 of 1

[Solved] Permanent Mount Point for save.dat possible?

Posted: 11 Jun 2019, 19:12
by rab135
Hey there,

I installed Porteus 4.16.3 on a USB drive and created a working save.dat.

I'm not sure how to handle mount points though. When I use the USB drive on different devices the mount point for the drive containing the save.dat changes, depending on how many drives are connected to the machine. e.g. mnt/sdc1/ on my laptop and mnt/sdb1 on my pc.
I assume there's a way to allocate a permanent mount point for the porteus drive and avoid changing the paths when switching machines, but I couldn't find anything helpful - can someone here point me to a tutorial or explain how this might work?

Regards

Permanent Mount Point for save.dat possible?

Posted: 11 Jun 2019, 21:45
by Ed_P
Modify the changes= cheatcode to reference the UUID of the drive.

Something like changes=UUID:931F-8716/porteus/porteussave.dat

To find your drive's UUID try this in a terminal window as root:

blkid | grep -A1 "dev/sd"

Permanent Mount Point for save.dat possible?

Posted: 12 Jun 2019, 13:59
by rab135
Works, Thanks! :good: