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

Post here if you are a new Porteus member and you're looking for some help.
rab135
White ninja
White ninja
Posts: 4
Joined: 27 May 2019, 20:13
Distribution: Porteus 4.0

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

Post#1 by rab135 » 11 Jun 2019, 19:12

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
Last edited by Ed_P on 12 Jun 2019, 16:38, edited 1 time in total.
Reason: Marked Solved.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Permanent Mount Point for save.dat possible?

Post#2 by Ed_P » 11 Jun 2019, 21:45

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"
Ed

rab135
White ninja
White ninja
Posts: 4
Joined: 27 May 2019, 20:13
Distribution: Porteus 4.0

Permanent Mount Point for save.dat possible?

Post#3 by rab135 » 12 Jun 2019, 13:59

Works, Thanks! :good:

Post Reply