On Nov 9, 2011 6:03 AM, "Paul Hartman" <paul.hartman+gen...@gmail.com>
wrote:
>
> On Tue, Nov 8, 2011 at 3:59 PM, Sebastian Beßler
> <sebast...@darkmetatron.de> wrote:
> > Am 08.11.2011 14:11, schrieb Pandu Poluan:
> >
> >> Oh, and it also auto-modifies grub.cfg for me :-D
> >
> >
> > Why modify grub.cfg?
> >
> > I have symlinks in /boot
> >
> > vmlinuz -> vmlinuz-3.1.0-gentoo
> > and
> > vmlinuz.old -> vmlinuz-3.1.0-rc6-00105-g279b1e0
> >
> > who automagic get updated when ever I run make install.
> >
> > The corresponding part of grub.conf is
> >
> > title Gentoo Linux (OpenRC)
> >        root (hd0,1)
> >        kernel /vmlinuz root=/dev/sda3 radeon.agpmode=-1
> > video=radeon:1440x900 zcache
> >
> > and
> >
> > title Gentoo Linux.old (OpenRC)
> >        root (hd0,1)
> >        kernel /vmlinuz.old root=/dev/sda3 radeon.agpmode=-1
> > video=radeon:1440x900 zcache
> >
> > That is all, no changing grub.conf and always the latest kernel.
>
> I've used the same method as you "forever" and it works great, and
> always easy fail-safe to boot previous kernel in case I got something
> wrong on the new one.
>

Hmm... my email server's seem to be getting flaky... I never received
Sebastian's...

Anyways, back to topic: I experiment a lot with the kernels, so I timestamp
them all, and my grub menu lists all kernels found in /boot, complete with
their respective timestamps. That way,if a .config change I did on K-1
(current is K-0, K-1 is the one before current) only now proved to be
flaky, I can 'roll back' to K-2 or earlier.

Rgds,

Reply via email to