Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Why do the Handbook kernel install instructions not just...

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
John R. Graham
Administrator
Administrator
User avatar
Posts: 10894
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

Why do the Handbook kernel install instructions not just...

  • Quote

Post by John R. Graham » Thu Aug 30, 2007 7:14 pm

...use "make install"?

I've always wondered about that. It's simpler, the System.map-* and config-* files don't waste much space and are sometimes useful, and the symlinks are very nice. In particular, the symlinks can be used to reduce the complexity of the grub.conf on initial install. There could be a nice explanation in the Handbook contrasting the simple method (e.g., "make install" and simple grub.conf) vs. the precise control method (e.g., copying just what you need and specifying explicit filenames in grub.conf).

(I'd even be willing to rewrite the section.)

Just wondering. :)

- John
Top
der.gecko
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 127
Joined: Fri Jul 13, 2007 4:55 pm
Location: de

  • Quote

Post by der.gecko » Thu Aug 30, 2007 8:04 pm

true, but with the actual handbook the user (probably a newbie) should get a better understanding how his gentoo-linux works!
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10894
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Thu Aug 30, 2007 8:12 pm

I liked the symlink handling in the manual kernel build "make install" so much that I added identical functionality to genkernel (released in genkernel-3.4.9). :D

- John
Top
Mark Clegg
Apprentice
Apprentice
User avatar
Posts: 270
Joined: Mon Jan 05, 2004 12:33 pm
Location: ZZ9 Plural Z Alpha

  • Quote

Post by Mark Clegg » Thu Aug 30, 2007 8:12 pm

IIRC when I was using gentoo on sparc a while ago, "make install" wasn't an option on that arch.

By using the long-hand method, the install doc's remain arch-independent.
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10894
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Sun Sep 02, 2007 4:52 pm

Thought it might be something like that. However, seems a little silly. "make install" is the simplest thing that the kernel build does. Why shouldn't it work across all architectures?

- John
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Sun Sep 02, 2007 5:08 pm

Anyway, it should be:

Code: Select all

make clean bzImage modules modules_install
Suggesting "shortcut" commands, which don't perform a full recompilation, is why we see loads of "unknown symbol in kernel module" moans in threads.
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10894
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Sun Sep 02, 2007 5:28 pm

For brevity, I was not including the whole handbook when all I was talking about was the step that places the compiled kernel image into /boot.

It just seemed odd that the handbooks would not take advantage of the built-in automation of the manual kernel build process and that

Code: Select all

make install
was less error prone than

Code: Select all

cp arch/i386/boot/bzImage /boot/kernel-2.6.19-gentoo-r5
which is what is stated in the handbook, but the beginner must have read carefully enough to know to modify the kernel name based on what the version actually is. Seems like the Handbook method might be more error prone.

Similarly, it seems to me that there are less chances for error in grub.conf if the kernel name was always "vmlinuz" (at least for the inital setup of grub.conf), which is the name of the symlink that "make install" makes.

- John
Top
owner66
n00b
n00b
User avatar
Posts: 18
Joined: Tue Aug 21, 2007 3:54 am
Contact:
Contact owner66
Website

  • Quote

Post by owner66 » Sun Sep 02, 2007 7:23 pm

I really do agree with where jrg is going on this. I had never done anything with Linux before, and settled on gentoo. I have sucessfully installed it from the livecd and am up and going. however, once i start looking into the hows and whys of what is really going on in the system, it seems like the handbook install overly complicates things. Or, at least, the handbook install should go into more detail about what you have really done after doing the livecd install. It is very confusing with all the cp arch/ stuff and bzImage stuff
In other words, going from the live cd install, and understanding how and why, should be covered in the "where to go from here?" section.
All I get is "If you are interested in optimizing your system for desktop use, or you want to learn how to configure your system to be a full working desktop system.."
What? why would i do that? I just installed, it's not fully working?
A tutorial on what this above statement means is needed IMHO.
ds
Clean the contacts by vigorously rubbing the electrical contacts on the printed circuit board with a pencil eraser. Tape the 16K RAM pack to the computer to prevent loss of contact due to accidental movement.
Top
neysx
Retired Dev
Retired Dev
User avatar
Posts: 795
Joined: Mon Jan 27, 2003 10:16 am
Contact:
Contact neysx
Website

  • Quote

Post by neysx » Mon Sep 03, 2007 9:16 am

Been discussed before.
There are already several bugs about this question.
Just one of them as an example: http://bugs.gentoo.org/show_bug.cgi?id=183346
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10894
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Mon Sep 03, 2007 12:10 pm

Ah. Many thanks, Xavier. It didn't make sense that this wouldn't have been discussed before. Guess I didn't search well enough.

- John
Top
Post Reply

10 posts • Page 1 of 1

Return to “Installing Gentoo”

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