Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[WORKAROUND]"No kernel modules were found" when booting UEFI

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
growly
Posts: 3
Joined: 2021-01-17 08:53

[WORKAROUND]"No kernel modules were found" when booting UEFI

#1 Post by growly »

I've run into the same installation problem ("No kernel modules were found", so no network drivers, no disk controller drivers, nothing) as in this post but using the bullseye_di_alpha3 and even 10.7 images doesn't help. In fact, I ran into "No kernel modules were found" with all of these images:
I tried booting with two different flash drives, writing the image from two different machines (one an existing bullseye installation and another a mac), using both cp and dd and making sure to sync before removing the drive. I verified md5sums of most of the images as a sanity check, but they were fine. In all cases, I hit the same problem.

The problem went away when I booted the installer using the purely legacy interface (i.e. booting without UEFI enabled). However, this meant that my installation didn't support UEFI, which is not ok. So it seems I can't do a UEFI-based run of the installer.

Is this a known problem or is it my machine somehow? Any idea on a possible cause?

Pertinent specs: Asus Prime X299-Deluxe II, i7 9940x, 128GB RAM, 970 Pro NVMe SSD as main disk and an LSI SAS RAID card that requires me to keep legacy boot ROM support

Thanks in advance!

/edit: fixed confusing wording
Last edited by growly on 2021-01-17 19:05, edited 4 times in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: "No kernel modules were found" when booting UEFI

#2 Post by Head_on_a_Stick »

I am confused:
growly wrote:The problem went away when I booted the installer not using the legacy boot (not UEFI) interface. However, this meant that my installation didn't support UEFI, which is not ok. So it seems I can't do a UEFI-based run of the installer.
That statement is contradictory. Do you mean that you can only boot the installer with "Legacy" mode (CSM) enabled (ie, in non-UEFI mode)?
growly wrote:an LSI SAS RAID card that requires me to keep legacy boot ROM support
If the card requires non-UEFI booting then why do you want to install in UEFI mode? And how do you know that card requires non-UEFI booting?

It is fairly simple to convert a non-UEFI system to UEFI booting if that's what you want but I cannot reproduce your issue with the Debian 10.7 netinstall ISO image.
deadbang

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: "No kernel modules were found" when booting UEFI

#3 Post by p.H »

Head_on_a_Stick wrote:If the card requires non-UEFI booting then why do you want to install in UEFI mode?
The OP did not write that the card requires "non UEFI booting" but "legacy boot ROM support". I think this is an option in the UEFI firmware setup, also named "legacy option ROM" support which allows the firmware to use option ROM which contain legacy code.

growly
Posts: 3
Joined: 2021-01-17 08:53

Re: "No kernel modules were found" when booting UEFI

#4 Post by growly »

Sorry, I've clarified what I meant: it worked with the legacy boot mode, when I turned UEFI off.

However, I now have a workaround. I removed the LSI SAS card and disabled CSM in the BIOS, so that the system booted UEFI purely. With this configuration debian installer worked as intended and I successfully completed installation. I then re-installed the LSI SAS card and re-enabled CSM in the BIOS. The UEFI installation of debian boots normally. I suspect I could've skipped physically removing the card and just disabled CSM in the BIOS to achieve the same effect.

I noticed that the installer menu when booting pure UEFI was different to pure legacy, and different again under the CSM mixed-mode boot, which tells me there's clearly a different code path. Mixed-mode boot is probably something that debian installer doesn't want to support since it seems that UEFI is a bit of a sh!t show, but there should be some explicit warning about not booting in this mode at least.

Thanks for your replies!
Last edited by growly on 2021-01-17 17:47, edited 1 time in total.

growly
Posts: 3
Joined: 2021-01-17 08:53

Re: "No kernel modules were found" when booting UEFI

#5 Post by growly »

Head_on_a_Stick wrote: If the card requires non-UEFI booting then why do you want to install in UEFI mode? And how do you know that card requires non-UEFI booting?

It is fairly simple to convert a non-UEFI system to UEFI booting if that's what you want but I cannot reproduce your issue with the Debian 10.7 netinstall ISO image.
This card pre-dates UEFI, its firmware is from 2011. When booted under UEFI the card initialises but there is no way to enter the RAID configuration utility, which as you can imagine is annoying. In my BIOS I had set the default boot mode for storage cards to be legacy ROMs and for everything else to be UEFI, which enabled me to configure the drives and continue to boot UEFI normally.

Why use UEFI at all? Because I wanted to dual-boot with Windows 10, which AFAIK forces UEFI.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: [WORKAROUND]"No kernel modules were found" when booting

#6 Post by p.H »

Do you mean that Window 10 forces UEFI or dual boot with Windows 10 forces UEFI ?
AFAIK, Windows 10 does not force UEFI, it can be installed in legacy mode.
Of course dual boot through GRUB or Windows boot manager with Windows 10 that was installed in UEFI mode forces UEFI.
Dual boot through the machine firwmare boot menu does not force UEFI.

Post Reply