View previous topic :: View next topic |
Author |
Message |
cgmd Veteran
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Sat May 14, 2005 1:02 pm Post subject: Please explain links within /boot... |
|
|
After a recent upgrade to 2.6, I now have both my former 2.4 kernel as well as the new 2.6 kernel working, but with some kinks still in the new 2.6.
Looking over the /boot directory, I noticed 3 links related in some manner to the 2.4 kernel...
Code: | lrwxrwxrwx 1 root root 27 Mar 20 12:39 System.map -> System.map-2.4.26-gentoo-r9
lrwxrwxrwx 1 root root 23 Mar 20 12:39 config -> config-2.4.26-gentoo-r9
lrwxrwxrwx 1 root root 24 Mar 20 12:39 vmlinuz -> vmlinuz-2.4.26-gentoo-r9
|
There are no links in /boot to the new 2.6 kernel. Would someone please tell me if there is any significance to this?
Thanks... _________________ "Primum non nocere" ---Galen |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54795 Location: 56N 3W
|
Posted: Sat May 14, 2005 2:39 pm Post subject: |
|
|
cgmd,
The links are just a convienence. If you use the linis to refer to the files they point to, you need not rememebr the version numbers.
System.map is a text file listing all the kernel functions and start addresses. Its only used for kernel debugging
config is the kernel configuration file, this is a backup copy and never normally used.
vmlinuz is the kernel file itself. By having grub point to vmlinuz and not to vmlinuz-2.4.26-gentoo-r9, you have no need to edit grub.conf when you install a later kernel. The link gets updated instead.
This removes a degree of control from you, since adding an extra boot block to grub.conf lets you choose kerenls at boot time. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
cgmd Veteran
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Sat May 14, 2005 3:01 pm Post subject: |
|
|
[/b]NeddySeagoon...
Thanks...
That being the case, I assume I can remove those links with impunity?
Thanks, again... _________________ "Primum non nocere" ---Galen |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54795 Location: 56N 3W
|
Posted: Sat May 14, 2005 3:26 pm Post subject: |
|
|
cgmd,
You can remove the System.map and config links (amd the files they point to) but you need to check grub.conf to see if you can remove vmlinuz. What does the kernel line say for your 2.4 boot block ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
cgmd Veteran
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Sat May 14, 2005 4:17 pm Post subject: |
|
|
NeddySeagoon...
My 2.4 grub entry is fairly clean... Code: | title=Gentoo Linux 2.4.26-r9
root (hd0,0)
kernel /kernel-2.4.26-gentoo-r9 root=/dev/hda3
|
Safe to include vmlinuz?
Thanks... _________________ "Primum non nocere" ---Galen |
|
Back to top |
|
|
|