Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install version 24.04 on the orange pi 5 installed on the SSD (M.2 SATA)? #813

Closed
douglasdock opened this issue May 18, 2024 · 5 comments

Comments

@douglasdock
Copy link

douglasdock commented May 18, 2024

If anyone can, I would like to answer a question.
In order for me to be able to boot directly from the SSD, I need to install Ubuntu 24.04 on the SD and execute the "u-boot" commands:

sudo u-boot-install-mtd
sudo u-boot-install /dev/mmcblk0

I'm trying to install and boot using "debian" installed on the SD, but even after installing using "balenaEtcher" of the latest version (ubuntu-24.04-preinstalled-desktop-arm64-orangepi-5) and entering the " OrangePi config / System / Install / Install/Update the bootloader on SPI Flash" and I don't have the M.2 SSD boot

If anyone can help me I will be grateful

@douglasdock douglasdock changed the title I was unable to boot version 24.04 on the orange pi 5 installed on the SSD (M.2 SATA) How to install version 24.04 on the orange pi 5 installed on the SSD (M.2 SATA)? May 19, 2024
@FreeWilly2022
Copy link

FreeWilly2022 commented May 19, 2024

Based on the image you are using, I assume you have a Orange Pi 5 base model. If you don't, then you are using the wrong image. This is Ubuntu, not Debian, so I don't understand that part of your question. Once you have flashed the image onto your SD card using BalenaEtcher, put it in the OPi5, do the installation, and open the Terminal. The OPi5 has a SPI flash, so you need to copy the image to the SSD using:

sudo ubuntu-rockchip-install /dev/nvme0n1

and u-boot to the SPI flash using:

sudo u-boot-install-mtd

then shutdown the system, remove the SD card, and restart the system. It will boot off the SD card if it is installed, otherwise it will look at the SSD to boot.

@douglasdock
Copy link
Author

Hello friend, thanks for the answer and I believe I understood.
I'll try to fix it here and I'll give you feedback

@douglasdock
Copy link
Author

Hello, I installed "ubuntu 24.04" on the SD card and now I wanted to boot to SSDM2, however when I execute the command:

sudo ubuntu-rockchip-install /dev/nvme0n1

It is returned that it does not have the SSD, with the following information:

"/usr/bin/ubuntu-rockchip-install: block device '/dev/nvme0n1' not found"

I installed "GParted" and I can't find the SSD, on the company's official "Debian" system I know how to activate the SSD, but here I don't have the "Orangepi-config" command.

Would anyone know how to activate the SSD?

Thank you very much

Note: congratulations on the work

@thanhtantran
Copy link
Sponsor

Hello,

Orange Pi 5 default support M.2 NVME then if you use M.2 SATA the system will not recognize it.

@douglasdock
Copy link
Author

Hello everything is fine?
It is possible to use the M.2 SSD.
It was discussed here:
#817

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants