LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel compile problems (https://www.linuxquestions.org/questions/linux-software-2/kernel-compile-problems-414265/)

draggin 02-11-2006 02:37 PM

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

macemoneta 02-11-2006 02:58 PM

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.

mi6 02-11-2006 03:00 PM

edit: mace beat me to it

comprookie2000 02-11-2006 03:19 PM

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

draggin 02-11-2006 03:41 PM

Thanks guys will give it a go and let you know

Tim


All times are GMT -5. The time now is 06:19 AM.