You are not logged in.
Pages: 1
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
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
Have a look at /etc/mkinitcpio.d/kernel26.preset.
Offline
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
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
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
/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
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
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
Pages: 1