David Pilling |
Main »
Booting RISC OS from SSD on the Raspberry PiStarted 9th September 2021 I am using a Pi 4, some of the feeling of difficulty and hazard on the web comes from previous versions of the Pi. Three steps: The anxiety here is around power usage of the SSD and the SATA to USB adapter, and if the SATA adapter will work. I used "iitrust USB 3.0 to SATA Adapter Cable" and "Kingston SSDNow A400". I have 480GB and 240GB versions, the small one is for RISC OS because the ADFS disc format can't go above 256GB. The Pi is powered from an official Pi power supply. These choices work. The boot behaviour set up above is that with a SD card inserted in the Pi SD socket, the Pi will boot from it. With no SD card the Pi boots from USB. What follows relies on this. Install RISC OS on the SSD Connect up the SSD to the Pi running RISC OS (from SD) and use HForm from Utilities.Caution to format the SSD. Next turn to the Pi running Raspian (from SD) and download and unpack the following from Github: With the RISC OS SD card inserted in a USB adapter in a Pi USB socket, run: get_loader.py sda Loader For me the device was "sda". It is useful to use ls /dev to see which the correct device is (it will appear after being inserted). The name "Loader" is arbitrary for this step, but since some subsequent steps require it, you might as well get it right here. Now remove the RISC OS SD card in its USB adapter, and connect the SSD, and run the following: put_loader.py sda Loader It is now possible boot the Pi from SSD with no RISC OS SD card. But it won't complete the boot sequence until the next step. Make the SSD boot into RISC OS configure filesystem scsi The magic throughout is that one disc can be read as an ADFS disc as well as a PC format FAT32 disc. The "magic" Loader file appears in both views of the disc because it exists in both. Under ADFS it appears as a PC partition file and can be opened as an image file to show its contents. Bryan P pointed out that it is necessary to get the drive number right in the above, might be 4 and not 0.
|
David Pilling's Wiki Set view |
Page last modified on July 24, 2022, at 12:09 AM - Powered by PmWiki pmwiki-2.3.31 (pmwiki-2.3.31) |