![]() |
[How to do instruction] Boot USB. Move sd-card to USB Drive - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: FAQ and Guides (https://moodeaudio.org/forum/forumdisplay.php?fid=9) +--- Thread: [How to do instruction] Boot USB. Move sd-card to USB Drive (/showthread.php?tid=3097) Pages:
1
2
|
Boot USB. Move sd-card to USB Drive - DRONE7 - 10-22-2020 Prompted by @cofot28 post here...(for Pi4) http://moodeaudio.org/forum/showthread.php?tid=2983 With some advances in the RPI firmware and Balena Etcher this is now trivial. You will need a spare micro-sd-card.... 1) On your PC (linux preferred but there is a Win version for these steps) Download the latest Balena Etcher.. https://www.balena.io/etcher/ 2)Download the latest Raspberry Pi Lite image and burn to the micro-sdcard using Etcher. https://www.raspberrypi.org/downloads/raspberry-pi-os/ 3)Add an ssh file to the micro-sdcard as per #3 Headless instruction from RPi foundation..... https://www.raspberrypi.org/documentation/remote-access/ssh/ 4) Remove your Moode micro-sdcard from your Pi4 and insert the Raspberry Pi Lite card and boot. 5) ssh to the Pi (ssh 'pi@ip-address'..password 'raspberry') (in linux...to find the Pi ip-address) Code: sudo arp-scan --localnet 6)Check current Firmware.. Code: vcgencmd bootloader_version The latest firmware update will be displayed. It should be the June 15, 2020, or later release for the USB boot feature to work successfully. Mine was an earlier Firmware so run.. Code: sudo apt update Then reboot your Pi and again check... Code: vcgencmd bootloader_version Currently mine now shows... Code: pi@argon:~ $ vcgencmd bootloader_version While your MoOde micro-sdcard is removed from your Pi put it in a card reader and connect it to your PC.(preferably this is an un-expanded install...and you will need a bigger USB drive than the micro-sdcard.) Connect a USB 3 flash Drive (or SSD) to your PC. Start Balena Etcher and choose 'clone drive' from it's source menu. ( ![]() ![]() Choose the MoOde micro-sdcard as the source. Choose your USB drive as the target and Flash. Once finished, Safely remove both the micro-sdcard and the USB (or SSD) from the PC and then remove the micro-sdcard (Raspberry Pi Os) from your Pi4. Attach the USB3 (or SSD) to the Pi and power on. The Pi4 should boot from the attached drive... ![]() Mine does from a USB 3 Flash drive and much quicker than from the micro-sdcard. Will try from SSD once I find a spare to use. Note that while everything works as expected Moode System Info still reports USB boot for the RPi4 as 'not available' Not sure why. (Tim ?) Other Pi...ymmv ![]() RE: Boot USB. Move sd-card to USB Drive - TheOldPresbyope - 10-22-2020 Nicely done. To add a little technical meat to the bone (USB mass storage boot documentation):
So, in response to that final "YMMV", booting from a USB mass storage device works fine with RPi 2B v1.2, 3A+, 3B, CM3, 3B+, CM3+ provided the OTP bit has been set first. I've been booting moOde on a 3B+ from a USB thumbdrive for some time now. Disk activity is slower than if I used a uSD card but it is much more convenient because of the enclosure this particular RPi is in (it's a SmartiPi Touch 2 screen and case). As Drone7 notes, it would be the reverse with an RPi4B and a USB 3 thumbdrive plugged into one of the USB3 ports. Regards, Kent RE: Boot USB. Move sd-card to USB Drive - Tim Curtis - 10-22-2020 How do u install just the firmware update without having to do an "apt full-upgrade" RE: Boot USB. Move sd-card to USB Drive - DRONE7 - 10-22-2020 (10-22-2020, 02:33 PM)Tim Curtis Wrote: How do u install just the firmware update without having to do an "apt full-upgrade" First take out the running Moode sd card and set it aside. Then prep another sd card with Raspbian lite and boot the pi from that...do the full upgrade that then updates the firmware. Remove the Raspbian sd card and either return to the Moode sd card or clone the Moode sd card to a USB drive and boot the Pi4 from that. RE: Boot USB. Move sd-card to USB Drive - Tim Curtis - 10-22-2020 Thats like using a sledgehammer to push in a thumbtack. I recall b4 there was a utility that updated the EEEPROM firmware from a .bin file. It was called vl805. RE: Boot USB. Move sd-card to USB Drive - DRONE7 - 10-22-2020 (10-22-2020, 05:55 PM)Tim Curtis Wrote: Thats like using a sledgehammer to push in a thumbtack. ![]() The original enquirer @cofot28 was wanting to 'move' the sd card install to usb drive and boot from it on their RPi4. This seemed to be the easiest option with least chance of failure.. ![]() (Never had a thumbtack fall out after using a sledgehammer ![]() RE: Boot USB. Move sd-card to USB Drive - Atair - 11-24-2020 Just to note: I tried update / full-upgrade with a running 6.7.1 installation which loads by that a new eeprom image. But it turns out then that rpi-eeprom-update -a does not burn the new bootloader. After reboot rpi-eeprom-update still shows the old version and that a new version is available. I then followed a similar approach as @DRONE7, but used instead the Raspberry Pi Imager on my PC with Linux:
RE: Boot USB. Move sd-card to USB Drive - Atair - 11-24-2020 After I updated the bootloader successfully I tried to boot from an USB stick. The OS bootet, but Moode failed with "/lib/systemd/system/mpd.service:8: CPU scheduling priority is out of range, ignoring: 43". The image on the USB stick was copied from the microSDCard before I performed the update / full-upgrade. So I took a new image from the latest state of the microSDCard and flashed the USB stick anew. This time it seem to boot as well, but is not accessible. Both with SSH and browser the connection is refused. Now I am a bit lost... Do one of you guys has any idea what might have happened? (Ok, I can always set up a fresh installation. But then I have to redo all the config ...) RE: Boot USB. Move sd-card to USB Drive - DRONE7 - 11-25-2020 Quote:I tried update / full-upgrade with a running 6.7.1 installation which loads by that a new eeprom image. Yes, that does not work. Quote:I then followed a similar approach as @DRONE7http://moodeaudio.org/forum/showthread.php?tid=3097&pid=26329#pid26329 That does.. ![]() Good it is working for you. @Atair Redo the update as per my first post.... and reply with any error output RE: Boot USB. Move sd-card to USB Drive - Atair - 11-25-2020 With the first try (USB with image taken before update / full-upgrade) the symptoms are the same as in MPD connection failed thread. , i.e., integrity check failed. With the second try I cannot connect to the raspi anymore to inpect the logs. (connection refused.) I will give balena etcher a try later this day. Up to now I was just using dd which always has been working well. |