NEW RPi and swapping across a SSD
Posted: Mon 25 Mar 2024 6:27 pm
Apologies for the long message but here goes: (I will be using the GUI to do this if possible)
OLD RPi
Existing RPi (pi) has an external SSD called 'CumulusMX' (all the CMX files and directories run directly from the root of this drive, it is not used for anything else).
It is set to auto mount at boot and CMX also set to start at boot.
The path is 'home/pi/CumulusMX'
NEW RPi
I now have a new RPi4B (pi2) running Bookworm and want to swap the SSD from the old RPi (pi) to the new RPi (pi2). Without any input from me (apart from plugging in and booting up) the SSD auto loads to 'Media/pi2/CumulusMX'. (I would like it to match the old RPi i.e 'home/pi/CumulusMX).
Should I manually create a new directory under 'home/pi2/CumulusMX', then run 'sudo mount /dev/sda1 /mnt/pi2/CumulusMX'
Do i need to amend the fstab code with the uuid details?
Do i need to unmount the drive on the new RPi before doing any of this?
Am I way off the mark, or just accept this 'Media/Pi2/CumulusMX' location on the new RPi?
EDIT —- having spent some time looking this up on’t tinternet I’ll probably leave it in the Media/pi2 folder. Seems like the easiest option — EDIT
Thanks for looking
Martyn
OLD RPi
Existing RPi (pi) has an external SSD called 'CumulusMX' (all the CMX files and directories run directly from the root of this drive, it is not used for anything else).
It is set to auto mount at boot and CMX also set to start at boot.
The path is 'home/pi/CumulusMX'
NEW RPi
I now have a new RPi4B (pi2) running Bookworm and want to swap the SSD from the old RPi (pi) to the new RPi (pi2). Without any input from me (apart from plugging in and booting up) the SSD auto loads to 'Media/pi2/CumulusMX'. (I would like it to match the old RPi i.e 'home/pi/CumulusMX).
Should I manually create a new directory under 'home/pi2/CumulusMX', then run 'sudo mount /dev/sda1 /mnt/pi2/CumulusMX'
Do i need to amend the fstab code with the uuid details?
Do i need to unmount the drive on the new RPi before doing any of this?
Am I way off the mark, or just accept this 'Media/Pi2/CumulusMX' location on the new RPi?
EDIT —- having spent some time looking this up on’t tinternet I’ll probably leave it in the Media/pi2 folder. Seems like the easiest option — EDIT
Thanks for looking
Martyn