LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2006, 02:37 PM   #1
draggin
Member
 
Registered: Jan 2004
Location: Bournemouth UK
Distribution: Debian & Mepis
Posts: 108

Rep: Reputation: 15
Kernel compile problems


I am trying to compile my own kernel, I am using the instruction from here:

http://www.cyon.org.uk/index.php/ubu...on-for-newbies

I have downloaded a vanilla 2.6.14 kernel

At the back of the doc where it tells you do how to compile a vanilla kernel it says

sudo tar –bzip2 -xvf linux-source-2.6.12.tar.bz2 /usr/src (use the name of the file you downloaded)

So I typed

mit@sun:~/kernel$ sudo tar -bzip2 -xvf linux-2.6.14.tar.bz2 /usr/src/linux-2.6.14

And I get the following error

tar: zip2: Invalid blocking factor

Any pointers where I am going wrong???

Thanks

Tim
 
Old 02-11-2006, 02:58 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
A 'man tar' says:

Code:
-j, --bzip2
filter archive through bzip2, use to decompress .bz2 files
So it seems you are missing a dash in front of the bzip2 option.
 
Old 02-11-2006, 03:00 PM   #3
mi6
Member
 
Registered: Jun 2003
Distribution: Fedora 9 64bit, RHEL 4.6
Posts: 96

Rep: Reputation: 15
edit: mace beat me to it

Last edited by mi6; 02-11-2006 at 03:01 PM.
 
Old 02-11-2006, 03:19 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Or you can just move it to /usr/src and untar it there
Code:
sudo mv linux-2.6.14.tar.bz2 /usr/src/
cd /usr/src
tar xvfj linux-2.6.14.tar.bz2
rm linux
ln -s linux-2.6.14 linux
cd /usr/src/linux
make menuconfig
You may have to use sudo with each command, not sure, I don't like sudo

Last edited by comprookie2000; 02-11-2006 at 03:21 PM.
 
Old 02-11-2006, 03:41 PM   #5
draggin
Member
 
Registered: Jan 2004
Location: Bournemouth UK
Distribution: Debian & Mepis
Posts: 108

Original Poster
Rep: Reputation: 15
Thanks guys will give it a go and let you know

Tim
 
  


Reply



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
kernel compile problems mailbinoy Linux - Newbie 5 06-30-2005 11:13 AM
kernel compile problems rj2585 Mandriva 2 05-09-2005 01:50 AM
Re-Compile Kernel Problems Eyaw_Nayr Debian 3 11-15-2004 01:23 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
Problems after kernel compile brokenflea Slackware 1 04-21-2004 12:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:43 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
Open Source Consulting | Domain Registration