this post was submitted on 17 Jun 2023
1 points (100.0% liked)

Linux

48193 readers
1370 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

top 9 comments
sorted by: hot top controversial new old
[–] Laser@feddit.de 1 points 1 year ago (1 children)

It seems your initramfs can't find your root disk with the given UUID. What happens when you ls /dev/disk/by-uuid?

[–] HotsauceHurricane@lemmy.one 0 points 1 year ago (1 children)

these for listings come up

[–] Laser@feddit.de 0 points 1 year ago (1 children)

OK, but I meant from the actual emergency shell. How did you get to your terminal with the failing boot if I may ask?

[–] HotsauceHurricane@lemmy.one 1 points 1 year ago (1 children)

This is a live usb boot repair. It has sudo privileges.

[–] Laser@feddit.de 1 points 1 year ago (1 children)

Oh, ok, thanks. It seems the UUID is correct, so the question why your initramfs doesn't find it remains unsolved. Which distribution are you using in the first place? An ubuntu derivative as well?

[–] HotsauceHurricane@lemmy.one 1 points 1 year ago

It’s Ubuntu cinnamon. I believe the hard drive had failed/ been corrupted. I tried reinstalling and it said the computer only has 8 gb of space. So it was trying to install it on the live usb I was using.

[–] l3mming@lemmy.fmhy.ml 0 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] HotsauceHurricane@lemmy.one 0 points 1 year ago (1 children)

“Sudo mount /dev/nvme0n1 /mnt/ext” brings up “mount point does not exist”. Same with /dev/sda.

[–] l3mming@lemmy.fmhy.ml 1 points 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'