[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GRUB really slow to boot



On Sun 02 Jan 2022 at 20:49:12 (-0600), David Wright wrote:
> On Sat 18 Dec 2021 at 11:08:37 (-0500), Greg Wooledge wrote:
> > Today I rebooted my machine for the first time in quite a while, after
> > the kernel update that was released along with Debian 11.2.
> 
> Mine's a new installation. I've run buster from an external drive
> for a while, but have recently installed bullseye on its SSD.
> 
> > When it reached the GRUB screen, I pressed Enter, and nothing happened
> > as far as I could see.  I was initially worried that it had stopped
> > seeing my USB keyboard (a thing that I've experienced with GRUB and
> > certain USB slots on certain machines in the past).  This keyboard
> > plugged into this same USB slot had worked in previous versions of GRUB
> > on this machine, though.
> 
> Mine's a laptop: HP Spectre x360 Convertable 15-bl012dx.
> 
> > The next thing I observed was that after 5 seconds, it still hadn't
> > booted, nor had the coundown ("will automatically boot in 5s" or whatever)
> > advanced.  It appeared to be hung.
> 
> Snap. It's happened maybe three or four times (one gets no record,
> of course.)
> 
> > I waited a bit longer, and the 5s changed to 4s.  It just took a really
> > long time (like 15+ seconds for each second on the timer).
> 
> I'm afraid I just assumed it was permanently hung when Enter did
> nothing, so I just force-powered off and started over.

My assumption was correct: it sits on 5s for half an hour,
with the fan running fast. It's also more consistent now, so
the only way to boot it successfully is to press Escape F9
immediately at power-on, and then choose anything in the menu
except "Windows Boot Manager".

BTW I have no idea what this last item is: there is no Windows
on the SSD, but presumably something in the UEFI is hanging on
to some other thing. Selecting it goes to a blue screen that says
it's resetting the boot something, but then Grub pops up and
hangs as usual.

Darac's suggestion was being swamped with interrupts. Mine would be
the opposite: with an apparently dead keyboard and no timer countdown,
perhaps their interrupts aren't being generated or serviced.

FYI

# ls -GlgR /boot/efi/
/boot/efi/:
total 4
drwx------ 4 4096 Dec 15 11:10 EFI

/boot/efi/EFI:
total 8
drwx------ 2 4096 Dec 15 11:10 BOOT
drwx------ 2 4096 Dec 12 20:17 debian

/boot/efi/EFI/BOOT:
total 2636
-rwx------ 1  934240 Jan  8 13:24 BOOTX64.EFI
-rwx------ 1   84648 Jan  8 13:24 fbx64.efi
-rwx------ 1 1672576 Jan  8 13:24 grubx64.efi

/boot/efi/EFI/debian:
total 3472
-rwx------ 1     108 Jan  8 23:57 BOOTX64.CSV
-rwx------ 1   84648 Jan  8 23:57 fbx64.efi
-rwx------ 1     117 Jan  8 23:57 grub.cfg
-rwx------ 1 1672576 Jan  8 23:57 grubx64.efi
-rwx------ 1  845480 Jan  8 23:57 mmx64.efi
-rwx------ 1  934240 Jan  8 23:57 shimx64.efi
# 

Menu:

OS Boot Manager (UEFI) - debian (<Disk Model as given by partitioners>)
OS Boot Manager (UEFI) - Windows Boot Manager (<ditto>)
Boot From EFI File

When bought, with W10, the middle entry was the sole entry.

Cheers,
David.


Reply to: