I messed up the symlinks in the /boot directory
First, I had prepackaged kernels 2.6.8 and 2.6.10, which were "old"
and "Linux" in yaboot, respectively. Then I installed 2.6.11, which
became "Linux" and 2.6.10 was now "old". Then I removed 2.6.11, but
had to restore the symlinks myself.
Now I installed 2.6.11 again, but it did not modify the symlinks in
the boot directory. Now I can modify them by hand, but my impression
is that it is not touching them because I managed settings by hand, so
I would like to get back the original behaviour of automatically
having Linux point to the latest kernel. What script/program should I
run?
% ll /boot
total 29776
-rw-r--r-- 1 root 42656 2005-02-23 14:16 config-2.6.10-powerpc
-rw-r--r-- 1 root 44344 2005-03-16 15:37 config-2.6.11-powerpc
-rw-r--r-- 1 root 40003 2005-02-24 07:50 config-2.6.8-powerpc
-rw-r--r-- 1 root 1024 2005-01-05 07:06 first.b
lrwxr-xr-x 1 root 25 2005-03-11 20:13 initrd.img -> initrd.img-2.6.10-powerpc
-rw-r--r-- 1 root 4943872 2005-03-11 20:13 initrd.img-2.6.10-powerpc
-rw-r--r-- 1 root 4976640 2005-03-25 16:27 initrd.img-2.6.11-powerpc
-rw-r--r-- 1 root 4820992 2005-03-09 13:56 initrd.img-2.6.8-powerpc
lrwxr-xr-x 1 root 24 2005-03-20 15:31 initrd.img.old -> initrd.img-2.6.8-powerpc
-rw-r--r-- 1 root 45328 2005-01-05 07:06 second.b
-rw-r--r-- 1 root 934947 2005-02-23 17:19 System.map-2.6.10-powerpc
-rw-r--r-- 1 root 955144 2005-03-16 17:23 System.map-2.6.11-powerpc
-rw-r--r-- 1 root 944355 2005-02-24 10:39 System.map-2.6.8-powerpc
lrwxrwxrwx 1 root 22 2005-03-20 14:32 vmlinux -> vmlinux-2.6.10-powerpc
-rw-r--r-- 1 root 4248970 2005-02-23 17:19 vmlinux-2.6.10-powerpc
-rw-r--r-- 1 root 4422421 2005-03-16 17:23 vmlinux-2.6.11-powerpc
-rw-r--r-- 1 root 3966165 2005-02-24 10:39 vmlinux-2.6.8-powerpc
lrwxrwxrwx 1 root 21 2005-03-20 14:32 vmlinux.old -> vmlinux-2.6.8-powerpc
Thanks,
Tamas
Reply to: