# DietPi / rpi 5 / NVME M2 SSD

**URL:** <https://dietpi.com/forum/t/dietpi-rpi-5-nvme-m2-ssd/23806>\
**Category:** General Discussion\
**Created:** [16 July 2025 15:30 UTC](https://dietpi.com/forum/t/dietpi-rpi-5-nvme-m2-ssd/23806 "2025-07-16T15:30:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![oxoocoffee](https://dietpi.com/forum/user_avatar/dietpi.com/oxoocoffee/32/5856_2.png) [@oxoocoffee](https://dietpi.com/forum/u/oxoocoffee)\
**Post date:** [16 July 2025 15:30 UTC](https://dietpi.com/forum/t/dietpi-rpi-5-nvme-m2-ssd/23806/1 "2025-07-16T15:30:49Z")

</div>

Hello

I like to setup a new DietPi v9.14 with rpi-5 and [NVME M2 SSD X1001](https://wiki.geekworm.com/X1001).

- Connected `NVME M2 SSD X1001 HAT` to `rpi-5`. But no `SSD` inserted yet.
- Just created a fresh SD card with v9.14 image.
- Booted and completed initial DietPi setup.
- Did updated eeprom to the latest

```bash
BOOTLOADER: up to date
   CURRENT: Thu May 8 14:13:17 UTC 2025 (1746713597)
    LATEST: Thu May 8 14:13:17 UTC 2025 (1746713597)
   RELEASE: default (/usr/lib/firmware/raspberrypi/bootloader-2712/default)
            Use raspi-config to change the release

```

Have a few questions.

- Is `HAT X1001` is supported by `v9.14`?
- What should be my next steps? I did read few posts regarding `rip-4` and external `SSD` which seems to be `USB`.
- Do I need to modify `eeprom`, before booting from `SSD`?

```bash
# rpi-eeprom-config 
[all]
BOOT_UART=1
POWER_OFF_ON_HALT=0
BOOT_ORDER=0xf461

```

- Should `dd` the original `DietPi_RPi5-ARMv8-Bookworm.img` onto the `SSD NVME` first?
- Insert the SSD to `rip-5` / `HAT`, remove `SD Card `and attempt to boot and finish the initial setup again?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [16 July 2025 16:24 UTC](https://dietpi.com/forum/t/dietpi-rpi-5-nvme-m2-ssd/23806/2 "2025-07-16T16:24:58Z")

</div>

> [@oxoocoffee](#):
>
> Is `HAT X1001` is supported by `v9.14`?

this has nothing to do with DietPi or a version of DietPi. Booting from nvme is supported/provided by the original RPI firmware.

As soon as the [BOOT\_ORDER](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#BOOT_ORDER) has been configured (once vis SD card), you should be able to flesh a new image to your nvme directly.

---

<div class="post-metadata">

**Author:** ![oxoocoffee](https://dietpi.com/forum/user_avatar/dietpi.com/oxoocoffee/32/5856_2.png) [@oxoocoffee](https://dietpi.com/forum/u/oxoocoffee)\
**Post date:** [16 July 2025 17:18 UTC](https://dietpi.com/forum/t/dietpi-rpi-5-nvme-m2-ssd/23806/3 "2025-07-16T17:18:17Z")

</div>

Thank you for you time.

So do this in this order.

- Write `DietPi_RPi5-ARMv8-Bookworm.img` to the SSD? Not the `SD` card I already booted and configured?
- Looks like the default value `BOOT_ORDER=0xf461` should be good. As I am reading it is from right to left. So I could change it to `BOOT_ORDER=0xf416` if I like to boot from NVME then try SD. But in this case I would have to remove the SSD to boot from SD card. I am assuming the default check for SD card `1` if empty will have minimal boot time effect if SD card is not inserted?
- Complete setup if SSD was `dd` from the `img` file vs `SD` card.

Any recommended tools to test stability of the SSD drive, after I boot?  
Should I use `lspci` or some other tool to see the HAT controller and SSD?

Tx

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [16 July 2025 17:59 UTC](https://dietpi.com/forum/t/dietpi-rpi-5-nvme-m2-ssd/23806/4 "2025-07-16T17:59:41Z")

</div>

> [@oxoocoffee](#):
>
> Write `DietPi_RPi5-ARMv8-Bookworm.img` to the SSD?

that’s an option

> [@oxoocoffee](#):
>
> Not the `SD` card I already booted and configured?

another option to copy SD card to SSD using `dd`

> [@oxoocoffee](#):
>
> BOOT\_ORDER=0xf416

depends on your preferences what you like to boot first. You are free to test options `f416` or `f461` (without SD card) to see what fits your needs

> [@oxoocoffee](#):
>
> Should I use `lspci` or some other tool to see the HAT controller and SSD?

you can use `lsblk` to check if the SSD is visible. But for this you would need to boot of your SD. Booting from SSD will already confirm SSD working.

---

<div class="post-metadata">

**Author:** ![oxoocoffee](https://dietpi.com/forum/user_avatar/dietpi.com/oxoocoffee/32/5856_2.png) [@oxoocoffee](https://dietpi.com/forum/u/oxoocoffee)\
**Post date:** [29 July 2025 20:55 UTC](https://dietpi.com/forum/t/dietpi-rpi-5-nvme-m2-ssd/23806/5 "2025-07-29T20:55:17Z")

</div>

It worked. Tx

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [27 October 2025 20:55 UTC](https://dietpi.com/forum/t/dietpi-rpi-5-nvme-m2-ssd/23806/6 "2025-10-27T20:55:40Z")

</div>

Closed on 27 October 2025 20:55 UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
