Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-27-2004, 12:13 AM   #1
LQ Newbie
Registered: Feb 2004
Location: New York
Distribution: Red Hat 9
Posts: 13

Rep: Reputation: 0
Kernel 2.6.3

Ok another newbie question.
I am trying to compile the Linux 2.6.3 to replace kernel I am following the instructions in the readme file after downloading. the file is in my home directory. Readme instructions are as follows.
INSTALLING the kernel:

- If you install the full sources, put the kernel tarball in a
directory where you have permissions (eg. your home directory) and
unpack it:

gzip -cd linux-2.6.XX.tar.gz | tar xvf -

Replace "XX" with the version number of the latest kernel.
but my output from the command line is:

[root@localhost home]# cd /home
[root@localhost home]# gzip cd linux-2.6.3.tar.bz2.gz | tar xvf -
gzip: cd: No such file or directory
gzip: linux-2.6.3.tar.bz2.gz: No such file or directory
[root@localhost home]#
Can someone tell me what I am doing wrong.
Old 02-27-2004, 12:37 AM   #2
Registered: Jan 2004
Distribution: Mac OS X 10.6.4 "Snow Leopard", Win 7, Ubuntu 10.04
Posts: 322

Rep: Reputation: 31
I think you might have forgot the - infront of cd. Or wouldn't tar -xzvf ./linux_kernel.... work as well? I think it should, thats how i normally handle compressed tarballs.

Old 02-27-2004, 07:56 AM   #3
Registered: Feb 2004
Location: New York City
Distribution: Debian
Posts: 97

Rep: Reputation: 15
If you ever have a problem of that sort, just simplify your command.

You could first do:

gunzip kernel.tar.bz2.gz
then procede to bunzip2 and tar. If once set of commands fail to work, try to simplify.
Old 02-27-2004, 08:28 AM   #4
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 418Reputation: 418Reputation: 418Reputation: 418Reputation: 418
The way to unzip the file is:

tar xjvf linux-2.6.3.tar.bz2

Assuming you have a .bz2 file, which is what you normally get from That will completely unpack the kernel archive into a linux-2.6.3 directory.
Old 02-27-2004, 11:46 AM   #5
LQ Newbie
Registered: Feb 2004
Location: New York
Distribution: Red Hat 9
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for all the responses guys I'll try them when I get home.


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 04:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 05:54 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 02:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:26 PM.

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