Prev: Disabling Emulate3Buttons for AlpsPS/2 ALPS DualPoint TouchPad
Next: Tiny terminal text after kernel update
From: Todd A. Jacobs on 23 May 2010 19:40 When one has multiple kernels installed, where is one supposed to configure the option to always boot the last-selected kernel? I can't make sense of all the automatic over-writing that the grub scripts are doing on Debian, and the /etc/default/grub file doesn't have an example of what the scripts are looking for. I just want to be able to select a kernel at boot, and have that be the default until a new kernel is installed or I manually select something else. -- "Oh, look: rocks!" -- Doctor Who, "Destiny of the Daleks" -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100523225613.GA26914(a)penguin.codegnome.org
From: Celejar on 23 May 2010 20:00 On Sun, 23 May 2010 15:56:13 -0700 "Todd A. Jacobs" <nospam(a)codegnome.org> wrote: > When one has multiple kernels installed, where is one supposed to > configure the option to always boot the last-selected kernel? I can't > make sense of all the automatic over-writing that the grub scripts are > doing on Debian, and the /etc/default/grub file doesn't have an example > of what the scripts are looking for. > > I just want to be able to select a kernel at boot, and have that be the > default until a new kernel is installed or I manually select something > else. What seems to work for me (and I agree, it's pretty confusing, especially when you add 'man grub-set-default' to the mix) is to include these three lines in menu.lst: default saved # updatedefaultentry=true # savedefault=true I'm not quite certain which are necessary, but as I've said, this seems to give me the behavior that I (and, IIUC, you) want. Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100523195217.e0c41898.celejar(a)gmail.com
From: Tom H on 23 May 2010 21:40 On Sun, May 23, 2010 at 7:52 PM, Celejar <celejar(a)gmail.com> wrote: > On Sun, 23 May 2010 15:56:13 -0700 > "Todd A. Jacobs" <nospam(a)codegnome.org> wrote: > >> When one has multiple kernels installed, where is one supposed to >> configure the option to always boot the last-selected kernel? I can't >> make sense of all the automatic over-writing that the grub scripts are >> doing on Debian, and the /etc/default/grub file doesn't have an example >> of what the scripts are looking for. >> >> I just want to be able to select a kernel at boot, and have that be the >> default until a new kernel is installed or I manually select something >> else. > > What seems to work for me (and I agree, it's pretty confusing, > especially when you add 'man grub-set-default' to the mix) is to > include these three lines in menu.lst: > > default saved > # updatedefaultentry=true > # savedefault=true > > I'm not quite certain which are necessary, but as I've said, this seems > to give me the behavior that I (and, IIUC, you) want. I don't think that you need "# updatedefaultentry=true" if you are using "default saved". IIUC, I only has any meaning in the case of "default x" where x is a number. IIUC, "# savedefault=true" will append "savedefault" to the menu entries and, booting from one of those entries turns it into the default at the next boot if you choose "default saved". I have not tried "default saved" with grub1, but with grub2 it will not work (the first time that you set it) if you don't run "grub-set-default x" where x is the default entry that you want (the count starts with 0). -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/AANLkTikkHcncSbit-yZlJGDyByDiIeV0EFxfQXEJMfKt(a)mail.gmail.com
From: Andrei Popescu on 24 May 2010 16:30 On Sun,23.May.10, 19:52:17, Celejar wrote: > On Sun, 23 May 2010 15:56:13 -0700 > "Todd A. Jacobs" <nospam(a)codegnome.org> wrote: > > > When one has multiple kernels installed, where is one supposed to > > configure the option to always boot the last-selected kernel? I can't > > make sense of all the automatic over-writing that the grub scripts are > > doing on Debian, and the /etc/default/grub file doesn't have an example > > of what the scripts are looking for. ... > What seems to work for me (and I agree, it's pretty confusing, > especially when you add 'man grub-set-default' to the mix) is to > include these three lines in menu.lst: [snip] That's grub1, but the OP was asking about grub2 (/etc/default/grub). Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
From: Tom H on 24 May 2010 20:40 On Mon, May 24, 2010 at 4:24 PM, Andrei Popescu <andreimpopescu(a)gmail.com> wrote: > On Sun,23.May.10, 19:52:17, Celejar wrote: >> On Sun, 23 May 2010 15:56:13 -0700 >> "Todd A. Jacobs" <nospam(a)codegnome.org> wrote: >> >> > When one has multiple kernels installed, where is one supposed to >> > configure the option to always boot the last-selected kernel? I can't >> > make sense of all the automatic over-writing that the grub scripts are >> > doing on Debian, and the /etc/default/grub file doesn't have an example >> > of what the scripts are looking for. > ... >> What seems to work for me (and I agree, it's pretty confusing, >> especially when you add 'man grub-set-default' to the mix) is to >> include these three lines in menu.lst: > > [snip] > > That's grub1, but the OP was asking about grub2 (/etc/default/grub). Oops. I also gave grub1 advice... For grub2, set "GRUB_DEFAULT=saved" in "/etc/default/grub", run "update-grub", and run "grub-set-default x" (where x is the default entry from which you want to boot and the count starts at 0). -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/AANLkTin6a0EKaBdgc4U0UP74yaYOhnvIML7dzSHUULVi(a)mail.gmail.com
|
Next
|
Last
Pages: 1 2 Prev: Disabling Emulate3Buttons for AlpsPS/2 ALPS DualPoint TouchPad Next: Tiny terminal text after kernel update |