# DietPi failed to boot M2 SSD problem

**URL:** <https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562>\
**Category:** Troubleshooting\
**Created:** [20 October 2025 06:01 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562 "2025-10-20T06:01:28Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![miTim](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@miTim](https://dietpi.com/forum/u/miTim)\
**Post date:** [20 October 2025 06:01 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/1 "2025-10-20T06:01:28Z")

</div>

### Creating a bug report/issue

X I have searched the existing open and closed issues

#### Required Information

- DietPi version | `unknown`
- Distro version | `unknown`
- Kernel version | `unknown`
- SBC model | `RPi 4 4GB`
- Power supply used | RPi Power Supply
- SD card used | m2 SSD WD Red 1TB

#### Additional Information (if applicable)

- Software title | Nextcloud
- Was the software title installed freshly or updated/migrated? Updated
- Can this issue be replicated on a fresh installation of DietPi? No.

#### Steps to reproduce

1. Power on RPi
2. Boot screen stuck

#### Expected behaviour

- clean boot

#### Actual behaviour

- M2 not recognised

#### Extra details

- I tried to update my DietPi and kernel with a running Nextcloud. Update didn’t worked correctly: Asked me to reboot and did that several times bot reboot was still recommended.
- Next I tried to restore the DietPi Backup I created before: Backup failed after reboot: New problem - DietPi can’t boot. I ran into [this](https://dietpi.com/forum/t/firmware-not-found-error-after-update/5418) problem (firmware not detected).
- Took out the M2 SSD and attached it to my Laptop: Doesn’t show. In the Drives App it is shown with no media
- sudo fdisk -l gives me this:
- 

```auto
Festplatte /dev/loop0: 4 KiB, 4096 Bytes, 8 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop1: 63,77 MiB, 66863104 Bytes, 130592 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop2: 63,77 MiB, 66871296 Bytes, 130608 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop3: 73,91 MiB, 77504512 Bytes, 151376 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop4: 73,92 MiB, 77512704 Bytes, 151392 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop5: 11,75 MiB, 12320768 Bytes, 24064 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop6: 22,57 MiB, 23666688 Bytes, 46224 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop7: 247,14 MiB, 259145728 Bytes, 506144 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/nvme0n1: 1,82 TiB, 2000398934016 Bytes, 3907029168 Sektoren
Festplattenmodell: WD_BLACK SN770 2TB                      
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 6492EE0B-F5F4-422D-B1A9-E7A02A0F524D

Gerät Anfang Ende Sektoren Größe Typ
/dev/nvme0n1p1 2048 411647 409600 200M EFI-System
/dev/nvme0n1p2 411648 444415 32768 16M Microsoft reserviert
/dev/nvme0n1p3 444416 1857572863 1857128448 885,5G Microsoft Basisdaten
/dev/nvme0n1p4 3905572864 3907026943 1454080 710M Windows-Wiederherstellung
/dev/nvme0n1p5 1857572864 3905572863 2048000000 976,6G Linux-Dateisystem

Partitionstabelleneinträge sind nicht in Festplatten-Reihenfolge.

Festplatte /dev/loop8: 249,22 MiB, 261324800 Bytes, 510400 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop9: 11,13 MiB, 11673600 Bytes, 22800 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop10: 516,01 MiB, 541073408 Bytes, 1056784 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop13: 91,69 MiB, 96141312 Bytes, 187776 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop12: 516,2 MiB, 541278208 Bytes, 1057184 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop11: 18,49 MiB, 19386368 Bytes, 37864 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop14: 56,86 MiB, 59625472 Bytes, 116456 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop15: 437,35 MiB, 458592256 Bytes, 895688 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop16: 14,42 MiB, 15118336 Bytes, 29528 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop17: 10,83 MiB, 11354112 Bytes, 22176 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop19: 49,29 MiB, 51687424 Bytes, 100952 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop18: 50,77 MiB, 53235712 Bytes, 103976 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop20: 568 KiB, 581632 Bytes, 1136 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop21: 576 KiB, 589824 Bytes, 1152 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop22: 226,22 MiB, 237207552 Bytes, 463296 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop23: 226,21 MiB, 237203456 Bytes, 463288 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

```

- Is there a way to recover the SSD? I searched 3 days and can’t find a way out. 😑

---

<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:** [20 October 2025 07:19 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/2 "2025-10-20T07:19:34Z")

</div>

did you connect the SSD to a windows laptop?

You can try to boot your RPI4 from SD card and have the SSD connected via USB. This way you can have a look if your SSD is detected still

---

<div class="post-metadata">

**Author:** ![miTim](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@miTim](https://dietpi.com/forum/u/miTim)\
**Post date:** [20 October 2025 08:49 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/3 "2025-10-20T08:49:26Z")

</div>

Yes, it’s detected under Windows: Windows wants to create a partition table but fails.

---

<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:** [20 October 2025 09:04 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/4 "2025-10-20T09:04:50Z")

</div>

Windows is not able to manage/read Linux file systems. Therfore you should not try to do anything with the SSD on Windows. It will damage more than it helps

---

<div class="post-metadata">

**Author:** ![miTim](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@miTim](https://dietpi.com/forum/u/miTim)\
**Post date:** [20 October 2025 10:04 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/5 "2025-10-20T10:04:51Z")

</div>

I connected it to the Ubuntu laptop, result was “no media” and the lines above.

I’ve it’s a difference attached to an RPi I’ll give it a try.

---

<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:** [20 October 2025 10:19 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/6 "2025-10-20T10:19:58Z")

</div>

following to be used on a Linux system

```auto
lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid

```

This should show all connected disk including their partitions.

---

<div class="post-metadata">

**Author:** ![miTim](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@miTim](https://dietpi.com/forum/u/miTim)\
**Post date:** [20 October 2025 17:29 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/7 "2025-10-20T17:29:35Z")

</div>

Here it is. A lot of loops(?):

```auto
lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
NAME FSTYPE LABEL SIZE RO TYPE MOUNTPOINT PARTUUID UUID
loop0
     squash 63,8M 1 loop /snap/core                                      
loop1
     squash 4K 1 loop /snap/bare                                      
loop2
     squash 63,8M 1 loop /snap/core                                      
loop3
     squash 73,9M 1 loop /snap/core                                      
loop4
     squash 11,8M 1 loop /snap/desk                                      
loop5
     squash 22,6M 1 loop /snap/desk                                      
loop6
     squash 73,9M 1 loop /snap/core                                      
loop7
     squash 249,2M 1 loop /snap/fire                                      
loop8
     squash 247,1M 1 loop /snap/fire                                      
loop9
     squash 516M 1 loop /snap/gnom                                      
loop10
     squash 11,1M 1 loop /snap/firm                                      
loop11
     squash 18,5M 1 loop /snap/firm                                      
loop12
     squash 516,2M 1 loop /snap/gnom                                      
loop13
     squash 437,3M 1 loop /snap/kde-                                      
loop14
     squash 91,7M 1 loop /snap/gtk-                                      
loop15
     squash 56,9M 1 loop /snap/mumb                                      
loop16
     squash 10,8M 1 loop /snap/snap                                      
loop17
     squash 14,4M 1 loop /snap/prom                                      
loop18
     squash 49,3M 1 loop /snap/snap                                      
loop19
     squash 50,8M 1 loop /snap/snap                                      
loop20
     squash 576K 1 loop /snap/snap                                      
loop21
     squash 226,2M 1 loop /snap/thun                                      
loop22
     squash 568K 1 loop /snap/snap                                      
loop23
     squash 226,2M 1 loop /snap/thun                                      
sda 0B 0 disk                                                 
nvme0n1
│ 1,8T 0 disk                                                 
├─nvme0n1p1
│ vfat 200M 0 part /boot/efi fc32ab5a-f14b-4c4c-8c2a-12384f3b3ce7 CA2F-65E9
├─nvme0n1p2
│ 16M 0 part bdc5b4b8-5500-4b99-84b5-54b7849b1ac7 
├─nvme0n1p3
│ ntfs 885,5G 0 part 652ce1f4-490d-45ef-b874-572789d5180b 760431A704316B6F
├─nvme0n1p4
│ ntfs 710M 0 part e03faec8-4798-4bdd-abe5-ee7d41776ce2 ECB64ADAB64AA4C4
└─nvme0n1p5
     ext4 976,6G 0 part / 5bdbf3fd-4321-4d9b-8379-453d1868e0d0 0e58cc97-2fd9-45f2-be79-ef3776d05068

```

But not the SSD drive 🫠

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [20 October 2025 17:42 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/8 "2025-10-20T17:42:08Z")

</div>

The loop devices coming from snap, so you installed some software via snap?!  
But the interesting part is this (the NVME ssd)

```sh
nvme0n1
│ 1,8T 0 disk                                                 
├─nvme0n1p1
│ vfat 200M 0 part /boot/efi fc32ab5a-f14b-4c4c-8c2a-12384f3b3ce7 CA2F-65E9
├─nvme0n1p2
│ 16M 0 part bdc5b4b8-5500-4b99-84b5-54b7849b1ac7 
├─nvme0n1p3
│ ntfs 885,5G 0 part 652ce1f4-490d-45ef-b874-572789d5180b 760431A704316B6F
├─nvme0n1p4
│ ntfs 710M 0 part e03faec8-4798-4bdd-abe5-ee7d41776ce2 ECB64ADAB64AA4C4
└─nvme0n1p5
     ext4 976,6G 0 part / 5bdbf3fd-4321-4d9b-8379-453d1868e0d0 0e58cc97-2fd9-45f2-be79-ef3776d05068

```

On the drive is one ext4 partition (probably DietPi) and a whole windows installation, but no `/boot` for booting the DietPi installation. how this happened only you know 🙂

Do you have a backup of your working dietpi installation?

---

<div class="post-metadata">

**Author:** ![miTim](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@miTim](https://dietpi.com/forum/u/miTim)\
**Post date:** [20 October 2025 17:48 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/9 "2025-10-20T17:48:46Z")

</div>

It’s just the NVME of my laptop, looks like the external NVME isn’t listed. 😑

I’ve got an 2 years old backup on an SD-card.

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [20 October 2025 17:51 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/10 "2025-10-20T17:51:40Z")

</div>

Ah okay, so you have dual boot on the laptop, ok.  
If it’s not listed I would say it’s dead 💀 or something wrong with the cables or the case?

---

<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:** [20 October 2025 17:55 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/11 "2025-10-20T17:55:15Z")

</div>

Indeed seems to be a hardware issue of the external disk if not listed.

---

<div class="post-metadata">

**Author:** ![miTim](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@miTim](https://dietpi.com/forum/u/miTim)\
**Post date:** [20 October 2025 20:34 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/12 "2025-10-20T20:34:31Z")

</div>

Case and cable are checked with a different SSD. Maybe the “workload” of the backup destroyed it. Thanks for your help and ideas!

---

<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:** [20 October 2025 20:39 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/13 "2025-10-20T20:39:18Z")

</div>

Not sure how this should be possible

---

<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:** [17 April 2026 08:39 UTC](https://dietpi.com/forum/t/dietpi-failed-to-boot-m2-ssd-problem/24562/14 "2026-04-17T08:39:20Z")

</div>

Closed on 17 April 2026 08:39 UTC

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