funkyHat | Anyone know how I'd go about configuring /etc/grub.d/ so that -rt kernels are chosen as the default if present? | 01:59 |
---|---|---|
holstein | hey funkh | 02:10 |
holstein | funkyHat: * | 02:11 |
funkyHat | Hi ⡈) | 02:11 |
holstein | you got grub2 right? | 02:11 |
funkyHat | Yeah | 02:13 |
holstein | by the way, i never heard from anybody using lash yet :/ | 02:13 |
holstein | ubottu: grub2 | 02:13 |
ubottu | GRUB2 is the default Ubuntu boot manager in Karmic. For more information and troubleshooting on GRUB2 please refer to https://wiki.ubuntu.com/Grub2 | 02:13 |
holstein | do you see grub funkyHat? | 02:13 |
holstein | or is it hidden? | 02:13 |
funkyHat | I've already changed the settings so I can see it | 02:14 |
holstein | OK | 02:14 |
funkyHat | Well, I've put it on a hidden 3 second timeout | 02:14 |
funkyHat | So I can press esc. and it'll appear | 02:14 |
holstein | its all about that /etc/default/grub fil | 02:15 |
holstein | e | 02:15 |
funkyHat | The problem with setting GRUB_DEFAULT in /etc/default/grub is every time a new kernel is installed that will change | 02:15 |
holstein | yeah | 02:16 |
holstein | i usually just deal | 02:16 |
holstein | and either reset the default | 02:16 |
holstein | or get rid of an older kernel | 02:16 |
holstein | i like to keep them around though just in case | 02:16 |
holstein | makes me feel safer | 02:17 |
funkyHat | Mm, I'm looking at /etc/grub.d/ to see if those scripts can be modified to give -rt kernels a higher priority | 02:17 |
holstein | in grub2 AFAIK | 02:17 |
holstein | you shouldnt mess with /etc/grub.d | 02:17 |
holstein | you just set the default on in /etc/default/grub | 02:18 |
funkyHat | No, that's /boot/grub/grub.cfg | 02:18 |
holstein | OH | 02:18 |
holstein | ok | 02:18 |
funkyHat | Messing with /etc/grub.d is fine as long as you know what you're doing | 02:18 |
holstein | well, ive only done it that way | 02:18 |
funkyHat | Which I don't ;D | 02:18 |
holstein | yeah, i was going to say, because im still learning too :) | 02:19 |
holstein | funkyHat: how about getting rid of the generic kernel? | 02:31 |
holstein | sudo apt-get autoremove linux-generic or something like that | 02:31 |
funkyHat | holstein: I'd thought of that, but rather not | 02:31 |
holstein | yeah, its good to keep a non RT around | 02:32 |
funkyHat | I'd like to have it there as a fallback if there are issues with the -rt kernel I haven't disovered yet | 02:32 |
funkyHat | holstein: I've thought of a solution. It means the -rt kernels will be listed twice in the menu | 02:35 |
funkyHat | Actually I guess I could make it so that they aren't | 02:35 |
funkyHat | holstein: 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-grub | 02:41 |
holstein | skillz funkyHat :) | 02:49 |
funkyHat | hehe | 02:49 |
=== amstan_ is now known as amstan | ||
funkyHat | http://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!