Re: grub gets confused when I upgrade the kernel



26/02/2012 21:54, Hendrik Boom wrote:
I have two different Debian systems on my EEEPC -- stable and testing.

Whenever testing installs a new kernel as a result of the routing update,
my grub/menu.list file gets rewritten. WHen it does this, it matches the
kernels I have in one Debian sysstem with the fie-system root I have in
the other. I have to hand-edit menu.list to make things right again,
using static boot stanzas in front of the AUTOMAGIC KERNEL LIST.

(a) Is there any way I can stop this misbehaviour?

Hi, don't know about that, maybe you could try out grub-pc (a.k.a.
"grub2") from the testing system. Install grubs in MBR and let it manage
your dual boot, you might have a good surprise.


(b) If I were to progress to grub2, where I gather I can't take control
of the boot process by editing menu.lst, is there some other way of
making sure things go right? I fear that one of these years, upgrading
to grub2 will become inevitable.

grub2 has mostly behaved in a great way for me, and it's definitely a
step forward when booting complex configurations (raid, luks, lvm,
"alien" operating systems).

In a /etc/grub.d/xx_custom script you can set up, well, custom boot
entries. Use the other scripts (xx-linux) in the same directory as
guidance regarding syntax.


-- hendrik


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/4F4AA09B.7000102@xxxxxxxxxxxxxx



Relevant Pages

  • RE: Xen on Squeeze wont start
    ... Xen on Squeeze won't start ... hypervisor isn't being put into the grub2 boot list. ... paravirtualised kernel, not the hypervisor. ...
    (Debian-User)
  • No grub2 menu display; cant boot F17
    ... But since the grub2 developers are probably overwhelmed at this point, ... After about 30 sec the machine boots into some randomly chosen kernel. ... After completing installation of F17, ... At "first boot", the machine booted an old F16 kernel combined with the ...
    (Fedora)
  • Re: Grubb list menu
    ... grub2 may be the next gen... ... Still a PITA too. ... One way to avoid all this is to set up a separate 'main boot' or first ... to each individual OS grub to update kernel changes in the other OS's. ...
    (Ubuntu)
  • Re: Debian -> Mac Mini, so close yet so far?
    ... and if I boot the CD and choose 'rescue' it all looks OK. ... But it won't boot. ... I get a Grub2 menu list - hmmm, I think it's Grub2, during the ... If I select either of my kernels (well, I guess same kernel, diff ...
    (uk.comp.os.linux)
  • Re: Xen on Squeeze wont start
    ... hypervisor isn't being put into the grub2 boot list. ... paravirtualised kernel, not the hypervisor. ... So, I did a base install of Squeeze alpha 1, then apt-get install ...
    (Debian-User)