<div dir="ltr"><div>Hi Colin,</div><div><br></div><div>No problem with the delay, I understand that life happens.</div><div><br></div><div>Please find attached the three commands you wanted:</div><div><br></div><div>1. sudo grub-install --debug</div><div>2. sudo efibootmgr -v</div><div>3. sudo find /boot/efi -ls<br><br></div><div>When the grub prompt comes up, I am booting by doing:</div><div><br></div><div>set linux = (hd0,gpt5)/boot/vmlinuz-5.8.0-2-amd64 root=/dev/sda5</div><div>initrd = (hd0,gpt5)/boot/initrd.img-5.8.0-2-amd64</div><div>boot</div><div><br></div><div>(actually I can not recall if it is "set linux =" or "linux = " at the moment. but it is the same for both the linux and initrd lines)</div><div><br></div><div>$ sudo parted -s /dev/sda print<br>Model: ATA TOSHIBA THNSNS12 (scsi)<br>Disk /dev/sda: 128GB<br>Sector size (logical/physical): 512B/512B<br>Partition Table: gpt<br>Disk Flags: <br><br>Number Start End Size File system Name Flags<br> 1 1049kB 473MB 472MB ntfs Basic data partition hidden, diag<br> 2 473MB 578MB 105MB fat32 EFI system partition boot, esp<br> 3 578MB 595MB 16.8MB Microsoft reserved partition msftres<br> 4 595MB 50.3GB 49.7GB ntfs Basic data partition msftdata<br> 5 50.3GB 65.3GB 15.0GB ext4<br> 6 65.3GB 128GB 62.7GB ext4<br><br></div><div>I've no idea about partitions 1 or 3; partition 4 is where my Windows installation resides. It was resized many years ago.</div><div><br></div><div>HTH.</div><div><br></div><div>Thanks,</div><div>Anand<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 11 Jul 2021 at 08:15, Colin Watson <<a href="mailto:cjwatson@debian.org">cjwatson@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Control: tag -1 moreinfo<br>
<br>
Sorry for our long delay in replying to this.<br>
<br>
On Mon, Mar 08, 2021 at 02:20:08PM +1100, Anand Kumria wrote:<br>
> grub went into grub rescue mode and displayed:<br>
> <br>
> error: symbol `grub_is_lockdown` not found<br>
<br>
In general, this means that grub-install is not installing to the place<br>
that your firmware is actually booting from, which causes the core image<br>
(installed to a file under /boot/efi/ on UEFI systems) to be out of sync<br>
with the modules (installed to a subdirectory of /boot/grub/). This is<br>
much rarer on UEFI systems than on BIOS systems, but it's still possible<br>
in some misconfigured cases.<br>
<br>
Could you please attach the output of "sudo grub-install --debug", "sudo<br>
efibootmgr -v", and "sudo find /boot/efi -ls"?<br>
<br>
> Currently, I am booting using a rescue CD and then entering commands to manually start the laptop<br>
<br>
What commands are you using?<br>
<br>
> -- Package-specific info:<br>
> <br>
> *********************** BEGIN /proc/mounts<br>
> /dev/sda5 / ext4 rw,relatime,errors=remount-ro 0 0<br>
> /dev/sda6 /home ext4 rw,relatime 0 0<br>
> /dev/sda2 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0<br>
> *********************** END /proc/mounts<br>
[...]<br>
> *********************** BEGIN /dev/disk/by-id<br>
> total 0<br>
> lrwxrwxrwx 1 root root 9 Mar 8 11:14 ata-MATSHITADVD-RAM_UJ8C2_WP18_009183 -> ../../sr0<br>
> lrwxrwxrwx 1 root root 9 Mar 8 11:14 ata-TOSHIBA_THNSNS128GCSP_922S10RGT2JY -> ../../sda<br>
> lrwxrwxrwx 1 root root 10 Mar 8 11:14 ata-TOSHIBA_THNSNS128GCSP_922S10RGT2JY-part1 -> ../../sda1<br>
> lrwxrwxrwx 1 root root 10 Mar 8 11:15 ata-TOSHIBA_THNSNS128GCSP_922S10RGT2JY-part2 -> ../../sda2<br>
> lrwxrwxrwx 1 root root 10 Mar 8 11:14 ata-TOSHIBA_THNSNS128GCSP_922S10RGT2JY-part3 -> ../../sda3<br>
> lrwxrwxrwx 1 root root 10 Mar 8 11:14 ata-TOSHIBA_THNSNS128GCSP_922S10RGT2JY-part4 -> ../../sda4<br>
> lrwxrwxrwx 1 root root 10 Mar 8 11:14 ata-TOSHIBA_THNSNS128GCSP_922S10RGT2JY-part5 -> ../../sda5<br>
> lrwxrwxrwx 1 root root 10 Mar 8 11:15 ata-TOSHIBA_THNSNS128GCSP_922S10RGT2JY-part6 -> ../../sda6<br>
> *********************** END /dev/disk/by-id<br>
> <br>
> *********************** BEGIN /dev/disk/by-uuid<br>
> total 0<br>
> lrwxrwxrwx 1 root root 10 Mar 8 11:14 141A3D7E1A3D5E44 -> ../../sda4<br>
> lrwxrwxrwx 1 root root 9 Mar 8 11:15 2020-11-30-03-01-21-00 -> ../../sr0<br>
> lrwxrwxrwx 1 root root 10 Mar 8 11:15 26cd5a33-dd28-4968-b2b4-2d134be2e444 -> ../../sda6<br>
> lrwxrwxrwx 1 root root 10 Mar 8 11:14 A65030AD50308659 -> ../../sda1<br>
> lrwxrwxrwx 1 root root 10 Mar 8 11:15 DE31-8EDF -> ../../sda2<br>
> lrwxrwxrwx 1 root root 10 Mar 8 11:14 a49dde0e-f2e4-4679-8c56-b9013d7b0fd2 -> ../../sda5<br>
> *********************** END /dev/disk/by-uuid<br>
<br>
I notice that not all your partitions are mounted. What's on partitions<br>
1, 3, and 4? ("sudo parted -s /dev/sda print" might help.)<br>
<br>
Thanks,<br>
<br>
-- <br>
Colin Watson (he/him) [<a href="mailto:cjwatson@debian.org" target="_blank">cjwatson@debian.org</a>]<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">“Don’t be sad because it’s over. Smile because it happened.” – Dr. Seuss</div>