I have configured a Pi 3 with a gungho pidrive USB-connected 128GB SSD. I started with a 16GB microSD card and used the latest Raspbian Jesse image. All works well once I followed the adafruit guide to switching root to be mounted on the SSD. On boot, root shows 101G available and all is well.
(As others have noted the install procedure provided by the manufacturer does not work which is why I'm doing this method.)
But the pidrive came with a no-label, smaller microSD card to use as boot drive. No need to waste my 16GB card if all it ever reads is a FAT32 boot partition, I could use that in another Pi. So I formatted the small drive as FAT32, copied all of the contents of the FAT32 from the original drive to the small drive and switched them.
On boot everything broke. And I think it is because
/etc/fstab refers to the boot drive by UUID and obviously that is different with a different microSD. I understand this is to stop the Pi assigning something else as
/dev/mmcblk0p1 and screwing everything up... but there is only one microSD card slot and I am unlikely to ever add another.
What is going to break if I boot the 16GB original microSD, change /etc/fstab (which is actually on the SSD so this will persist once cards are swapped) to refer to
/dev/mmcblk0p1, and then put the smaller card back in? I was going to do this at the root prompt when it booted with problems after the first swap attempt. And if that boots, is it important to put the correct UUID of the microSD back in there or just leave it as the device?
I don't know enough Linux to know if there is anything else that could need changing or if this will cause any other problems.
cmdline.txt (manually edited, cut & pasted the UUID from gdisk):
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=8E6F279C-5B82-4069-AE49-94B6BCA57424 rootdelay=5 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
proc /proc proc defaults 0 0 PARTUUID=955146da-01 /boot vfat defaults 0 2 PARTUUID=955146da-02 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that
With /etc/fstab changed to
proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/sda1 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that
everything seems to work fine with no boot complaints. I am a little uneasy about the /dev/sda1 entry still. Is this going to be OK in the long run?