LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2010, 02:49 PM   #16
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126

Quote:
Originally Posted by AwesomeMachine View Post
Although, when I'm working on Debian, I use Debian sources, make-kpkg, update-initramfs, and update-grub.
Aren't the update-initramfs and update-grub done for you by dpkg -i?
 
Old 02-13-2010, 02:51 PM   #17
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Eric Hameleers (alien BOB) recommends building it in /usr/src. When a top Slacker and a top kernel developer disagree, what's a poor newbie like me to do?

http://alien.slackbook.org/dokuwiki/...kernelbuilding
 
Old 02-13-2010, 03:02 PM   #18
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
For what it's worth I follow Bob on this. It's generally a safe method, and doesn't involve removing anything, whereas some guides I have read have people removing the old kernel, before trying to boot the new one.

Also, Bob's remarks regarding using /usr/src/ are qualified by the line
Quote:
I believe this advice is irrelevant for Slackware and the way it has it's kernel headers and glibc package setup.
I can't speak for another distro, but Bob's remarks imply that there may be a distro out there, for which, building in /usr/src/ may not be as safe?

From the above link:
Quote:
There is a debate whether you should build your kernels in the /usr/src tree or somewhere entirely else.
The cause is an old post by Linus Torvalds (from July 2000) where he advises people to build from within their home directory. I believe this advice is irrelevant for Slackware and the way it has it's kernel headers and glibc package setup. So, my advice is to ignore this old post by Linus and install your kernel sources into /usr/src if you want. The kernel building location is purely a matter of personal preference.

Last edited by damgar; 02-13-2010 at 03:20 PM.
 
Old 02-13-2010, 03:12 PM   #19
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by damgar View Post
For what it's worth I follow Bob on this.
Yeah, definitely. If it wasn't safe, he wouldn't recommend it.
 
  


Reply

Tags
kernel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Learn to compile before or after I choose a second distro? linuxpokernut Linux - Newbie 6 10-09-2007 04:56 AM
Learn to compile software (the advanced way)? brynjarh Linux - Software 5 12-16-2005 07:25 PM
book/ reference to learn how to compile, install softwares? sirpelidor Linux - Software 2 10-29-2003 07:29 AM


All times are GMT -5. The time now is 07:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration