Ubuntu 24.04 LTS Raspberry Pi 5. NVMe install Fix

2024 ж. 28 Сәу.
8 386 Рет қаралды

ubuntu 24.04 LTS download link
ubuntu.com/download/raspberry-pi
Forum discussion
forums.raspberrypi.com/viewto...
SD card install works with Raspberry Pi imager but not NVMe
NVMe install works with Balena etcher. Install Balena etcher with Pi Apps
As an Amazon Associate I earn from qualifying purchases
Amazon US & other Countries Link
NVMe board under Pi 5 Geekom X1002 amzn.to/3UsJbQB
Nvme Patriot P310 2280 amzn.to/3UzX5Rq
ICE Tower Cooler for Raspberry Pi 5 amzn.to/3siJ92Q
75% Keyboard / mouse amzn.to/3w4uA4F
Usb C to C power display cable 100W amzn.to/3qoXsxZ
Usb C coupler / joiner amzn.to/47eMWNg
Micro hdmi cable amzn.to/3FmtFgP
3.5 audio usb amzn.to/45xa08M
Kingston a2 64gb amzn.to/33HBrCD
Kioxia Micro sd card amzn.to/3rNpGXO
Samsung evo select 128gb micro sd amzn.to/3Qn4jpx
Crucial SSD amzn.to/46dMOO8
Orico usb hub amzn.to/462DNah
Samsung Bar usb drive amzn.to/45IgMcF
My Pi 4 case amzn.to/3Pkes4t
Raspberry Pi 4 amzn.to/46pb5Av
Mini remote amzn.to/3EAY3ni
Logik K400+ keyboard amzn.to/3BUiDN5
My capture device Avermedia GC513 amzn.to/3G1LPDQ
Wimaxit 14” Touchscreen amzn.to/3kPDgRl
My Amazon UK store
www.amazon.co.uk/shop/leepspv...
Amazon UK Links
NVMe board under Pi 5 Geekom X1002 amzn.to/3w3EZxv
Ice tower cooler Pi 5 amzn.to/3MAPL3m
Nvme Patriot P310 2280 amzn.to/48csNHP
75% Keyboard / mouse amzn.to/3U8MF9D
Usb C to C power display cable 100W amzn.to/3D8GRWV
Usb coupler / joiner amzn.to/3QIDoDN
Samsung evo 128gb sd card amzn.to/3Sczfdg
Micro sd card Kioxia amzn.to/3Q5LnKq
HDMI to micro hdmi amzn.to/3tGq3UA
3.5mm audio to usb amzn.to/3FpS9G0
Samsung Bar usb drive amzn.to/3sRqbjI
Raspberry Pi 4 amzn.to/3LeeIAL
Kingston 64GB A2 amzn.to/2NTnkPm
Crucial 240GB SSD amzn.to/37LLc0V
YCCTEAM Xbox 360 Wireless controller amzn.to/38to6ya
my pi 4 case amzn.to/3ZfFyyv
Logitech K400+ keyboard trackpad amzn.to/3otsF0EOfficial
My capture device Avermedia GC513 amzn.to/2MnbXhW
Wimaxit 14” Touchscreen amzn.to/3sOpDLg
My videos
Play Steam Games on Raspberry Pi 5. Ubuntu 23.10
• Play Steam Games on Ra...
Ubuntu 23.10 Raspberry Pi 5. improved video performance
• Ubuntu 23.10 Raspberry...
PS2 installation tutorial. Raspberry Pi 5 Ubuntu 23.10
• PS2 installation tutor...
My Playlists
Everything Raspberry Pi. Over 750 Videos
• Everything Raspberry P...
Raspberry Pi NEWS
• Raspberry Pi NEWS

Пікірлер
  • Thanks Lee. I had the same issue when I flashed my USB drive using Raspberry Pi Imager. When I tried the same thing second time, it worked without any problems.

    @dogandonmez5274@dogandonmez527415 күн бұрын
  • Thank you Lee! How I made it work: From my Windows 11 PC I Downloaded Ubuntu 24.04 from Ubuntu website. Flashed image to SD card with Belena Etcher. Installed SD card in Pi5 and ran through the setup as prompted. Once everything worked and after I rebooted a few times to make sure; I removed the SD card (with the working Ubuntu OS) and went back to my Windows PC. I then used Belena Etcher's "Clone Drive" option to clone the SD card to an NVMe SSD via usb adapters. After the "clone drive" finished I added the line "dtparam=pciex1_gen3" to the "config.txt" file on the NVMe version. I then installed the NVMe drive in my Pi5 Pimoroni NVME Base, powered on the Pi5, said a prayer and BOOM! Ubuntu 24.04 booted and ran normally from the NVME Drive.

    @rg8555@rg855511 күн бұрын
  • Thanks for the video. I had a same issue when I flashed the NVMe drive with the manually downloaded ubuntu image. However, last evening it became available to download through pi imager. It worked for some reason.

    @ChamithSiriwardena0@ChamithSiriwardena016 күн бұрын
  • Hi Lee I am using 24.04 LTS on an old i5 pc and also put KDE Plasma on as I use you version on the Pi 5 with a NVMe, and its nice to swap from one to another looking the same. Interesting video good job.

    @router5840@router584016 күн бұрын
  • Got Ubuntu 24.04 to finally run on my Pi 5. I used the iDsonix M.2 NVMe usb adapter on my windows 11 laptop then I opened raspberry pi imager, selected pi 5 and the Ubuntu 24.4 desktop image and then wrote it to a patriots 512GB NVMe. Aftter completion I connected the NVMe drive to my Pi5 with a NVMe hat and it booted. The initial installation screen graphics was corrupted but after that everything went well and it works!

    @jbden142@jbden14212 күн бұрын
  • Great info. I tried to load 22-04 on my drive but ended up in failure. I'll try it using Etcher. Thanks.

    @gregspeakman9337@gregspeakman933716 күн бұрын
  • Lee, thanks for the video! I may try nvme soon. I actually found your video searching for wimaxit touchscreen. I’m wondering if touch is working for you. I have older 15.6” wimaxit touchscreens and can’t get the touch working in Ubuntu 24.04 on my pi5. They’re intermittent at best and registration is way off. Cheers!

    @frankpope9273@frankpope927313 күн бұрын
  • Thanks Lee for the Ubuntu update video on the Raspberry Pi V. This as I am trying to set up my new “SteamDeck” …that being said maybe I won’t hit the Palm Tree on GTAV…my goal is to crash the whole game…😂! Have a great day!

    @Kw1161@Kw116116 күн бұрын
  • i used raspberry pi imager and thier 24.04 onto my crucial p3 plus 1tb had 0 issue booting i use an nvme base from pimoroni.

    @ev1ltrix369@ev1ltrix36916 күн бұрын
  • I was wrestling with this very problem on one of my Pi5 units last weekend. Ubuntu 24.x LTS definitely looks promising, but even on SD card right now, it seems to get a bit flakey after an hour or two of regular use. Fingers crossed these are just teething problems.

    @jonsouter6266@jonsouter626614 күн бұрын
  • Ubuntu 24.04 LTS is still unstable for Raspberry 5 4GB. The boot is during about 1:30 minutes and the dark theme doesn't work some times. This is what I realized until now.

    @joaovitoroliveira6372@joaovitoroliveira637216 күн бұрын
  • Hello Lee, I was wondering if you know if there are disabled cores on the rPi5 processor? I ran a utility on mine and it said it was a 6 core with 2 disabled.

    @user-gr5lh6cs8o@user-gr5lh6cs8o14 күн бұрын
  • Great video Lee .. wonder why raspberry pi imager and gnome disks encounter an error.. I tried it and I failed too.. etcher fixed it though. Thanks. By the way Lee, vulkan drivers and config are really not further optimisable for the pis. And if I had to optimise it further, I would really need to fork the unstable debian branches and configure alot of things which may undermine stability of the operating system.. and provided.. compatibility issues like on Ubuntu.. so I am planning to drop the idea towards gaming side of crimson OS.. will let you know if I find any work arounds.. for now the plan is dropped.. hope u understand.. Thanks, Pradyot Pachore

    @PradyotPachore@PradyotPachore15 күн бұрын
    • Did you try Pikiss it gives a few options when installing vulkan

      @leepspvideo@leepspvideo15 күн бұрын
    • @@leepspvideo will try but maybe not anytime soon.. as I too am having a bit of a busy schedule to be honest.. as a young creator I also have to maintain the balance between this computer world and the actual one.. so I may start any suggestions and further tries when I am free of this tiresome schedule. Hope you understand .

      @PradyotPachore@PradyotPachore15 күн бұрын
  • So, to be clear, the process for ubuntu 20.04 on the pi 5 is... Balena Etcher to write the ubuntu-24.04-preinstalled-desktop-arm64+raspi.img.xz to an SD card, boot the card in the pi and complete the install until the pi restarts and logs in properly, remove SD from the pi, use a card reader and a USB-nvme adapter to copy the SD bit-for-bit onto the nvme, put the nvme on the pi and boot :)

    @DrKnow65@DrKnow6516 күн бұрын
    • Perfectly straightforward.

      @acubley@acubley16 күн бұрын
    • @@acubley I was going to do the same. But I wanted to try my luck with Pi Imager where Ubuntu 24.04 became available. To my surprise, it worked with no issues for my NVMe drive.

      @ChamithSiriwardena0@ChamithSiriwardena016 күн бұрын
    • I experienced the same issue when trying to write to an sd card on a raspberry pi 4 with the image downloaded from Ubuntu’s website. Didn’t have an issue when writing to an sd card using the raspberry pi imager and downloading/writing the image using that program.

      @ontarioreignfan@ontarioreignfan16 күн бұрын
    • That's exactly what I ended up doing.

      @user-gr5lh6cs8o@user-gr5lh6cs8o15 күн бұрын
    • Nothing works for me, tried everything mentioned on the video and the comments, whatever type of drive I use (so, usb, nvme), whatever vehicle for burning image (pi imager, ballena etcher) I can never complete the initial installation of ubuntu 24.04 on my raspberry pi 5 8gb. I never even see the screen with the glitched graphics. Just when this window is supposed to be displayed I have only the background screen with the little circle rotating suggesting some process is being carried out, eventually the ‘failed instalation’ error pop up comes up following the same login issues after the reboot (no credentials accepted, tried a few times even without setting any credentials but it asks for them anyway and doesn’t accept anything). Tried to flash images on ubuntu 22.04 LTS and on mac. Just out of curiosity tried to set ubuntu 23.10 to see if it works and worked the first time from an sd card (32GB). Very annoying… I hope this gets fixed with some update, the image shipped for this process is obviously far from perfect.

      @krasy8@krasy87 күн бұрын
  • Had the same issue installing for a RPi 4, can't remember if I used Rufus or Balena Etcher to install successfully. Now it's availabe in rpi-imager I'll haver to try this.

    @mbernardi1961@mbernardi196116 күн бұрын
  • i wonder if its just that, ubuntu uses cloudinit,.and even though raspberry pi os does something similar, the config file being creates by rpi imager could be breaking the install?

    @puccaso@puccaso16 күн бұрын
  • Got the same error at first. However, my pi is set to boot from USB, then nvme, then sd card. With Raspberry pi os booted from a USB drive, directly imaging to the mounted nvme worked. Was able to remove the USB drive and it booted into Ubuntu and set up fine.

    @rwxbuild@rwxbuild16 күн бұрын
  • Yea, there are several weird issues with the latest installer that I’ve unsuccessfully fought.

    @brianh.4185@brianh.418516 күн бұрын
  • I ran into the same issue with nvme install and it not saving credentials. I re-installed with pi imager and it seemed to resolve itself somehow...

    @klreierson@klreierson16 күн бұрын
  • I installed 2404 on an SD card on my Pi 5 (which itself boots from an NVME SSD) using rpi-imager. I then booted it on the Pi 5 and ran an update. When I transferred that to a CM4, it came up but the USB keyboard and mouse were not working. I ran a previous version of Ubuntu on this H/W, booting from an NVME SSD.

    @HankBarta@HankBarta10 күн бұрын
  • With all the hiccups resolved. The Pi5 might actually can be a desktop replacement for someone with Ubuntu 24.04 LTS. I hope Vulkan will be supported like in RaspberryPiOS.

    @hatrez3679@hatrez367916 күн бұрын
  • at @4:01 It says it is the development branch. It is a beta?

    @ultrium2000@ultrium200016 күн бұрын
  • Thanks. Unfortunately it seems there is no XFCE desktop for Ubuntu 24.04 Pi version. Do you agree ? The interest should be to install Ubuntu on PI 4.

    @PatrickConstant@PatrickConstant16 күн бұрын
    • I haven’t tried changing from Gnome

      @leepspvideo@leepspvideo14 күн бұрын
  • Have you tried using gparted to format the disk and then use raspberry pi imager or gnome-disks to restore the ubuntu image.?

    @luigiprovencher8888@luigiprovencher888816 күн бұрын
    • I haven’t I stopped trying when I had a solution. I’m sure it will get updated

      @leepspvideo@leepspvideo16 күн бұрын
  • Im sure i got it working when stuck with root root user passwd, but had smae hass le when writing nvme on beta version

    @stephenjohnstone9940@stephenjohnstone994016 күн бұрын
  • can you make a video on switch emulation on the raspberry pi 5 please

    @user-ot9nv6ib5j@user-ot9nv6ib5j14 күн бұрын
    • I have installed it but haven’t had a game run yet

      @leepspvideo@leepspvideo14 күн бұрын
  • I was able to use pi imager on my windows pc to install onto a USB SSD just fine using 24.04

    @CaseyFraysier@CaseyFraysier16 күн бұрын
    • Strange, I had the same results Ona 2.5” ssd

      @leepspvideo@leepspvideo16 күн бұрын
  • Only tried 20.04 via an SD card on Rpi5 so far. Found problems with Remote Desktop and connecting to a Win 11 Pro PC, most time the Win PC would not connect. Also video playback from KZhead and iplayer drops too many frames. Does booting from an NVME improve these issues?

    @32_bits@32_bits15 күн бұрын
    • They don’t seem to be related to storage issues. Mostly with nvme the os just feels more responsive

      @leepspvideo@leepspvideo15 күн бұрын
  • 🙋

    @lee99bay@lee99bay16 күн бұрын
  • Have you tried mounting the drive under another system and manually editing the password and shadow files?

    @x91w@x91w16 күн бұрын
    • I haven’t, I stopped when I found a solution

      @leepspvideo@leepspvideo15 күн бұрын
  • I was able to do an offline install with an NVME drive for my Pi 5

    @nickalexander1170@nickalexander117016 күн бұрын
  • I think Ubuntu has changed over the years and pure Linux users are moving away, mainly because of snaps. There are other distros that can do better such as Arch based or even Void Linux, for those who wants a taste of Non systemd system.

    @nymnicholas@nymnicholas16 күн бұрын
  • I'm getting the "installation error" popup even on sd card. What am I missing? Bootloader version !!??

    @dacrazymanfan@dacrazymanfan14 күн бұрын
    • Toms hardware also has information on this www.tomshardware.com/raspberry-pi/ubuntu-2404-on-raspberry-pi-has-intermittent-installation-issues

      @leepspvideo@leepspvideo14 күн бұрын
  • i need install ubuntu 24.04 lts in safe mode or installer crash randomly in my computer.

    @eskomattila4468@eskomattila446816 күн бұрын
    • Its often the case when the new one is released

      @leepspvideo@leepspvideo16 күн бұрын
  • Unfortunately, Balena didn't work for me either. I just get the spinning circle after burning with Balena

    @makerbymistake@makerbymistake16 күн бұрын
    • That’s strange, what drive/PCIe device were you using?

      @leepspvideo@leepspvideo16 күн бұрын
    • @@leepspvideo I'm using a Pinedrive NVME and a UGREEN USB adapter.

      @makerbymistake@makerbymistake16 күн бұрын
    • @@makerbymistake from the comments there are many with and without success with 24.04 pretty much everything else has been fine for me on Pi 5

      @leepspvideo@leepspvideo15 күн бұрын
  • Sad i was expecting to see tanya for a bit in red alert

    @albinosan4744@albinosan474416 күн бұрын
    • It's nearly 30 years old. Came out 1995! A favourite of LAN parties

      @nikobellic570@nikobellic57016 күн бұрын
  • Try installing on the SD as you have, then remove it from the pi and DD copy it to the nvme ;)

    @DrKnow65@DrKnow6516 күн бұрын
    • @leepsvideo

      @DrKnow65@DrKnow6516 күн бұрын
    • It was one of my options if Balena etcher hadn’t worked

      @leepspvideo@leepspvideo16 күн бұрын
  • I'd format the drive before burning to it

    @SlatkoSlatko@SlatkoSlatko16 күн бұрын
    • I did try that with imager

      @leepspvideo@leepspvideo16 күн бұрын
KZhead