I was running my Pi 4 from a 128GB Samsung EVO Plus microSd card and planning to re-image my 240GB SSD that had been used on the Pi 3B+ later when the USB boot had been sorted. But I noticed a few performance issues with the microSD, and decided to try it sooner.
So yesterday I followed the old instructions, and imaged the SSD using etcher, then imaged an old Sandisk ultra 16GB card that was not being used and followed the directions to modify the cmdline.txt - and it didn't work.
I had ended up with something like a 7GB SSD, but I figured I could ignore the unallocated space and do a resize later with gparted or something, then once it was booting (initiaalised from the microSD) I would just copy all my /home/pi stuff over..
I tried a couple of other things which also failed. Then I read a supposedly 'simple' method, and used SD Card Copied from the Accessories menu.
Once I modified the UUID for the root file system, the thing booted immediately and lo and behold, my personal desktop layout and all the icons for my shell scripts were in their panel.
So I opened the file manager, expecting to see the SSD listed as 128GB total, since it was cloned from the microSD card.
I was pleasantly surprised to see Free Space of about 192GB and Total Space of 218GB, which is about right because the WD 240GB SSD always reports 220GB. My guess is there might be some sort of redundant space for maintenance or whatever.
Anyway, no need to resize anything. And everything has been working brilliantly.
So for anyone holding off setting up their SSD because they are waiting for firmware or something to change - I reckon it's probably not worth the wait, because I doubt the start time to a usable screen is more than 2 seconds different.
Performance seems about average, but considerably faster than the microSD.
pi@raspberrypi:~ $ sudo hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1542 MB in 2.00 seconds = 770.55 MB/sec
Timing buffered disk reads: 874 MB in 3.00 seconds = 290.88 MB/sec
pi@raspberrypi:~ $
Which was great until I read this post:
https://www.raspberrypi.org/forums/view ... d#p1488304
Where it said:
'... if needed), and edit /etc/fstab to mount the SD card as /boot, so that kernel and firmware updates are properly applied.'
So I commented out the line with the SSD /boot UUID on it, and replaced it with the UUID of /boot on the SD card. Saved ad did a reboot.
And got a Windows Blue Screen Of Death! Well, that's what it looked like. Powered off for a few seconds and powered on, and the Pi was up and running. Tried it a few times with the same result.
So I edited /etc/fstab and removed the new line, and the # in front of the old one. Tried reboot, and same problem.
Now, I only changed one line from this:
proc /proc proc defaults 0 0
PARTUUID=b2fbcf8a-01 /boot vfat defaults 0 2
PARTUUID=b2fbcf8a-02 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
to This:
proc /proc proc defaults 0 0
#PARTUUID=b2fbcf8a-01 /boot vfat defaults 0 2
PARTUUID=5e3da3da-01 /boot vfat defaults 0 2
PARTUUID=b2fbcf8a-02 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
5e3da3da-01 is /boot on the microSD
b2fbcf8a-01 is /boot on the SSD
b2fbcf8a-02 is root on the SSD
I would have thought reverting to the original fstab should return my reboot function to normal.
If someone knows a reason it doesn't, please let me know.
If someone can confirm that next time I do this I should NOT edit fstab so the /boot of the microSD card is mounted, that would be great too.
It was working quite nicely using /boot on the SSD
For now, until I decide to reimage the SSD I will just use the power switch in to reboot.