Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ext4/ext3 for /boot?
Date: Wed, 09 Nov 2011 02:45:46
Message-Id: CAA2qdGVL30UFG3HZr8FeXZZ0PN_zs8hob_KvdDGFJSY01QQ2oQ@mail.gmail.com
In Reply to: Re: [gentoo-user] ext4/ext3 for /boot? by Paul Hartman
1 On Nov 9, 2011 6:03 AM, "Paul Hartman" <paul.hartman+gentoo@×××××.com>
2 wrote:
3 >
4 > On Tue, Nov 8, 2011 at 3:59 PM, Sebastian Beßler
5 > <sebastian@××××××××××××.de> wrote:
6 > > Am 08.11.2011 14:11, schrieb Pandu Poluan:
7 > >
8 > >> Oh, and it also auto-modifies grub.cfg for me :-D
9 > >
10 > >
11 > > Why modify grub.cfg?
12 > >
13 > > I have symlinks in /boot
14 > >
15 > > vmlinuz -> vmlinuz-3.1.0-gentoo
16 > > and
17 > > vmlinuz.old -> vmlinuz-3.1.0-rc6-00105-g279b1e0
18 > >
19 > > who automagic get updated when ever I run make install.
20 > >
21 > > The corresponding part of grub.conf is
22 > >
23 > > title Gentoo Linux (OpenRC)
24 > > root (hd0,1)
25 > > kernel /vmlinuz root=/dev/sda3 radeon.agpmode=-1
26 > > video=radeon:1440x900 zcache
27 > >
28 > > and
29 > >
30 > > title Gentoo Linux.old (OpenRC)
31 > > root (hd0,1)
32 > > kernel /vmlinuz.old root=/dev/sda3 radeon.agpmode=-1
33 > > video=radeon:1440x900 zcache
34 > >
35 > > That is all, no changing grub.conf and always the latest kernel.
36 >
37 > I've used the same method as you "forever" and it works great, and
38 > always easy fail-safe to boot previous kernel in case I got something
39 > wrong on the new one.
40 >
41
42 Hmm... my email server's seem to be getting flaky... I never received
43 Sebastian's...
44
45 Anyways, back to topic: I experiment a lot with the kernels, so I timestamp
46 them all, and my grub menu lists all kernels found in /boot, complete with
47 their respective timestamps. That way,if a .config change I did on K-1
48 (current is K-0, K-1 is the one before current) only now proved to be
49 flaky, I can 'roll back' to K-2 or earlier.
50
51 Rgds,

Replies

Subject Author
Re: [gentoo-user] ext4/ext3 for /boot? Neil Bothwick <neil@××××××××××.uk>