You are not logged in.

#1 2011-04-17 15:02:00

NictraSavios
Member
From: Cape Breton, Nova Scotia
Registered: 2011-04-13
Posts: 29
Website

[SOLVED] Disable Fallback Kernel

How would I go about making that mkint file not generate the "fallback" kernel. I know that may sound stupid, but tbh, I like my grub2 menu to be spartan and clean. And I also hate 2 entries , both known as "arch"

Otheruseful info:
-I use Grub2
-Its managed by archlinux, but that may change once i install openSuse 11.4 or Kubuntu 11.04 beta2

Last edited by NictraSavios (2011-04-18 20:21:38)

Offline

#2 2011-04-17 15:08:56

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [SOLVED] Disable Fallback Kernel

It's always possible to simply comment out the undesired entry in your Grub config file, leaving the fallback image intact and accessible.  There's no point in upsetting the stabiity of your system to keep one menu you see for two seconds looking pretty.

Offline

#3 2011-04-17 15:24:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Disable Fallback Kernel

Have a look at /etc/mkinitcpio.d/kernel26.preset.

Offline

#4 2011-04-17 16:09:52

NictraSavios
Member
From: Cape Breton, Nova Scotia
Registered: 2011-04-13
Posts: 29
Website

Re: [SOLVED] Disable Fallback Kernel

I'm using Grub2, so commenting out is not an option. well... Not one I'll consider anyway. And I shall have a look at that file in the mean time

Also, upon reading about the purpose of such a image... It's useless to me. Id rather keep that menu pretty since it's the second most important thing in my computer (BIOS is #1)

Last edited by NictraSavios (2011-04-17 16:12:21)

Offline

#5 2011-04-17 16:57:39

Sowinof
Member
Registered: 2011-04-16
Posts: 3

Re: [SOLVED] Disable Fallback Kernel

I could be completely wrong about this, but I believe GRUB 2's /etc/default/grub is similar to GRUB 1's menu.lst. Also, if you don't need to boot any other OS's, you could change the timeout to 0? Thus evading all possibility of the menu looking ugly.

Don't forget to # update-grub afterwards.

Last edited by Sowinof (2011-04-18 02:59:25)

Offline

#6 2011-04-17 20:34:56

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Disable Fallback Kernel

I would just remove the entry from the grub config instead of disabeling building of the fallback initcpio, it can be really handy to have it sometimes...


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2011-04-18 02:10:43

admiralspark
Member
From: Alaska, USA
Registered: 2011-01-07
Posts: 87

Re: [SOLVED] Disable Fallback Kernel

/etc/default/grub uses much the same syntax as grub1's menu.lst; as in, if you understand one it's easy to fix the other. It might have some nonsense about not modifying the file, just ignore it--you won't screw any of it up.
Just comment out the lines referring to the fallback kernel, and you're set to go!


Team Ignition Kernel Developer
linux-ideapad developer/maintainer
Flame Kernel developer for Galaxy Nexus and Galaxy S3
Want a cheap, reliable VPS with AWESOME customer service?

Offline

#8 2011-04-18 04:37:40

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [SOLVED] Disable Fallback Kernel

Whatever the final decision, the info's all available in the wiki; /etc/default/grub is the file you're supposed to edit, but it doesn't matter so long as you remember what changes you've made manually to grub.cfg.  It's also worth noting that Ubuntu's Grub2 control scripts vary slightly from those used by Arch, and that SuSE still doesn't use Grub2 by default (it chainloads Grub2 from Grub legacy, making it more complex to deal with).

Offline

#9 2011-04-18 20:19:36

NictraSavios
Member
From: Cape Breton, Nova Scotia
Registered: 2011-04-13
Posts: 29
Website

Re: [SOLVED] Disable Fallback Kernel

Thank you, I've decided upon disabling it. And I've let Ubuntu handle grub, but before doing so, I took all the arch Grub scripts, and compared them too ubuntus, making my own set that handle the system to perfection

Offline

Board footer

Powered by FluxBB