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