Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Please explain links within /boot...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sat May 14, 2005 1:02 pm    Post subject: Please explain links within /boot... Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54795
Location: 56N 3W

PostPosted: Sat May 14, 2005 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sat May 14, 2005 3:01 pm    Post subject: Reply with quote

[/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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54795
Location: 56N 3W

PostPosted: Sat May 14, 2005 3:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sat May 14, 2005 4:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum