On 12/29/2014 07:19 AM, Stephen Morris wrote:
I specified GRUB_SAVEDEFAULT='true' and that seemed to work great. Now all that remains is to determine, why F21 has settled on the debug kernel as the default if F21 isn't still Beta, why grub doesn't honour resolution settings as F20 grub did, why plymouth no longer works properly in F21 or like it did in F20, why the nvidia source code modules don't compile at boot time when needed and why if there is no ethernet available and wireless is switched off the KDE desktop does not start properly.On 12/26/2014 05:13 PM, Chris Murphy wrote:On Thu, Dec 25, 2014 at 9:15 PM, Tim <ignored_mail...@yahoo.com.au> wrote:Thanks for your response Chris, the only problem with that is that command is needed to be issued every time the kernel is upgraded. What I am looking for is a method whereby, if with the next kernel upgrade, there is an upgrade to the debug kernel and an upgrade to the non-debug kernel, grub will select the non-debug kernel automatically rather than the debug kernel as seems to be happening with the F21 upgrade.On Fri, 2014-12-26 at 09:04 +1100, Stephen Morris wrote:Thanks for the reply Tim. F21 is still using /etc/default/grub and I have GRUB_DEFAULT=saved in that file already, but it makes no difference.It should mean "boot the same as last time," so whenever you pick an entry from the list, the same one gets used, each boot, until you pick differently.That behavior also requires GRUB_SAVEDEFAULT='true'. By itself, GRUB_DEFAULT=saved merely causes grubenv to be consulted for what to boot rather than it being statically defined in the grub.cfg.There may need to be another keyword, elsewhere, to make each selectionget saved (GRUB_DEFAULT=saved just says to use it), but I'm not familiarenough with the new GRUB. Alternatively, changed =saved to point to a specific kernel.Look at the grub.cfg and find the menuentry you want: menuentry 'Fedora, with Linux 3.17.4-301.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option'gnulinux-3.17.4-301.fc21.x86_64-advanced-f3332d09-65f9-48c5-8539-c2b9ec8c75b4'{ And copy-paste the last section, using it in this command: grub2-set-default'gnulinux-3.17.4-301.fc21.x86_64-advanced-f3332d09-65f9-48c5-8539-c2b9ec8c75b4'Or set it as GRUB_DEFAULT= in /etc/default/grub and the make a new grub.cfg with grub2-mkconfig -o /boot/grub2/grub.cfgYou need to study the manual, come back to the list with any questions about things you can't understand.It might be helpful but I see it mainly targeted at developers who are boot and OS install oriented. It's not really an end user manual, and grub isn't really meant for interaction by users.
regards, Steve
regards, Steve
<<attachment: samorris.vcf>>
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org