LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-05-2005, 09:34 AM   #1
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Rep: Reputation: 30
A new kernel meets an old distro?


Hello I just downloaded the latest kernel and just for the sheer fun of it I'm downloading Slack 9.1 and I want to run the latest kernel off of it. There is an option in one of the screens to where you can load one off of a floppy disk, the file I downloaded for the kernel was a .bz2 is this OK to put on the floppy - will this run the kernel? Furthermore, would my idea actually work? Or would would it just overload the system because of the newest kernel and just crash on me? Thanks for the help.
 
Old 03-05-2005, 09:42 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
If you downloaded the kernel from kernel.org you will need to compile it after you have installed the distro. For a guide to compiling it see:
http://wiki.linuxquestions.org/wiki/Compiling_a_Kernel
 
Old 03-05-2005, 09:48 AM   #3
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Original Poster
Rep: Reputation: 30
eep, looks confusing sort of. So I can put the .bz2 file on the floppy and install the distro regularly but afterwards I need to compile it when it's all done?


And may I ask what "rm -rf /" does?

Last edited by Mr. Hill; 03-05-2005 at 09:50 AM.
 
Old 03-05-2005, 09:56 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Quote:
Originally posted by Mr. Hill
eep, looks confusing sort of. So I can put the .bz2 file on the floppy and install the distro regularly but afterwards I need to compile it when it's all done?
If you are downloading the full kernel from kernel.org I doubt you will get it to fit on a floppy, it's about 36MB.

Quote:
Originally posted by Mr. Hill
And may I ask what "rm -rf /" does?
See "man rm" look up the arguments -r and -f and what they will do to your root partition.
 
Old 03-05-2005, 10:02 AM   #5
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Original Poster
Rep: Reputation: 30
Hmm.. says it's 4mb, maybe that's why it's a .bz2. But the file is telling me it's a patch, what's going on here? I'm going back to kernel.org and looking for the real kernel.

Thanks for the info on your sig, I'll check the arguments out.
 
Old 03-05-2005, 10:07 AM   #6
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Quote:
Originally posted by Mr. Hill
Hmm.. says it's 4mb, maybe that's why it's a .bz2. But the file is telling me it's a patch, what's going on here? I'm going back to kernel.org and looking for the real kernel.

Thanks for the info on your sig, I'll check the arguments out.
In kernel.org in like like:

Code:
The latest stable version of the Linux kernel is:  	2.6.11 	2005-03-02 08:00 UTC 	F 	V 	VI 	C 	Changelog
the 2.6.11 link is a link to the latest patch. You need the "F" link to download the whole kernel source.

And all those are kernel sources. The need to be compiled, with the options you need for you computer.
 
Old 03-05-2005, 10:08 AM   #7
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52

It's all written down at the bottom of the page.

Last edited by perfect_circle; 03-05-2005 at 10:17 AM.
 
Old 03-05-2005, 10:13 AM   #8
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Original Poster
Rep: Reputation: 30
Thanks. I'm downloading the "F" file right now. So the patch just gives me 2.6.11? I'm just getting deeply confused..


Update: OK, I think I understand this a bit more now. I just need to burn the "F" Kernel to a cd-rom along with its patch (.bz2 files). But in the installation do I just choose to have no kernel and then later put the disc in my drive and go from there to compile it?

Feel free to correct me if I am worng, which I probably am.

Last edited by Mr. Hill; 03-05-2005 at 10:16 AM.
 
Old 03-05-2005, 10:16 AM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
If you had vanila kernel 2.6.10 then you would only need to download the patch in order to get 2.6.11. So when 2.6.12 comes out you don't need to download the whole thing again. Just:
cd /usr/src/linux
bzcat /path/to/patch-xxx.bz2 | patch -p1
 
Old 03-05-2005, 10:17 AM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
When you install, just use the kernel on the disk and worry about updting the kernel after the distribution is installed and working.
 
Old 03-05-2005, 10:18 AM   #11
Mr. Hill
Member
 
Registered: Feb 2005
Location: Pepperland
Distribution: Arch Wombat, FreeBSD Current, OpenBSD 3.7
Posts: 238

Original Poster
Rep: Reputation: 30
Hmm.. so I just have to have this kernel on and then I can throw on the patches. OK thanks.
 
  


Reply


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
how they make ends meets?? alaios Linux - General 3 04-11-2005 05:19 PM
mod_dosevasive meets debian Chris Murphy Debian 1 03-03-2005 03:00 AM
Need a distro that meets these requirements te27ch Linux - Distributions 3 07-25-2004 03:34 PM
Linare Chairman Meets Indian President distroguy General 1 07-03-2004 02:15 PM
New speccy video card meets linux... fatgod Linux - Hardware 5 05-30-2002 04:17 PM


All times are GMT -5. The time now is 10:29 AM.

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