Results 1 to 10 of 13

Thread: Raspberry Pi 4 - SSD boot Server/Core

Hybrid View

  1. #1
    Join Date
    Jun 2020
    Beans
    4

    Raspberry Pi 4 - SSD boot Server/Core

    Hello Ubuntu Community,
    I can't seem to get Ubuntu Server or Ubuntu Core to boot on SSD like I can with the RaspiOS. I have seen some solutions that use an SD card along with the SSD, but I prefer to be able to use my SD card for other things and just run off the SSD as intended. I noticed Berry Boot has been able to act as an intermediary and install Ubuntu to SSD and run, but I would prefer a pure solution. I have attempted copying over the elf and dat files from the most recent firmware to the boot of Ubuntu Server/Core and it just spits me out to uboot. To clarify, I have installed RaspiOS 64-bit on the SSD and it does boot correctly, so my issue seems to be with Ubuntu Server/Core.

    What brought me to this issue is the recent release of Ubuntu Core Appliances and I wanted to try them out, but with no SSD support this is a bit of a snag for me.

    Could anyone please point me in the right direction to research? I searched for "raspberry" and "ssd" here on the forums without much success. I have also looked through the Raspberry Pi forums without much luck either, most of them mention to contact Ubuntu directly as its their software running on the Pi itself.

    Thank you all for your time and valuable feedback

  2. #2
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,690
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Raspberry Pi 4 - SSD boot Server/Core

    There is more than one version of Raspberry Pi and more than one version of Ubuntu Server. You failed to mention the specifics for both.

    I assume you have the Raspberry Pi 4 with 8 GB of RAM because you mentioned RaspiOS 64-bit?

    I assume you are wanting Ubuntu Server 20.04 (latest version).

    Here is one of several how-to guides for this: https://www.linuxhowto.info/how-to-i...-raspberry-pi/

    Just make sure you are selecting the "ARM" version of Ubuntu because that is the processor type in the Pi.

    EDIT #1: Oops, noticed you said Pi 4 in the title, sorry.

    EDIT: #2: Seems the 1st link died within a day of posting it (probably a temporary issue with the whole site). Fear not, using the dark magic of Google-Fu, I search the exact same title of that article (in the URL) and found these matching ones (and related) at different sites:
    Install Ubuntu 20.04 on Raspberry Pi @ LinuxConfig.org
    Ubuntu downloads for Rapsberry Pi @ Ubuntu.com
    Ubuntu 20.04 64bit Full Desktop on Raspberry Pi 4 Installation and Demo(VIDEO) (YouTube Direct Link)
    Ready, Set, Bake: Ubuntu 20.04 LTS is Now Certified for the Raspberry Pi
    How to Install Ubuntu on Your Raspberry Pi @ TomsHardware

    LHammonds
    Last edited by LHammonds; June 26th, 2020 at 10:43 PM. Reason: Additional links

  3. #3
    Join Date
    Jun 2020
    Beans
    4

    Re: Raspberry Pi 4 - SSD boot Server/Core

    first the link provided by LHammonds is broken.
    I came accross the same issue and instead of creating a new thread I will just refine this one.
    the best logical answer I found was here (LINK) under askubuntu.com subsite for stackexchange.com
    only problem is it takes ages and nothing happens eventually
    and by nothing happens I mean, the SSD card is being in read, since the SSD controller read LED is blinking like crazy but the raspberry pi machine doesnt get any local IP from the router, meaning the boot is either still in progress, or failed and there is a loop/RAM leak, making the LED to blinking without any results.

  4. #4
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,690
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Raspberry Pi 4 - SSD boot Server/Core

    Quote Originally Posted by amen8 View Post
    first the link provided by LHammonds is broken.
    Additional links added.

    Regarding your issue, it would be best if you posted details about what you are using. Which Pi and options (such as 8GB model) and make sure you are using an approved SD card. Not all SD cards are created equal. SD cards for Raspberry Pi

    LHammonds

  5. #5
    Join Date
    Sep 2011
    Beans
    4

    Re: Raspberry Pi 4 - SSD boot Server/Core

    Quote Originally Posted by LHammonds View Post
    Additional links added.

    Regarding your issue, it would be best if you posted details about what you are using. Which Pi and options (such as 8GB model) and make sure you are using an approved SD card. Not all SD cards are created equal. SD cards for Raspberry Pi

    LHammonds
    He is referring to the booting of the OS from an external SSD via USB. It is now possible on Raspberry Pi OS. Here is a nice blog about it:

    https://www.jeffgeerling.com/blog/20...y-pi-4-usb-ssd

    @goney3, I suspect there is something with how it finds the boot partition. I am also keen to find out when they will release an update to do the booting. Also, to add to this, any idea how you can do the firmware/bootloader updates via Ubuntu( Even if it's on a SD)?

    D.

  6. #6
    Join Date
    Jun 2020
    Beans
    4

    Re: Raspberry Pi 4 - SSD boot Server/Core

    that blog is a little bit outdated by now, since there is a newer eeprom update released with a timestamp June 16. check here
    and it is now a stable release (so you have to edit /etc/default/rpi-eeprom-update to stable instead of critical)

    i dont know why you want to update the bootloader firmware using ubuntu because it doesnt matter at all. as long as you update it (by any means possible)
    so for simplicity, use a temporary raspberry OS image on SD.

  7. #7
    Join Date
    Jun 2020
    Beans
    4

    Re: Raspberry Pi 4 - SSD boot Server/Core

    I'm asking about an SSD, not an SD.

    Thanks!
    Last edited by QIII; June 27th, 2020 at 03:59 AM. Reason: response pared down to the polite essentials

  8. #8
    Join Date
    Jun 2020
    Beans
    4

    Re: Raspberry Pi 4 - SSD boot Server/Core

    @goney3 we get it.
    the SD is used just to update the raspberry pi 4 firmware since the old one doesnt support USB boot, after that you can start using your SSD from the beginning when you power it on.


    @LHammonds
    first here is all my hardware specs:
    -raspberry pi 4 2bg powered using the original power cord.
    -microSD card SanDisk Ultra 32 GB 10 A1 HC-I
    -Kingston microSD reader (SD to USB adapter)

    steps taken:
    -installed raspberry pi OS 32bit recommended version on raspberry-pi-imager
    -plugged, SSH to it (headless setup), exectued
    Code:
    sudo apt update && sudo apt full-upgrade
    -edited the file in:
    Code:
    /etc/default/rpi-eeprom-update
    and changed
    Code:
    critical
    to
    Code:
    stable
    (eeprom stable release)
    -updated the eeprom firmware using:
    Code:
    sudo rpi-eeprom-update -d -f /lib/firmware/raspberrypi/bootloader/stable/pieeprom-2020-06-15.bin
    this is the latest stable version officially supporting USB boot
    -unplugged the SD card, and power cord to my raspberry pi, then using the kingston SD reader plugged the same SD to the USB port on the same raspberry pi without any changes to the files in the SD.
    it worked like charm. so this is enough evidence the USB boot should work!!! until i wipe the same SD with an ubuntu image using raspberry pi imager aaaaaand the raspberry pi 4 doesnt boot.
    so this is clearly an issue with ubuntu.

    ps: I tried a suggested solution of copying and replacing all .elf and .fat files from the official github repo for raspberry to the /boot directory in my SD, and it didnt help.
    LHammonds

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •