@Lolonois said in usb boot from 5tb hdd:
@korn16ftl3 the legacy format is root=/dev/sda1 (or whatever drive and partition holds / (the root filesystem). Same format a la /dev/sda1 goes for /etc/fstab.
FWIW, there is a good reason why the legacy format is discouraged: https://wiki.archlinux.org/title/Persistent_block_device_naming
I haven’t read that link yet but the sda and sdb are all determined by the order of of detection at boot up or order of being plugged if I’m not mistaken so o can understand how this is discouraged and no longer the way to do things.
On a positive note I did get this all working with BOTH the original 5tb and the later 12tb hard drives. The solution…..so it all in Linux. I’ll write a guide here in this thread to help others and maybe a separate one individually so it can be stickied and not follow this trail of confusing stuff?
Long story short I/we were on the right patch to begin with…just don’t use windows to change to gpt for some reason that screw’s it all up.
Simple rundown is as follows:
Write SD boot firmware to SD card with pi imager> boot SD boot firmware sd card in pi >Write retropie image to 2+tb device > write raspberry pi OS to micro SD card > boot raspberry pi OS from SD > ensure all updates and such (use the config editor with the raspberry pi imager to speed up a few things like ssh and WiFi setup) > ensure GParted and gdisk are installed > use gdisk to change hard retropie drive to GPT > use GParted to expand the root file system > check the retropie partitions partuuid in the cmd prompt > edit the cmdline.txt partuuid to match the ones you just looked up > mount the root drive for the retropie storage device with cmd prompts > load the FStab with nano > edit both partitions partuuid to the corresponding ones you just found > unmount > attempt boot
It does give some errors upon the first boot after this process and scans the hard drive and says it’s in emergency mode because it can’t boot the kernel. Just let the hard drive finish its scan and then when you can’t do anything more (it won’t even do anything if you hit enter to continue) just unplug the pi and plug it back in everything should boot accordingly and be fine after that.