Long shot but you never know…someone here might dabble.
I’m trying to burn an ISO of Ubuntu 22.04 to an NVMe SSD using MacOS. The NVMe will be the boot disk for a RPi5 but for the life of me I can’t get the startup disk to actually startup the Pi so I assume the burn isn’t doing “the right thing” for me.
I tried RPi Imager but it will only let me create a startup disk with the current version of Ubuntu (24.10). I need 22.04 as it’s the last version compatible with ROS2 installation. I was able to find the ISO for 22.04 but using both RPi Imager and Balena Etcher the volume does not start up the Pi.
Can I create a standard RPi boot disk on the micro SD to get the Pi running and then use the Pi itself to format the NVMe?
I haven’t done much with raspberry pi and it’s been a while. I have my home assistant running on a RPi4 booting from an SSD connected via USB and I think I had to boot it one time with an SD card that had an image that would configure the RPi to boot from USB. I think it was an option on the RPi imager called something like boot from usb.
Perfect! I knew there had to be kindred spirits here and yes, I figured getting the Pi running in Raspbian first might be the trick here. I had the Pi working fine off of the SSD running 24.10 but the issues started popping up when trying to install ROS2 as some resources that are available in 22.04 are not available or at least not in the same place as they are in 24.10. Here’s what I’m poking around with:
I’m trying to set up a Pi5 (8Gb) with a 256Gb NVMe SSD to run Ubuntu 22.04 so that I can install ROS2 and play around with a tracked robot platform I’ve had kicking around here for a couple of years. I “gifted myself” an RPi5 and RPILiDAR for my recent birthday. You are correct, the NVMe is mounted to a hat and I have a USB NVMe adapter so I can format the SSD using the MacOS if needed.
I’m assuming that if I can get the Pi running Raspbian off of the SD (configured and running now) then I should be able to somehow install Ubuntu onto the SSD and just switch the boot disc to the SSD? Seems like that jeffgeerling blog says the answer to that is “yes” - thanks! I’ll give it a go this evening.
The crux here on the MacOS side appears to be that I cannot use RPImager to format the SSD with anything other than the most recent Ubuntu release and I need a previous release in order to install ROS2. That said, my last attempt with balenaEtcher might have done the trick but because the Pi couldn’t boot from the SSD it didn’t seem like it worked.
What’s my end goal? To build an autonomous rail mounted LowRider4 that will be able to use AI and LiDar to spot pieces of plywood lying on the floor doing nothing, drive itself over the piece, analyze it’s shape, compare against a catalog of AI determined needs we have around the house/shop and mill out some piece of wizardry that will solve all of my life’s problems one sheet of wood at a time.
Okay, not really. I just wanna play around, maybe autonomously chase the dog and cats, maybe mow the lawn, maybe pick up poo. Or maybe get me a beer…to load into the LR core (see other threads ; )
The standard ISO you can download from ubuntu is going to be the live disk which installs from USB to an x86 machine. You need the raspberry pi ubuntu 22.04 image. My guess is this is the biggest issue.
I will also point out that even digit years and april releases are LTS or “long term service” releases. So 24.04 or 22.04 are going to be supported by ROS and not the intermediate releases. So 24.04 may work.
I believe this is exactly what I’m running into here. Isn’t there some way to install Ubuntu from a Git through terminal in Raspbian (running off of the SD boot disk)? Or do they not store Ubuntu in repositories like that?
Perhaps the better rabbit hole to go down would be getting ROS2 to install onto 24.10 actually.
I found 24.04.2 for RPi on the Ubuntu website. I’ll see if I can get that image to burn and if so, if it’ll let me install ROS2 without the same errors I was getting last night.