When I boot up I get this message and can’t log on. [ 0.185085] ×86/cpu: SGX disabled bBIOS. Gave up waiting for root file system device. Common problems:

Boot args (cat /proc/cmdline) Check rootdelay= (did the system wait long enough?) Missing modules (cat /proc/modules; Is /dev) ALERT! UUID-df5bOe 76-28ce-4248-8010-1a01d98f0449 does not exist. Dropping to a shell! Enter *nel.30 for burst of .39 t-7ul unturn bullt-in shell (ash) List item

Does anyone know how to fix this?

  • l3mming@lemmy.fmhy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Sounds like your hard drive has failed or has been disconnected.

    1. Ensure all usb sticks are removed and your hard drive is connected (disconnect and reconnect).

    2. If it still won’t boot, create an iso live usb image for your distro and boot from that usb stick.

    3. Try to mount your old hard drive partition (it’ll look something like /dev/sda1 or /dev/nvme0n1p1). For example, to mount /dev/sda1 under /mnt you would use “mount /dev/sda1 /mnt/ext”. Then the files on the partition should be available under /mnt.

    4. If you can mount it and see files, verify the entries under /etc/fstab. Ensure the UUID in fstab matches the UUID of the drive. Use a command like: “sudo lsblk -f | grep -v loop”

    5. If you can’t mount it or it says it has errors, run fsck on the partition (eg: fsck /dev/sda1),but be sure it IS NOT MOUNTED.

    6. If you still can’t get it to work, it’s probably dead. You may be still able to bring it back to life, but you will definitely LOSE YOUR DATA: Plug the drive into a windows machine and let it format it as NTFS. Then pull it out, plug it into linux and reformat as ext4 or whatever. Use a tool like smartctl to verify your drive’s health. If it’s looking good then reinstall Linux.

      • l3mming@lemmy.fmhy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Check that /mnt exists. If it does, just to a mkdir there of whatever you want to call the partition. For example you could mkdir /mnt/bad_disk if you want. Then your mount command becomes ‘sudo mount /dev/nvme0n1 /mnt/bad_disk’ . Then you’d see its contents with ‘ls /mnt/bad_disk’