Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

/boot/vmlinuz symlink

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
Konsti
l33t
l33t
User avatar
Posts: 691
Joined: Tue Dec 10, 2002 12:42 pm
Contact:
Contact Konsti
Website

/boot/vmlinuz symlink

  • Quote

Post by Konsti » Mon Jun 23, 2008 12:36 pm

Hi there!

Actually I realize that a "make install" in my /usr/src/linux directory does only copy the config, System.map and vmlinuz to /boot in a fully named manner:

Code: Select all

-rw-r--r--  1 root root     512 2008-04-05 12:47 boot.0800
-rw-r--r--  1 root root   30455 2008-06-23 14:30 config-2.6.25-gentoo-r3
-rw-r--r--  1 root root       0 2007-04-20 01:54 .keep
-rw-r--r--  1 root root       0 2008-04-05 12:45 .keep_sys-boot_lilo-0
-rw-------  1 root root   44544 2008-06-13 07:21 .map
-rw-r--r--  1 root root  681719 2008-06-23 14:30 System.map-2.6.25-gentoo-r3
-rw-r--r--  1 root root 1483836 2008-06-23 14:30 vmlinuz-2.6.25-gentoo-r3
I expected it creates also vmlinuz, System.map and config symlinks to the fully named files, where has this feature gone to?
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Tue Jun 24, 2008 12:20 am

I noticed this too, and I prefer the old behaviour.

/sbin/installkernel is provided by sys-apps/debianutils , and I think there was a recent update.

I have not tried to downgrade debianutils (yet), but I think this would fix it.
Top
Konsti
l33t
l33t
User avatar
Posts: 691
Joined: Tue Dec 10, 2002 12:42 pm
Contact:
Contact Konsti
Website

  • Quote

Post by Konsti » Tue Jun 24, 2008 9:34 am

Okay, you are right. I did not know debianutils are involved into that. I did an

Code: Select all

[ebuild     UD] sys-apps/debianutils-2.28.5 [2.29] USE="-static" 0 kB
which restores the old behaviour again - calls lilo and a straight /boot/vmlinuz symlink.

Is this intentional or a bug? Should this be filed agains debianutils?
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Tue Jun 24, 2008 11:51 pm

Unfortunately, I think they did this on purpose.
debianutils changelog wrote:debianutils (2.29) unstable; urgency=low

* installkernel, installkernel.8: apply patch from Manoj Srivastava
to update the installkernel script to be useful on modern
installations. closes: #485278.

-- Clint Adams <schizo@debian.org> Sun, 08 Jun 2008 18:13:58 -0400
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485278
Top
Konsti
l33t
l33t
User avatar
Posts: 691
Joined: Tue Dec 10, 2002 12:42 pm
Contact:
Contact Konsti
Website

  • Quote

Post by Konsti » Wed Jun 25, 2008 7:44 am

I found this very useful. The debian people are getting very strange...
Why aren't the symlinks useful for grub? And how about lilo? :?
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Wed Jun 25, 2008 2:14 pm

The symlinks are useful with grub.

One of the reasons I use "make install" is so I won't have to edit grub.conf every time I upgrade the kernel.
Top
Konsti
l33t
l33t
User avatar
Posts: 691
Joined: Tue Dec 10, 2002 12:42 pm
Contact:
Contact Konsti
Website

  • Quote

Post by Konsti » Wed Jun 25, 2008 2:32 pm

I agree and in this way these smylinks are as usual when using lilo!
But what he points out is

Code: Select all

These symlinks are [b]not[/b] useful if you use grub...
This is why I am astonished a bit, despite of the fact to figure out how to do this task automagically without debianutils from now on and why gentoolcit and ca-certificates depend on them :wink:
Top
slycordinator
Advocate
Advocate
User avatar
Posts: 3065
Joined: Sat Jan 31, 2004 9:51 pm
Location: Korea

  • Quote

Post by slycordinator » Wed Mar 25, 2009 4:02 am

Konsti wrote:But what he points out is

Code: Select all

These symlinks are [b]not[/b] useful if you use grub...
This is why I am astonished a bit
You're forgetting that it's a debian bug. And in debian, if you have grub it updates grub.conf (or it's probably menu.lst in debian) for you automatically making the symlink superfluous.

In any case, the updated debianutils still does the symlink updating; it just won't create it. So go to /boot and make the vmlinuz symlink and the next time you do "make install" it'll update that for you.
My political stance/bias
slycordinator != slycoordinator
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Wed Mar 25, 2009 4:32 am

cyrillic wrote:The symlinks are useful with grub.
I agree. I liked the kernel's "make install" behavior so much that I implemented the same behavior in genkernel and got it accepted into Portage.

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
disi
Veteran
Veteran
User avatar
Posts: 1354
Joined: Fri Nov 28, 2003 4:33 am
Location: Out There ...

  • Quote

Post by disi » Wed Mar 25, 2009 1:02 pm

I noticed this month ago, since a longer time I use Genkernel (reason:lvm) and it does it for me :)

Since I control anyway, I thought a broken script or something but not that this was changed on purpose.
Top
slycordinator
Advocate
Advocate
User avatar
Posts: 3065
Joined: Sat Jan 31, 2004 9:51 pm
Location: Korea

  • Quote

Post by slycordinator » Wed Mar 25, 2009 3:31 pm

Again, the symlinks will be updated for you automagically but will not be created if they don't exist.
My political stance/bias
slycordinator != slycoordinator
Top
Post Reply

11 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic