[arch-general] Keep older kernel intact while upgrading to new kernel

Victor Lowther victor.lowther at gmail.com
Sat Jul 17 10:17:49 EDT 2010


On Sat, 2010-07-17 at 18:05 +0400, Евгений Борисов wrote:
> I think it's a bad idea, because the directory /lib/modules/$oldVersion$
> will be removed when the package is upgraded kernel. Trivial solution not
> exists.

My solution is to hand-roll my own kernels and initramfs'es after
removing the kernel and mkinitcpio packages.  The way Arch handles its
kernel packages is a weak point -- Fedora and Ubuntu get this bit right.

> 2010/7/17 ganlu <rhythm.gan at gmail.com>
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 2010年07月17日 15:46, Ionuț Bîru wrote:
> > > On 07/17/2010 09:27 AM, Madhurya Kakati wrote:
> > >> Hi,
> > >> While updating to a new kernel pacman replaces the older kernel with
> > >> the new
> > >> one. Is there someway to keep the older kernel in /boot and have new
> > >> entries
> > >> for new kernel in menu.lst while keeping old entries intact?
> > >
> > > no
> > >
> > You can alway do it manually, simply copy the old kernel image as other
> > name before you update, then modify the correspondent line in menu.1st
> > file.
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.10 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> >
> > iQEcBAEBAgAGBQJMQWwCAAoJEOaLWowX7DBTyPYH/jVEL3/YbKpw4g2YQeEDIKhN
> > E1HHpBq0LLxHmqe5N8C79VzGV8V2RSu/B6qsmzjO3f98xd2E+ev4Etd8YGOV5vvU
> > pkKu+UOeDEubFrX75L1/802wTIfO5DI21VaLpRKD/+JJ2R2rTa1Bk2HmTF5DWmoh
> > mpVXOydJyIXNeu2BVUemjn4TK2t6IGs22yCI107F5uD3SV1ZtpavsZ3xZCav3e6B
> > x2R8C2NCF/r3BnVE3BYh9AlX617/F03hCQPOKMyXjLnMylrVvfkxMM1Q9kW97pcl
> > nGR+1YUbNgTnaylyls2dOp4UAwzALcCDVwq9oJnitTcR6f/OlIH6ELUtX0gvUUU=
> > =t+0W
> > -----END PGP SIGNATURE-----
> >

-- 
Victor Lowther
LPIC2 UCP RHCE 


More information about the arch-general mailing list