ubuntu doesn’t work :UUID=xxxx does not exitst

My computer has two systems, Windows 10 and ubuntu18.04. Today, when I tried to get into Ubuntu(I already laid it aside for about one week ), the whole screen showed pure purple for at least 10 minutes, so I forced the computer to shut down.Then when I tried to get into Ubuntu again, it showed :
[enter image description here][1]
Then I tried to open ubuntu in recovery mode,but the outcome was same.And I also tried this solution:https://forums.linuxmint.com/viewtopic.php?t=47594,doesn’t work either.
At last I run fsck.ext4 -y /dev/sda1(where the root is),and showed:
[enter image description here][2]
Anyone know how to deal with is issue?Any help would be appreciated!
[1]: https://i.stack.imgur.com/n0nw2.png
[2]: https://i.stack.imgur.com/xEiga.png

Go to Source
Author: OilLight

Why can’t grub find the disk by UUID?

I’m trying to troubleshoot why I can’t boot to Windows.

The relevant entry in grub.cfg is:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-efi-BC6E-0415' {
        insmod part_gpt
        insmod fat
        set root='hd0,gpt3'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  BC6E-0415
        else
          search --no-floppy --fs-uuid --set=root BC6E-0415
        fi
        chainloader /efi/Microsoft/Boot/bootmgfw.efi
}

Best I can tell, everything here is correct:
/dev/disk/by-uuid/BC6E-0415 is indeed the Windows boot manager partition.

However I’m slightly confused by the references to (hd0,gpt3) because that’s a completely different partition on a completely different physical disk. hd0 is the disk on which grub is installed though, in case that’s relevant.

The actual error I get when I try and boot Windows is:

error: no such device: BC6E-0415
error: file `/efi/Microsoft/Boot/bootmgfw.efi' not found

I do notice that in grub, if I drop to a grub command prompt and do an ls, the only hard disk I see listed is hd0 when my system actually has 4 hard disks. As I mentioned above, hd0 is the hard disk that has grub and my Linux installs.

So I think my question might be: why, when I boot to grub, can’t grub see any hard disks besides the one grub is on?

If I boot into Linux (Ubuntu 20.04.1) I can see all my hard disks just fine.

Go to Source
Author: Bridgey

install grub on mounted filesystem

I have booted rescue linux (init ram fs), and mounted /dev/sda1 on /mnt/sda1

/dev/sda1 is a linux partition, but /dev/sda has no mbr.

Howe can I install grub on mounted filesystem /mnt/sda1 ?

I tried:

mount /dev/sda1 sda1/
mount -t proc /proc proc/
mount -t sysfs sysfs sys
chroot .

but then, when i do grub-install /dev/sda, I get this error:

Installing for i386-pc platform.
grub-install: error: failed to get canonical path of `/dev/sda1'.

Go to Source
Author: 400 the Cat

No display (only) during GRUB menu

I installed Ubuntu 20.04.1 LTS yesterday on my three year old or so Ryzen powered Lenovo desktop, which has an LG TV connected to it in a dual booting with Windows 10 configuration, but when GRUB loads up, everything about my TV goes dark (no backlight either.) I have BIOS, and I get the Ubuntu loading screen as it boots to desktop. Haven’t messed with Linux heavily since the days of Mandrake 7.2 and have been looking to get back into it, though I have been using it as a desktop for lower powered machines the entire time. (I also used LILO then, as GRUB had compatibility issues. I keep hearing this has not changed and is likely an issue here.) I have followed a few tutorials I found here and there in attempt to get a fairly basic text display or something, so that I can see what option I am selecting, should I hope to go into Windows, though I’ve realized no change in the situation thus far. What are some things I can look for to restore sight to GRUB?

Go to Source
Author: Roger Gilbert