How to Boot Raspberry Pi 5 off NVMe Drives with the M.2 HAT+

Поділитися
Вставка
  • Опубліковано 16 лис 2024

КОМЕНТАРІ • 89

  • @Core-Electronics
    @Core-Electronics  6 місяців тому +10

    Hey all, this video is missing a little equals sign in the setting the Gen 3 PCIe speeds. The line to enable it is "dtparam=pciex1_gen=3" (the equals before the 3 was missing from the video) Cheers!😊

  • @NotJohnUK
    @NotJohnUK 6 місяців тому +5

    Got my m.2 Hat+ today. Added A Sabrent Rocket NVMe 4.0 256GB, part number SB-2130-256. Could write to but not boot from. 4 hours later changed my boot priority. Sabrent is working well. Will benchmark and share later. Thank you so much 👍

  • @justinmcdonald1930
    @justinmcdonald1930 26 днів тому +1

    I absolutely loved in this video how you explained more about the concept and process. You mentioned issues with other drivers and challenges. This is 1000000% better then videos that go straight to the steps without explaining factors about the process or highlighting issues that users may encounter. Thank you for taking the time and effort to make such a high quality video!

  • @MemoirofYago
    @MemoirofYago 12 днів тому

    Very nice video! Easy to follow with straight to the point information! Good job!

  • @jensschroder8214
    @jensschroder8214 5 місяців тому +2

    the correct command is: dtparam=pciex1_gen=3
    I've achieved read speeds of around 80 on an SD card,
    400 on an SSD with Gen2, and over 800 on SSD Gen3.

  • @marvinwhisman3333
    @marvinwhisman3333 3 місяці тому +3

    Just found your channel. Enjoyed your video.

  • @GenesCustoms.
    @GenesCustoms. 2 місяці тому +1

    Thank you from a beginner. This was a big help!

  • @PauReydefaura
    @PauReydefaura 2 дні тому

    Thanks fro this video!. W
    hat about when you want to boot with custom OS image on the NVMe drive? how do you tell RPi to start reading from the right place?

    • @Core-Electronics
      @Core-Electronics  2 дні тому +1

      If the image is flashed onto the SSD, and the Pi is trying to boot from the SSD, then it should behave exactly like it does with a micro SD.

  • @NotJohnUK
    @NotJohnUK 6 місяців тому +1

    Using Disks on Ubuntu 23.10
    256 GB Disk - Sabrent SB-2130-256 [R21B47.1] (/dev/nvme0n1)
    at 18 May 2024 17:42:07 BST (5 minutes ago)
    10.0 MiB (10,485,760 bytes)
    462.2 MB/s (1000 samples)
    0.08 msec (2000 samples)
    I'm happy with that!
    Will clone the drive and check write speeds sometime in the future
    Again thank you, you have made an old man very happy 😃

    • @Core-Electronics
      @Core-Electronics  6 місяців тому +1

      Cheers for the testing not John! We will add it to the list of SSDs that work for other people.

  • @mbunds
    @mbunds 3 місяці тому +2

    This is an excellent production, thanks, but it didn't work for me when I tried to image a 2 TB Samsung 990 PRO SSD NVMe drive from the Pi OS, which reported write failures to the drive.
    I didn't bother to troubleshoot the Pi failure, but instead placed the NVMe drive into a USB adapter and used Raspberry Pi Imager from a PC to write the image.
    The Pi booted from the NVMe drive with no problems, and is seriously fast!

    • @Core-Electronics
      @Core-Electronics  3 місяці тому

      Very strange that it worked through the USB adapter and not on the Pi to install it. Thanks for letting us know!

    • @mbunds
      @mbunds 3 місяці тому +1

      @@Core-Electronics I didn't perform anything like a scientific test to find out why the 2TB write failed, but I'm going to try again soon. I bought a 500GB version of the same NVMe (Samsung PRO NVMe SSD) to see if the 2TB size might have contributed to the write failure.
      I would have had better results if I had simply used the ones recommended by Core Electronics, but I had already made the purchase.

  • @TT-it9gg
    @TT-it9gg 6 місяців тому +2

    Pi5B v1.0 is only certified for Gen2x1 which is 350MB/s.
    But RK3588 is Gen3x4, tested for 2000+MB/s.

  • @DarcilioKreitlow
    @DarcilioKreitlow 3 місяці тому +1

    Perfeito. Ótimo vídeo e boa didática. Uma coisa. Ensina como usar casa OS.

  • @DarcilioKreitlow
    @DarcilioKreitlow 3 місяці тому

    Instalei o fydeOs, como acesso as configurações do raspberry pi5? o comando sudo raspi-config por exemplo, não funciona no terminal.

  • @ProtonD1200
    @ProtonD1200 10 днів тому

    From Denmark,
    Super site and good explanation.
    I just put a 1Tb M2 disk in my PI5, and then couldn't get it to boot from it.
    But I quickly found out by following your site, I subscribe to your site because I think you're good.
    But I'm thinking, what about cooling for the processor. ??.
    I had a small fan like this that was in the case, but it doesn't fit anymore.
    But otherwise I can just put a 120mm fan next to it, then blow some air into the cooling fins.
    Thumbs up

    • @Core-Electronics
      @Core-Electronics  9 днів тому

      We found that the official active cooler was able to fit underneath. It doesn't have much space to suck in air, but unless you are overclocking and stressing it all the time, it will be more than good enough!

  • @nikobellic570
    @nikobellic570 6 місяців тому +1

    Bought one and didn't like how it constricted airflow. For 12 dollars, I'm not complaining though. It gets in between the official case fan and CPU. I prefer the official case fan over the active cooler because its less noisy. Third party nvme cases probably cool it better

    • @Core-Electronics
      @Core-Electronics  6 місяців тому

      Some slightly longer stand-offs might fix the airflow issue, but we found that the active without the fan on (just using as a passive cooler), still performs well even when overclocked, so you might be able to play with your fan curves to keep them slow and quiet. It is a bit of a shame that it doesn't fit in the official case with the case's fan though...

    • @nikobellic570
      @nikobellic570 6 місяців тому

      Might give an unplugged active cooler a try. Passive, silent pi's have been so appealing ever since pi 1 ​@@Core-Electronics

  • @chrisk28
    @chrisk28 6 місяців тому +1

    Good video, well explained. You could do a video about the latest eeprom update which allows for online OS installation directly to the NVMe without an SD card.

    • @ShaneRounce
      @ShaneRounce 5 місяців тому

      How?! :O

    • @chrisk28
      @chrisk28 5 місяців тому

      @@ShaneRounce sudo rpi-eeprom-update -a

  • @MegaBlox_YT
    @MegaBlox_YT 6 місяців тому +4

    Great video 🔥

  • @MegaBlox_YT
    @MegaBlox_YT 6 місяців тому +3

    Could you use this for a raspberry pi NAS?

    • @Core-Electronics
      @Core-Electronics  6 місяців тому +1

      Yeah that would be a great application for the drive speeds.

  • @are6662
    @are6662 Місяць тому

    Apparently not working with Kioxia BG4 2230 m.2. I can see the drive and install the OS to it but it wont boot from it. If I try to boot it, the fan goes to 100% and nothing happens until like 1 or 2 minutes later comes red and white screen that say "trying to boot NVME" and nothing happens

  • @christopherboone5461
    @christopherboone5461 3 місяці тому

    Is it possible to set this up to dual boot into rasp pi os or into Venus os for controlling and monitoring victron kit.

  • @ClarkDarlton5000
    @ClarkDarlton5000 4 місяці тому

    Is there any case for this combination???

  • @CharlesKemp-ss5bk
    @CharlesKemp-ss5bk 5 місяців тому

    Great vid, thx! The instructions on the full guide link are very helpful. I know a M.2 2280 drive is too long for the secure screws on the Hat, but would a 2280 drive work after making a custom way to hold the drive in position?

    • @Core-Electronics
      @Core-Electronics  5 місяців тому

      I don't see any reason it shouldn't, as long as it is securely attached and makes a proper connection!

    • @CharlesKemp-ss5bk
      @CharlesKemp-ss5bk 5 місяців тому

      @@Core-Electronics Thx so much! I'm only asking because the price of the 1TB M.2 2280 drives are lower then the shorter 2242 drives.

    • @CharlesKemp-ss5bk
      @CharlesKemp-ss5bk 5 місяців тому +1

      UPDATE: I loaded Rasp Pi OS on a Samsung 970 EVO 2280 SSD NVMe M.3 500GB drive. I purchased the drive back in 2020 and have used it quite a lot for different projects. It boots and works perfectly!

  • @jyvben1520
    @jyvben1520 6 місяців тому

    i prefer the commands to be highlighted like on ExplainingComputers, also no info on the pcie cable placement, hope the item comes with good instructions.

    • @Core-Electronics
      @Core-Electronics  6 місяців тому

      We are always trying to improve our educational videos, I'll run it by out editor in the next video's production and we will give it a go!
      In terms of the PCIe cable, Raspberry Pi has done a good job, with how it comes out of the box its very difficult to incorrectly plug it in.

  • @pasisaarela4280
    @pasisaarela4280 2 місяці тому

    Help? Same Hat.. WD PC SN530 512Gb drive, latest August firmware, everything is done by this "book" and no errors, but not booting from NVME, what to do next? WD should be supported nowadays..

  • @ivwshane
    @ivwshane Місяць тому

    Because my case blocks the ssd card slot, is it possible to do this install using a usb drive instead? Or will the pi not natively boot from usb?

    • @Core-Electronics
      @Core-Electronics  Місяць тому

      Its definitely possible to boot a Pi from a USB! The steps are similar and here is a guide for that!
      raspberry.piaustralia.com.au/blogs/getting-started-with-raspberry-pi-5/usb-booting-and-network-attached-storage-nas?srsltid=AfmBOorA6DriH3TW3BTY_kwSKLwXLaCx76RwYLMnOgDUTwdOHpMKhaRy

  • @Not2Late2WakeUP
    @Not2Late2WakeUP 5 місяців тому +1

    I used an M.2 external usb adapter and loaded the image directly to the M.2 drive and booted from the nvme. No micro SD needed.

    • @fns58
      @fns58 4 місяці тому

      Which is exactly what he says in the video. He's obviously explaining this for the majority of us that don't have a random nvme reader laying around lol

    • @Not2Late2WakeUP
      @Not2Late2WakeUP 4 місяці тому

      @@fns58 My bad, I thought this was about upgrading to nvme.

  • @kexo465
    @kexo465 5 місяців тому

    Hi, I bought raspberry pi 5 recently with original active cooler, and I am concerned about airflow for the fan, because that m.2 hat+ seems to be really close on top. Will it impact temperature of my Pi or will it stay same? And also what if m.2 drive heats up?

    • @Core-Electronics
      @Core-Electronics  5 місяців тому +1

      We have found that the active cooler without the fan plugged in is sufficient to cool the Pi 5 in day to day desktop tasks (not overclocked), so with a little more airflow (even if restricted), it should be alright. If you need some more airflow, some slightly higher stand-offs might help. M.2 drives do have a reduced lifespan when they are run hot, but the heat from the Pi shouldn't be too much of an issue in general use. If you are really worried about it, a cheap heatsink on the NVME might do the trick!

    • @kexo465
      @kexo465 5 місяців тому

      @@Core-Electronics Thank you for the info!

  • @birbalkumar7038
    @birbalkumar7038 25 днів тому

    sir i want to install kali linux tell me what should i do

  • @Demosophist
    @Demosophist 3 місяці тому

    I have a hat that allows 2280 drive, but I don't see it in the file explorer. I'm not sure I've installed the ribbon connector correctly. It looks like it would fit both ways so I may have it 180 degrees wrong, but how would I know?

    • @Core-Electronics
      @Core-Electronics  3 місяці тому

      Sorry for the late reply, when you plug the cable into the Pi 5, the Pins should face toward the USB ports, if you are still having issues, feel free to chuck us a post on the forum post for this video, we have lots of maker eyes over there that can help. Just give us a little bit of information about your setup.
      forum.core-electronics.com.au/t/how-to-add-an-ssd-to-your-raspberry-pi-5-with-the-m-2-hat/19959

  • @MegaBlox_YT
    @MegaBlox_YT 6 місяців тому +3

    You guys should sell stickers 🔥

    • @Unrealdanrath
      @Unrealdanrath 6 місяців тому +2

      I’ve had stickers from them included in my orders before at no additional charge!

    • @MegaBlox_YT
      @MegaBlox_YT 6 місяців тому +1

      @@Unrealdanrath lucky!

  • @SA-oj3bo
    @SA-oj3bo 6 місяців тому

    Hi, to run YOLO on a RP5 to do obeject detection, could you help me to understand what I need exactly? Thanks.

  • @flywheeldk
    @flywheeldk 6 місяців тому

    How about update the firmware to latest via SD-cardand then boot up in the onboard installer and install from there ?

    • @Core-Electronics
      @Core-Electronics  6 місяців тому +1

      You could definitely do it in that order, but the firmware issue may only be an issue for Pi 5s that rolled off the factory line early and don't have the newer "post-april-2024" firmware, so we left it as sort of an addendum.

  • @TheBigChinoDon
    @TheBigChinoDon 6 місяців тому

    Can you still use an audio HAT like the DAC Pro in conjunction with the M.2 HAT?

    • @Core-Electronics
      @Core-Electronics  6 місяців тому

      Its definitely possible! You will just need to stack the DAC Pro on top of the M.2 HAT and find some appropriate stand-offs and 40-pin risers if you want to make it look elegant!

  • @stevegrimeszz
    @stevegrimeszz 6 місяців тому +1

    uh dtparam=pciex1_gen3 ???
    or
    dtparam=pciex1_gen=3 ???

    • @Core-Electronics
      @Core-Electronics  6 місяців тому

      Great catch Steve! Don't know how we missed that little equals sign, will put up a disclaimer so folks don't miss it as well. 😊

  • @Burgerhs
    @Burgerhs 5 місяців тому

    Question. Im using roboflow on my surface pro and steam deck my model is getting 5fps with this be faster? I need at least 30fps

    • @Core-Electronics
      @Core-Electronics  5 місяців тому

      The Pi 5 is meant to be a small low-cost computer and your steam deck will likely be many times faster than it unfortunately. ☹️

    • @Burgerhs
      @Burgerhs 5 місяців тому

      @Core-Electronics I dropped the size from 640x640 to 200x200 I'm at 22fps now detection is good. What if I use the Google coral board or the Google coral tpu usb one? Will performance be

  • @Gilndrei
    @Gilndrei 4 місяці тому

    Can i use nvme 2280? I bought pi m.2 hat+ yesterday

    • @Core-Electronics
      @Core-Electronics  4 місяці тому

      The M.2 HAT only has mounting holes for a 2230 or 2240 sized NVME. But a 2280 NVME will technically work, you will just have no way to securely mount it to the board.

    • @Gilndrei
      @Gilndrei 4 місяці тому

      Thanks mate! I manage to boot it from nvme 2230.
      May i ask is it possible to install pinn os on nvme?

  • @biskero
    @biskero 5 місяців тому

    is there a hat to have dual PCIe slots to have a NVMe and the AI Kit?

    • @Core-Electronics
      @Core-Electronics  5 місяців тому +1

      There are hats out there to do that, but you may run into some issues getting both going. The place to check out would be the legendary Jeff Geerling who does incredible things with Pi stuff: www.jeffgeerling.com/blog

  • @kotgc7987
    @kotgc7987 4 місяці тому

    What happens to the heat sync and cooling fan?

    • @Core-Electronics
      @Core-Electronics  4 місяці тому

      With the default stand offs, the active cooler will fit underneath. It doesn't have much room above it though, but it should be plenty enough even when overclocked.

  • @DarrylAdams
    @DarrylAdams 6 місяців тому +1

    Suprised you did not talk about firmware net installer. Then again that can be another video. Great video though!

    • @Core-Electronics
      @Core-Electronics  6 місяців тому

      G'day Darryl, always glad to see your round when we drop a Pi 5 video!
      We were tossing it up when writing the video, but we thought we would get a short and sweet guide out that can be followed by beginners. It's in the big pile of potential future videos though!

  • @SunLISunTube
    @SunLISunTube 3 місяці тому

    Simply clone the OS from the SD card to the NVme drive. Then the job is done ! What about M.2 2280 form factor SSDs?

    • @Core-Electronics
      @Core-Electronics  3 місяці тому +1

      This hat only accepts up to a 2240, but other 3rd party vendors have released their own HATs that accept 2280s if you need, but you can often find the smaller ones in the same price range nowadays.
      Here is a Pimoroni HAT that accepts 2280: core-electronics.com.au/nvme-base-for-raspberry-pi-5-nvme-base.html

    • @SunLISunTube
      @SunLISunTube 3 місяці тому

      @@Core-Electronics Great ! 👍 Thanks

  • @3dhYT
    @3dhYT 6 місяців тому

    You're like Stan S. Stanman from The Secret of Monkey Island 😉

    • @Core-Electronics
      @Core-Electronics  6 місяців тому

      Now that's the first time in a long time we've had to google a reference!

  • @stevesun11001
    @stevesun11001 3 місяці тому

    Raspberry Pi should launch at least a two-lane PCIe bus, instead of single-lane! Single lane is gonna create read/write bottle neck!

  • @MarcusPocus
    @MarcusPocus 6 місяців тому

    i will come back to view again later at x0.5 speed.. you are too fast for me but that look simple with elegance!!

  • @Akshun82
    @Akshun82 6 місяців тому +1

    Niiice!

  • @mikedeath7333
    @mikedeath7333 5 місяців тому

    Poe?

  • @paulfg5230
    @paulfg5230 5 місяців тому

    is there an R is Data, comon

  • @jamesbiggleworth4458
    @jamesbiggleworth4458 Місяць тому

    For god's sake stop waving your arms/hands around so much - it detracts form the message you are trying to get across

  • @alevans51
    @alevans51 6 місяців тому

    Please button your shirt.

  • @hardwareful
    @hardwareful 2 місяці тому

    I'll have to give you a thumbs down because youtube deleted my comment on the subject.

  • @MegaBlox_YT
    @MegaBlox_YT 6 місяців тому +1

    I was here when it was uploaded 36 seconds ago 🫢