doktor5000 wrote:Would you mind adding the actual reason on WHY you want to remove those modules from the boot sequence?
With them in I get all sorts of problems such as kernel panics.
Is there an easy way to accomplish this please?
gohlip wrote:These modules are in fact to help you boot without errors.
If these are removed and you do not get errors, then for example, it should be "insmod part_msdos" instead of "insmod part_gpt"
or "insmod xfs" instead of "insmod ext2" if you are indeed using msdos partitioning and xfs file suystem.[
You should file a bug report that grub.cfg is not generated correctly.
gohlip wrote:If in the more likely case that the modules are correct, then the kernel panics are not cause by these modules, but by other things.
like, for example, 'nokmsboot' should be there when it shouldn't?
or 'nokmsboot ' shouldn't be there when it should?
Or 'noiswmd' is unnecessary for non-raid systems
Or.....
Only you can tell us what other causes there might be.
gohlip wrote:DiBosco wrote:Is there an easy way to accomplish this please?
/etc/grub.d/00_header and /etc/grub.d/10_linux
But not recommended and discouraged particularly by people not familiar. It may really mess up the system.
Or more simply, just manually edit grub.cfg despite the warnings.
It's just like grub-legacy where we merrily edit its menu.lst
And just like grub-legacy, remember it will revert back and needs re-editing again whenever there's an update-grub.
Finally, instead of removing, for example insmod part_gpt, we can insert insmod part_msdos without removing any
Grub can load up modules even if it isn't needed (and actually load modules when needed even if not specified)
Try it out. Load unnecessary modules and remove needed modules. That will work.
So no offense, I really doubt that is the cause of kernel panics though I do not doubt your sincerity.
Cheers.
GRUB_CMDLINE_LINUX_DEFAULT=" splash quiet noiswmd resume=UUID=3762059c-a20d-4fbd-a8a5-bb7b993047a6"
GRUB_DEFAULT=saved
GRUB_DISABLE_OS_PROBER=false
GRUB_DISABLE_RECOVERY=false
GRUB_DISABLE_SUBMENU=n
GRUB_DISTRIBUTOR=Mageia
GRUB_ENABLE_CRYPTODISK=y
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=auto
GRUB_SAVEDEFAULT=true
GRUB_TERMINAL_OUTPUT=gfxterm
GRUB_THEME=/boot/grub2/themes/maggy/theme.txt
GRUB_TIMEOUT=10
I Googled nokmsboot and came across something that mentioned /etc/default/grub and noticed mine had this line it:
GRUB_ENABLE_CRYPTODISK=y
# grub2-mkconfig -o /boot/grub2/grub.cfg
gohlip wrote:o As for 'nokmsboot', Mageia has a unusual way of implementing this. In Mageia 5, it needs it, in Mageia 6, it has to be taken off.
In Mageia 4... In mageia 3.., are all different. So whatever your version of Mageia, try it with and without. But since it booted, let it remain unchanged first.
Good implementation of dkms modules should not require 'nokmsboot' anywhere.
doktor5000 wrote: I've never heard about it preventing booting initrd/kernel at all.
gohlip wrote:Have you tried to remove 'nokmsboot' in Mageia5? Does that boot?
gohlip wrote:Did you put 'nokmsboot' in Mageia 6? Does that take a loooooong time to boot? After 'detecting new hardware'?
doktor5000 wrote:gohlip wrote:Have you tried to remove 'nokmsboot' in Mageia5? Does that boot?
Yep. As I'm using grub2, I know this boots, as I needed to add it later on manually.
And as you can see from the bug report, this is about X starting or not, not about booting at all. Which was my point.
doktor5000 wrote:gohlip wrote:Did you put 'nokmsboot' in Mageia 6? Does that take a loooooong time to boot? After 'detecting new hardware'?
Nope, not tested under mga6, but my point was that you mentioned that mga5 needs this or it will not boot.
And why would you add it manually in mga6 when it's not needed nor present by default?
gohlip wrote:doktor5000 wrote:gohlip wrote:Have you tried to remove 'nokmsboot' in Mageia5? Does that boot?
Yep. As I'm using grub2, I know this boots, as I needed to add it later on manually.
And as you can see from the bug report, this is about X starting or not, not about booting at all. Which was my point.
Okay. It boots for you, not for me. Perhaps I am using proprietary drivers and you, intel
Nope, using nvidia proprietary drivers from the repos with a GTX970, no issue booting without nokmsboot on mga5 (or before)
Users browsing this forum: No registered users and 0 guests