View Single Post
Old 2021-11-10, 20:47   #1
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

398110 Posts
Default Booting Pi operating system from a USB HDD partition

This is not urgent. To put the OS onto a Pi is usually done by flashing an SD card and popping it into the Pi. I can dd the image file to a partition of my USB HDD -- the same would apply to an SSD -- but how do I install the bootloader onto the HDD (or SSD)? I can do it with grub install from the Pi OS when it is running, but first I need to boot it

I guess one way would be to boot an SD card with Pi OS on it and then run grub-install with the HDD-boot sector as the target and for the kernel and ramfs on the partition specified.

Last fiddled with by paulunderwood on 2021-11-10 at 21:16
paulunderwood is offline   Reply With Quote