Ubuntu 24.04 LTS Raspberry Pi 5. NVMe install Fix

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • ubuntu 24.04 LTS download link
    ubuntu.com/dow...
    Forum discussion
    forums.raspber...
    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....
    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/3otsF0...
    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

Комментарии • 77

  • @rg8555
    @rg8555 4 месяца назад +4

    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.

    • @ventinator0
      @ventinator0 Месяц назад

      does it also lower the size of the nvme

  • @jonsouter6266
    @jonsouter6266 5 месяцев назад

    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.

  • @mbernardi1961
    @mbernardi1961 5 месяцев назад

    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.

  • @puccaso
    @puccaso 5 месяцев назад

    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?

  • @SlatkoSlatko
    @SlatkoSlatko 5 месяцев назад +2

    I'd format the drive before burning to it

    • @leepspvideo
      @leepspvideo  5 месяцев назад +1

      I did try that with imager

  • @ev1ltrix369
    @ev1ltrix369 5 месяцев назад +2

    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.

  • @DrKnow65
    @DrKnow65 5 месяцев назад +4

    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 :)

    • @acubley
      @acubley 5 месяцев назад

      Perfectly straightforward.

    • @ChamithSiriwardena0
      @ChamithSiriwardena0 5 месяцев назад +3

      @@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.

    • @ontarioreignfan
      @ontarioreignfan 5 месяцев назад +1

      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.

    • @krasy8
      @krasy8 4 месяца назад +1

      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.

    • @DrKnow65
      @DrKnow65 4 месяца назад

      ​@krasy8 if you try to install RaspiOS does it work? Are you using a 32GB SD for the install? Will try to help if I can.

  • @rg8555
    @rg8555 Месяц назад

    It is fixed in today's (8/29/24) release 24.04.1 "Raspberry Pi The bug which crashed the desktop installation in certain circumstances (typically installing from non-SD boot media) is now fixed, and first time setup should run without issue. This also fixed the slide corruption formerly observed (LP: #2037015, LP: #2062146)"

  • @joaovitoroliveira6372
    @joaovitoroliveira6372 5 месяцев назад +1

    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.

  • @dominicpapineau4041
    @dominicpapineau4041 Месяц назад

    The only thing that worked for me. it's installing Ubuntu on an SD card and cloning it on the Nvme with the SD card copier app which comes with raspberry Brookwoorm.
    I have a raspberry pi5 8gb,pimoroni base, NVMe crucial 1 TB, P3 Plus.

  • @yanjinghan6281
    @yanjinghan6281 3 месяца назад

    My case is opposite, when I use Balena Etcher to write the 2404-desktop img to nvme SSD, it failed to boot, shows the same error as this video demonstrate, but I use the Raspberry Pi imager to flash the same img to the same ssd, it success to boot, and I can successfully change the pcie from gen2 to gen3. Oh, BTW, I tried boot from SD card for the same image, it's failed too. I observed that the partition table of the SSD is different from written result of Raspberry Pi imager and Balena Ether, maybe that's the root cause? Not sure

  • @nymnicholas
    @nymnicholas 5 месяцев назад +1

    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.

  • @jbden142
    @jbden142 4 месяца назад +1

    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!

  • @dogandonmez5274
    @dogandonmez5274 5 месяцев назад +1

    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.

  • @eskomattila4468
    @eskomattila4468 5 месяцев назад +1

    i need install ubuntu 24.04 lts in safe mode or installer crash randomly in my computer.

    • @leepspvideo
      @leepspvideo  5 месяцев назад +1

      Its often the case when the new one is released

  • @expatinthailand9824
    @expatinthailand9824 Месяц назад

    I imaged my NVMe with balena etcher on Mac Sequoia and the installation failed. It got as far as language, user name, password and region. Did some stuff and then said installation failed. I cannot get Etcher to install on my Pi Ubuntu 24.04 LTS desktop no matter what I try.
    EDIT: I had Ubuntu working on an SD card so I cloned the SD card to the NVMe using Etcher on Mac OS. That did the trick. NVMe now booting Ubuntu 24.04 LTS. Boot still seems a little slow, but with Gen3 enabled I am achieving read speeds of almost 900Mbps.

    • @leepspvideo
      @leepspvideo  Месяц назад

      @@expatinthailand9824 some drives are less compatible
      which NVMe drives work with a Raspberry Pi 5?
      ruclips.net/video/3mUgVTBmKio/видео.html
      Also try Raspberry Pi imager on your Mac

  • @Eddie-u9f
    @Eddie-u9f 5 месяцев назад

    I'm getting the "installation error" popup even on sd card. What am I missing? Bootloader version !!??

    • @leepspvideo
      @leepspvideo  5 месяцев назад

      Toms hardware also has information on this
      www.tomshardware.com/raspberry-pi/ubuntu-2404-on-raspberry-pi-has-intermittent-installation-issues

  • @x91w
    @x91w 5 месяцев назад

    Have you tried mounting the drive under another system and manually editing the password and shadow files?

    • @leepspvideo
      @leepspvideo  5 месяцев назад

      I haven’t, I stopped when I found a solution

  • @tonymcloughlin4069
    @tonymcloughlin4069 3 месяца назад

    This happened to me

  • @DamuDamu-t4g
    @DamuDamu-t4g 5 месяцев назад

    can you make a video on switch emulation on the raspberry pi 5 please

    • @leepspvideo
      @leepspvideo  5 месяцев назад

      I have installed it but haven’t had a game run yet

  • @albinosan4744
    @albinosan4744 5 месяцев назад +1

    Sad i was expecting to see tanya for a bit in red alert

    • @nikobellic570
      @nikobellic570 5 месяцев назад

      It's nearly 30 years old. Came out 1995! A favourite of LAN parties

  • @HankBarta
    @HankBarta 4 месяца назад

    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.

  • @frankpope9273
    @frankpope9273 5 месяцев назад

    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!

  • @Kw1161
    @Kw1161 5 месяцев назад

    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!

  • @rwxbuild
    @rwxbuild 5 месяцев назад

    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.

  • @lee99bay
    @lee99bay 5 месяцев назад +1

    🙋

  • @gregspeakman9337
    @gregspeakman9337 5 месяцев назад

    Great info. I tried to load 22-04 on my drive but ended up in failure. I'll try it using Etcher. Thanks.

  • @router5840
    @router5840 5 месяцев назад

    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.

  • @ChamithSiriwardena0
    @ChamithSiriwardena0 5 месяцев назад

    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.

  • @nickalexander1170
    @nickalexander1170 5 месяцев назад

    I was able to do an offline install with an NVME drive for my Pi 5

  • @TriedWhistle
    @TriedWhistle Месяц назад

    I tried to install Ubuntu on my pi 4 with an SD card but I won’t accept my account login which I know is right. I’ve tried installing from multiple sources too

    • @leepspvideo
      @leepspvideo  Месяц назад

      @@TriedWhistle is the keyboard language correct?

    • @TriedWhistle
      @TriedWhistle Месяц назад

      @@leepspvideo I live in the United States and I choose US when I set up Ubuntu each time

    • @leepspvideo
      @leepspvideo  Месяц назад

      @@TriedWhistle are you making any changes with Raspberry Pi imager when you write the image? If not try the Ubuntu forums

    • @TriedWhistle
      @TriedWhistle Месяц назад

      @@leepspvideo I tried using etcher too

  • @klreierson
    @klreierson 5 месяцев назад

    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...

  • @brianh.4185
    @brianh.4185 5 месяцев назад

    Yea, there are several weird issues with the latest installer that I’ve unsuccessfully fought.

  • @ultrium2000
    @ultrium2000 5 месяцев назад

    at @4:01 It says it is the development branch. It is a beta?

  • @hatrez3679
    @hatrez3679 5 месяцев назад

    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.

    • @ventinator0
      @ventinator0 Месяц назад

      wait, it's not supported??

    • @hatrez3679
      @hatrez3679 Месяц назад

      It was not like RPiOS out of the box back when it was released. Might be already implemented, but idk.

    • @ventinator0
      @ventinator0 Месяц назад

      @@hatrez3679 well idk about pi 5, but i know pi 4 had it (although at like 20% the performance of pi os, both vulkan and opengl is horrible in ubuntu)

  • @32_bits
    @32_bits 5 месяцев назад

    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 RUclips and iplayer drops too many frames. Does booting from an NVME improve these issues?

    • @leepspvideo
      @leepspvideo  5 месяцев назад

      They don’t seem to be related to storage issues. Mostly with nvme the os just feels more responsive

  • @PatrickConstant
    @PatrickConstant 5 месяцев назад

    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.

    • @leepspvideo
      @leepspvideo  5 месяцев назад

      I haven’t tried changing from Gnome

  • @CaseyFraysier
    @CaseyFraysier 5 месяцев назад

    I was able to use pi imager on my windows pc to install onto a USB SSD just fine using 24.04

    • @leepspvideo
      @leepspvideo  5 месяцев назад

      Strange, I had the same results Ona 2.5” ssd

  • @makerbymistake
    @makerbymistake 5 месяцев назад

    Unfortunately, Balena didn't work for me either. I just get the spinning circle after burning with Balena

    • @leepspvideo
      @leepspvideo  5 месяцев назад

      That’s strange, what drive/PCIe device were you using?

    • @makerbymistake
      @makerbymistake 5 месяцев назад

      @@leepspvideo I'm using a Pinedrive NVME and a UGREEN USB adapter.

    • @leepspvideo
      @leepspvideo  5 месяцев назад +1

      @@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

  • @luigiprovencher
    @luigiprovencher 5 месяцев назад

    Have you tried using gparted to format the disk and then use raspberry pi imager or gnome-disks to restore the ubuntu image.?

    • @leepspvideo
      @leepspvideo  5 месяцев назад

      I haven’t I stopped trying when I had a solution. I’m sure it will get updated

  • @PradyotPachore
    @PradyotPachore 5 месяцев назад

    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

    • @leepspvideo
      @leepspvideo  5 месяцев назад

      Did you try Pikiss it gives a few options when installing vulkan

    • @PradyotPachore
      @PradyotPachore 5 месяцев назад

      @@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 .

  • @DrKnow65
    @DrKnow65 5 месяцев назад

    Try installing on the SD as you have, then remove it from the pi and DD copy it to the nvme ;)

    • @DrKnow65
      @DrKnow65 5 месяцев назад

      @leepsvideo

    • @leepspvideo
      @leepspvideo  5 месяцев назад

      It was one of my options if Balena etcher hadn’t worked

  • @stephenjohnstone9940
    @stephenjohnstone9940 5 месяцев назад

    Im sure i got it working when stuck with root root user passwd, but had smae hass le when writing nvme on beta version