On Mon, 7 Nov 2011 12:00:39 +1100, Adam Carter wrote: > > All it does it copy the kernel, system map and config to /boot and > > reset the symlinks to point to the new and previous kernels. You can > > still keep as many kernels as you want in /boot, but you can always > > boot the last two without modifying GRUB's config. > > Can you please ls -l /boot so i can see what it sets up? I'm still > doing all that manually... >
% ls -lh /boot total 373M lrwxrwxrwx 1 root root 1 Jul 22 2008 boot -> . lrwxrwxrwx 1 root root 22 Nov 3 20:00 config -> config-3.1.0-gentoo-11 -rw-r--r-- 1 root root 78K Oct 19 09:30 config-3.0.7-gentoo -rw-r--r-- 1 root root 79K Nov 2 16:47 config-3.1.0-gentoo-10 -rw-r--r-- 1 root root 79K Nov 3 19:58 config-3.1.0-gentoo-11 lrwxrwxrwx 1 root root 22 Nov 3 20:00 config.old -> config-3.1.0-gentoo-10 drwxr-xr-x 3 root root 4.0K Nov 6 21:23 grub2 lrwxrwxrwx 1 root root 26 Nov 3 20:00 System.map -> System.map-3.1.0-gentoo-11 -rw-r--r-- 1 root root 1.6M Oct 19 09:30 System.map-3.0.7-gentoo -rw-r--r-- 1 root root 1.6M Nov 2 16:47 System.map-3.1.0-gentoo-10 -rw-r--r-- 1 root root 1.6M Nov 3 19:58 System.map-3.1.0-gentoo-11 lrwxrwxrwx 1 root root 26 Nov 3 20:00 System.map.old -> System.map-3.1.0-gentoo-10 lrwxrwxrwx 1 root root 23 Oct 19 21:58 System.map.safe -> System.map-3.0.7-gentoo -rw-r--r-- 1 nelz users 350M Nov 3 00:17 systemrescuecd-x86-2.4.0.iso lrwxrwxrwx 1 root root 23 Nov 3 20:00 vmlinuz -> vmlinuz-3.1.0-gentoo-11 -rw-r--r-- 1 root root 2.8M Oct 19 09:30 vmlinuz-3.0.7-gentoo -rw-r--r-- 1 root root 2.9M Nov 2 16:47 vmlinuz-3.1.0-gentoo-10 -rw-r--r-- 1 root root 2.9M Nov 3 19:58 vmlinuz-3.1.0-gentoo-11 lrwxrwxrwx 1 root root 23 Nov 3 20:00 vmlinuz.old -> vmlinuz-3.1.0-gentoo-10 I think you need debianutils installed to create the symlinks. Grub doesn't need to be touched because the menu points to the symlinks rather than specific kernels although I'm using Grub2 on this box, so specific versions are added to the end of the menu by grub2-mkconfig. -- Neil Bothwick I distinctly remember forgetting that.
signature.asc
Description: PGP signature