/srv/irclogs.ubuntu.com/2010/01/19/#ubuntustudio.txt

funkyHatAnyone know how I'd go about configuring /etc/grub.d/ so that -rt kernels are chosen as the default if present?01:59
holsteinhey funkh02:10
holsteinfunkyHat: *02:11
funkyHatHi ⡈)02:11
holsteinyou got grub2 right?02:11
funkyHatYeah02:13
holsteinby the way, i never heard from anybody using lash yet :/02:13
holsteinubottu: grub202:13
ubottuGRUB2 is the default Ubuntu boot manager in Karmic. For more information and troubleshooting on GRUB2 please refer to https://wiki.ubuntu.com/Grub202:13
holsteindo you see grub funkyHat?02:13
holsteinor is it hidden?02:13
funkyHatI've already changed the settings so I can see it02:14
holsteinOK02:14
funkyHatWell, I've put it on a hidden 3 second timeout02:14
funkyHatSo I can press esc. and it'll appear02:14
holsteinits all about that /etc/default/grub fil02:15
holsteine02:15
funkyHatThe problem with setting GRUB_DEFAULT in /etc/default/grub is every time a new kernel is installed that will change02:15
holsteinyeah02:16
holsteini usually just deal02:16
holsteinand either reset the default02:16
holsteinor get rid of an older kernel02:16
holsteini like to keep them around though just in case02:16
holsteinmakes me feel safer02:17
funkyHatMm, I'm looking at /etc/grub.d/ to see if those scripts can be modified to give -rt kernels a higher priority02:17
holsteinin grub2 AFAIK02:17
holsteinyou shouldnt mess with /etc/grub.d02:17
holsteinyou just set the default on in /etc/default/grub02:18
funkyHatNo, that's /boot/grub/grub.cfg02:18
holsteinOH02:18
holsteinok02:18
funkyHatMessing with /etc/grub.d is fine as long as you know what you're doing02:18
holsteinwell, ive only done it that way02:18
funkyHatWhich I don't ;D02:18
holsteinyeah, i was going to say, because im still learning too :)02:19
holsteinfunkyHat: how about getting rid of the generic kernel?02:31
holsteinsudo apt-get autoremove linux-generic or something like that02:31
funkyHatholstein: I'd thought of that, but rather not02:31
holsteinyeah, its good to keep a non RT around02:32
funkyHatI'd like to have it there as a fallback if there are issues with the -rt kernel I haven't disovered yet02:32
funkyHatholstein: I've thought of a solution. It means the -rt kernels will be listed twice in the menu02:35
funkyHatActually I guess I could make it so that they aren't02:35
funkyHatholstein: cd /etc/grub.d/ && sudo cp 10_linux 09_linux-rt && sudo sed -i 's:vmlinu[xz]-\*:vmlinu[xz]-*rt:' 09_linux-rt && sudo update-grub02:41
holsteinskillz funkyHat :)02:49
funkyHathehe02:49
=== amstan_ is now known as amstan
funkyHathttp://funkyhat.org/2010/01/19/putting-rt-kernels-first-in-grub2/03:02
=== eviljuss101 is now known as eviljussi01

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!