Nouvelle vidéo YouTube: Installer Gladys sur Raspberry Pi avec un disque externe SSD (débutant)

Feedback on migrating to SSD

1) Create a disk image of the Gladys SD card
Unplug your Raspberry Pi.
Remove the SD card and put it in your personal computer.
Launch the « Disks » application
Select your SD card then create a disk image
Save it on your computer.
(In my opinion Raspberry Pi Imager with the right options should also be able to perform this operation)


2) Copy the Gladys disk image to the SSD
After connecting the SSD to the Storage Expansion Board, connect it to your personal computer.

Restart the « Disks » application, select your hard drive then restore the disk image
Select the previously created Gladys image and start the restore.

Assemble your case with the Raspberry Pi and the SSD

3) Install USB boot
As @pascal_sapin said, booting with the SD card does not work.
So, like him, I created an SD with Raspberry Pi OS Lite using Raspberry Pi Imager; I had access to the options by clicking the gear icon. I enabled SSH and entered my password then created the SD card.
I disconnected power from my SSD, inserted the Raspberry Pi OS Lite SD card into the Raspberry Pi then powered it on.
I connect via SSH, enter the previously set password then copy the same commands given by @pascal_sapin or the expansion board documentation.

sudo apt-get update
sudo apt-get upgrade
echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt
sudo reboot

We check the changes

vcgencmd otp_dump | grep 17:

The response must contain 3020000a

We shut down the Raspberry Pi

sudo shutdown now

We remove the SD card, reconnect the SSD then start the Raspberry Pi
In my case it takes more than 2 minutes for Gladys to become functional.

4) Extend the partition to the entire SSD
Reconnect via SSH and run

sudo raspi-config

With the down arrow move to 6 Advanced Options

Then Enter

Go to A1 Expand Filesystem

Then Enter

Finally you are informed that the resizing will take effect on next reboot.

Press Enter

Then use the Tab key to move to Finish
Press Enter

Answer Yes

There you go — you have Gladys on your SSD and you didn’t lose any configuration

  • Node-red
  • Zigbee2MQTT

Everything is working.

1 Like