You are not logged in.

#1 2019-09-12 18:27:01

cyrf0006
Member
Registered: 2016-02-05
Posts: 47

Dual boot - Grub has no entry

Hi,
After running BL on a dual boot for more than 2 years, I woke up this morning and my computer immediately boot in Windows without entering the grub menu. I thought it was due to something messing up with my dual boot (e.g., IT services performing update overnight).

So I reinstalled the grub menu from the live installer following this post.

I now have a grub but it is empty (only *System setup is there).

From the installer, it seems that the grub still has the entry:

root@debian:~# efibootmgr -v
BootCurrent: 0012
Timeout: 0 seconds
BootOrder: 0009,000A,000C,000D,000E,0010,0012
Boot0000* Windows Boot
Manager HD(3,1dc55000,56000,b426680c-834d-428a-8a2c-ab95e6868004)File(\EFI\bunsenlabs\grubx64.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.}...9............. ...
Boot0001* bunsenlabs    HD(3,1dc55000,56000,b426680c-834d-428a-8a2c-ab95e6868004)File(\EFI\bunsenlabs\grubx64.efi)
Boot0009* Diskette Drive        BIOS(1,0,4469736b6574746520447269766500)..BO
Boot000A* Internal HDD  BIOS(2,0,496e7465726e616c2048444400)..BO
Boot000C* CD/DVD/CD-RW
Drive   BIOS(3,0,43442f4456442f43442d525720447269766500)..BO
Boot000D* Onboard
NIC     BIOS(6,0,49424120434c20536c6f74203030464520763031303600)..BO
Boot000E* USB Storage
Device  BIOS(5,0,47656e6572616c2055534220466c617368204469736b203131303000)..BO
Boot0010* UEFI: INTEL SSDSCKKF256H6 SATA 256GB, Partition
3       HD(3,1dc55000,56000,b426680c-834d-428a-8a2c-ab95e6868004)File(EFI\boot\bootx64.efi)..BO
Boot0012* UEFI: General USB Flash Disk 1100, Partition
1       ACPI(a0341d0,0)PCI(14,0)USB(0,0)HD(1,492f4,580,16704065)..BO
root@debian:~#

Any idea what I could have messed? and how to solve this?

[update:]
I re-booted on the live usb. Then I did the chroot part form the post mentioned above:

mkdir /target
mount /dev/sda2 /target
mount /dev/sda1 /target/boot/efi
for i in /sys /proc /dev; do mount --bind $i /target$i; done
chroot /target

Then I followed with:

grub-install /dev/sda
update-grub

I worked! I can now boot my linux partition.
The problem is that I don't see my Windows partition from the grub anymore... Any cue would be welcomed.

Last edited by cyrf0006 (2019-09-13 01:49:41)

Offline

#2 2019-09-23 12:46:24

chrisdb
Member
Registered: 2019-09-12
Posts: 42

Re: Dual boot - Grub has no entry

did you try os-prober?

Offline

#3 2019-09-23 14:01:00

eight.bit.al
Member
From: The top of the World
Registered: 2015-10-01
Posts: 363

Re: Dual boot - Grub has no entry

Try:

grub-mkconfig

and the output will go to your screen. See what it tells you.

grub-mkconfig-o /boot/grub/grub.cfg

if you don't have a UEFI BIOS. May have to edit the path to grub.cfg.

grub-mkconfig tutorial


8bit

Error Message: failed (Signature file not found)


A mind is a terrible thing not to change.
The problem lies not with new ideas, but in escaping the old ones.

Online

Board footer

Powered by FluxBB