EpicLPer
Cadet
- Joined
- Jul 31, 2023
- Messages
- 4
Heya!
I plan on using my old Gen8 MicroServer as a Backup NAS, the Gen8 is a bit weird as it "moves" the ODD port (where TrueNAS is installed to an SSD) to the very end of the drive list the more drives you have inserted into the front. This means that, with 4 drives, you have to use "hd5" in GRUB to boot from the MicroSD to the SSD to make it work.
This is fine as long as 4 drives are inserted, but say one drive suddenly fails, then the internal SSD becomes "hd4", so GRUB fails to boot automatically.
I'm trying to find a way to make it boot via a UUID instead so it doesn't matter if a drive fails or not. Is this somehow possible? I've searched around a bit but my skills with GRUB are very limited and info on this specific case are sparse...
Another idea I had was to simply make GRUB go through a list of "hd5" > "hd4" > "hd..." and so on depending if the first entry fails or not, it's a crude workaround but could work, tho info on how to achieve that is sparse as well.
Thanks a ton already for your help!
I plan on using my old Gen8 MicroServer as a Backup NAS, the Gen8 is a bit weird as it "moves" the ODD port (where TrueNAS is installed to an SSD) to the very end of the drive list the more drives you have inserted into the front. This means that, with 4 drives, you have to use "hd5" in GRUB to boot from the MicroSD to the SSD to make it work.
This is fine as long as 4 drives are inserted, but say one drive suddenly fails, then the internal SSD becomes "hd4", so GRUB fails to boot automatically.
I'm trying to find a way to make it boot via a UUID instead so it doesn't matter if a drive fails or not. Is this somehow possible? I've searched around a bit but my skills with GRUB are very limited and info on this specific case are sparse...
Another idea I had was to simply make GRUB go through a list of "hd5" > "hd4" > "hd..." and so on depending if the first entry fails or not, it's a crude workaround but could work, tho info on how to achieve that is sparse as well.
Thanks a ton already for your help!