I use to have a dual system with KDE Neon and Windows 10, all happy together in my lap Asus s510U. One week ago, the f… Windows decided to update without questioning me. It also changed all my BIOS configuration; this action made it impossible for my Linux to boot. So what I did in sequential order is:
- Change the BIOS again; now Linux worked fine again.
- After using both systems (I ca’nt remember how often) without problem, I was using Linux, the next day when I started my computer I had a black screen. It doesn’t load anything. (I think I have GRUB.)
- So I have problems to start live Mint USB in UEFI mode, but finally I started it, installed boot-repair, and it supposed to repair it. (It is important to mention that I have boot in a separate partition of 500 MB.)
- But when I start again, it stops in the grub menu, without booting Linux.
- Because it didn’t work, I tried to reinstall grub manually, but I have the same results.
- I try to did this on the bios… sdb1/EFI/neon/shimx64.efi, but it came in different nomenclature. I found the file shimx64.efi but doesn’t boot at all.
Can somebody help me?
I don’t really know how to fix it.
I leave you some info of the boot.repair and of my system configuration.
Boot successfully repaired!!!
Boot Repair URL:
http://paste.ubuntu.com/p/ZnGHZ4HmG5/
My disk:
sudo fdisk -l
Disk /dev/sdb: 119.2 GiB, 128035676160 bytes, 250069680 sectors<br>
Units: sectors of 1 * 512 = 512 bytes<br>
Sector size (logical/physical): 512 bytes / 4096 bytes<br>
I/O size (minimum/optimal): 4096 bytes / 4096 bytes<br>
Disklabel type: gpt<br>
Disk identifier: xxx
Device Start End Sectors Size Type<br>
/dev/sdb1 2048 534527 532480 260M EFI System<br>
/dev/sdb2 534528 567295 32768 16M Microsoft reserved<br>
/dev/sdb3 567296 121028607 120461312 57.5G Microsoft basic data<br>
/dev/sdb4 248430592 250068991 1638400 800M Windows recovery environment<br>
/dev/sdb5 121028608 122052607 1024000 500M Linux filesystem<br>
/dev/sdb6 122052608 126148607 4096000 2G Linux swap<br>
/dev/sdb7 126148608 248429857 122281250 58.3G Linux filesystem<br>
My boot directory:
/mnt/boot$ ls -al
total 194116
drwxr-xr-x 5 root root 4096 Jun 19 00:23 .
drwxr-xr-x 25 root root 4096 Jun 19 00:23 ..
-rw------- 1 root root 4049455 Jan 29 15:39 System.map-4.15.0-45-generic
-rw------- 1 root root 4051528 Jun 4 20:33 System.map-4.15.0-52-generic
-rw-r--r-- 1 root root 217019 Jan 29 15:39 config-4.15.0-45-generic
-rw-r--r-- 1 root root 217278 Jun 4 20:33 config-4.15.0-52-generic
drwxr-xr-x 2 root root 4096 Jun 19 00:20 efi
drwxr-xr-x 5 root root 4096 Jun 19 00:24 grub
drwxr-xr-x 5 root root 4096 Jun 19 00:22 grub.bak
-rw-r--r-- 1 root root 57867618 Feb 24 02:26 initrd.img-4.15.0-43-generic
-rw-r--r-- 1 root root 57863844 Feb 24 21:43 initrd.img-4.15.0-45-generic
-rw-r--r-- 1 root root 57899212 Jun 19 00:23 initrd.img-4.15.0-52-generic
-rw------- 1 root root 8281848 Jan 29 16:11 vmlinuz-4.15.0-45-generic
-rw------- 1 root root 8294136 Jun 4 20:39 vmlinuz-4.15.0-52-generic
Efi:
mint@mint:/tmp/boot$ sudo efibootmgr -v
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0001,0000,0003,0002,0004,0005
Boot0000* Windows Boot Manager HD(1,GPT,533df41a-4161-4850-a540-122090825ef0,0x800,0x82000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* neon HD(1,GPT,533df41a-4161-4850-a540-122090825ef0,0x800,0x82000)/File(\EFI\NEON\SHIMX64.EFI)
Boot0002* Efi prueba HD(1,GPT,533df41a-4161-4850-a540-122090825ef0,0x800,0x82000)/File(\bootx64.efi)
Boot0003* Hard Drive BBS(HD,,0x0)..GO..NO........o.T.O.S.H.I.B.A. .M.Q.0.4.A.B.F.1.0.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . .4. .N.8.P.8.1.A.T.K........BO..NO........o.T.O.S.H.I.B.A. .T.H.N.S.N.K.1.2.8.G.V.N.8....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . .8.4.S.N.0.1.9.K.M.T.T.Y........BO..NO........c.A.D.A.T.A. .U.S.B. .F.l.a.s.h. .D.r.i.v.e. .1.1.0.0....................A.......................6..Gd-.;.A..MQ..L.2.6.8.2.6.2.1.0.0.1.1.7.0.0.1.9........BO
Boot0004* linux efi pma HD(1,GPT,533df41a-4161-4850-a540-122090825ef0,0x800,0x82000)/File(\grubx64.efi)
Boot0005* UEFI: ADATA USB Flash Drive 1100, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x70d993e5,0x800,0x1c3d800)..BO
In my /etc/fstab
was commented the part of mounting the boot partition.. That is very strange because I am sure I dindt do that.
My grub.cfg has this:
search.fs_uuid a5da64fd-c3bd-4689-a6ef-c5fc1ddd17ac root hd1,gpt7
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
Which points to the non boot partition. I have 2 diferents boot directory, one of the partition ( the original ) and another under /. Maybe in one update the system changed...