new pi5 with m.2 hat can not find ssd

  • hello

    ist nur eine info

    https://www.raspberrypi.com/documentation/computers/configuration.html

    Example config.txt


  • Spotted this in Google results: https://wiki.geekworm.com/NVMe_SSD_boot_…_Raspberry_Pi_5 which states "We recommend avoiding the following NVMe SSD drives which is equipped with a Phison controller due to their proven incompatibility:" .. and the Corsair MP600 is listed. However there are notes on the same page and posts in RPi forums that hint some devices are then working with after RPi firmware updates (and with updates from early 2024, which is some time ago now).

    So three things to do:

    • Update to a current LE13 nightly (these are stable)
    • Update the RPi eeprom firmware to latest (can be done via LE settings add-on)
    • See if adding dtparam=pciex1_gen=3 to /flash/config.txt helps

    Do one thing at a time so you can see what made the difference, should it start working. If it doesn't, I'll be pointing fingers at the Phison controller and suspecting not-all issues are resolved.

    EDIT: Also share the URL from "dmesg | paste" so we can see if there's something in the system log.

  • Code
    RPi5:~ # ls -l /dev/nvme*
    crw-------    1 root     root      243,   0 Dec  6 03:29 /dev/nvme0
    brw-rw----    1 root     disk      259,   0 Dec  6 03:29 /dev/nvme0n1
    brw-rw----    1 root     disk      259,   1 Dec  6 03:29 /dev/nvme0n1p1
    brw-rw----    1 root     disk      259,   2 Dec  6 03:29 /dev/nvme0n1p2

    If you do ^ that, do you see at least /dev/nvme0 listed? - I'm not really seeing any errors but there's no mention of any partitions being checked or mounted. The probable and logical explanation for that would simply be that none exist on the drive and you need to create one, e.g. (not 100% sure of the commands here, am working from memory):

    Code
    parted -s /dev/nvme0n1 mklabel gpt
    parted -s /dev/nvme0n1 mkpart primary ext4 40s 100%
    parted -s /dev/nvme0n1 name 1 'MEDIA'
    mkfs.ext4 -L "MEDIA" /dev/nvme0n1p1
    fsck.ext4 -y /dev/nvme0n1p1

    If that's not the issue I'm unsure what the actual issue is, so hard to advise.

  • We might be getting somewhere i see /dev/nvme0 and /dev/nvme0n1 the new ssd is 2 t in size if lable one how do i determine?


    KodiJr:~ # ls -l /dev/nvme*
    crw------- 1 root root 243, 0 Dec 5 22:02 /dev/nvme0
    brw-rw---- 1 root disk 259, 0 Dec 5 22:02 /dev/nvme0n1

    Edited once, last by sparkplug: Mistake more info (December 6, 2024 at 6:21 AM).

  • Yup, looks like the device is present but there are no paritions/filesystems - You need to create one. The commands I shared in the second code-block above should fix that.

  • ~ # fsck.ext4 -y /dev/nvme0n1p1
    e2fsck 1.47.1 (20-May-2024)
    ext2fs_open2: Bad magic number in super-block
    fsck.ext4: Superblock invalid, trying backup blocks...
    fsck.ext4: Bad magic number in super-block while trying to open /dev/nvme0n1p1

    The superblock could not be read or does not describe a valid ext2/ext3/ext4
    filesystem. If the device is valid and it really contains an ext2/ext3/ext4
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
    or
    e2fsck -b 32768 <device>

    (hates me)

  • question

    why don't I read that he "flashed" or copied a (BS) Kodi on the NVMe and changed the config to NVMe!??

    e.g. with https://www.raspberrypi.com/software/operating-systems/

    on usb and then reboot to the NVMe (without sd card copy) only because of the config and boot order

    unfortunately I only have instructions in german

    Display Spoiler

    frage (deutsch)
    warum lese ich nicht das er ein (BS) Kodi auf der NVMe "geflasht" bzw. kopiert hat und die config auf NVMe umgestellt hat!?
    zb. mit https://www.raspberrypi.com/software/operating-systems/
    auf usb und dann mit reboot auf die NVMe zu kommen (ohne sd Card Copy) nur wegen der config und bootreienfolge
    leider hab ich nur anleitungen auf deutsch


    NVMe SSD boot with the Raspberry Pi 5 - Geekworm Wiki

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    /shrug:?:

    I apologise if I have misunderstood