Results 1 to 10 of 10
Hi there,
I just downloaded the linux kernel source code (2.6.7) and put the tar.bz2 on my USB flash drive. Problem is, i can view the 15,000 odd files in ...
- 10-22-2004 #1Just Joined!
- Join Date
- Oct 2004
- Posts
- 43
No files in tar.bz2 archive!
Hi there,
I just downloaded the linux kernel source code (2.6.7) and put the tar.bz2 on my USB flash drive. Problem is, i can view the 15,000 odd files in Windows (by WinRAR), but linux gives me 0 files. I tried copying the archive from my flash drive to my linux partition and unzipping it there, but it still shows 0 files in the archive. Any help would be appreciated.
Zer0
- 10-22-2004 #2
how are you extracting it? using fileroller or command line or what?
- 10-22-2004 #3Just Joined!
- Join Date
- Oct 2004
- Posts
- 43
i first tried extracting it through KDE (right-click -> Extract to), since my command line tar utility is messed up (it just hangs if i try tar x <filename>). After that didn't work, i tried viewing the files in the archive, which gave me a count of 0. 'Extract to' seemed to work without a hitch, except it extracted all the files that it found: 0. So i'm lost. I wish i could use the command line version (since Mandrake 10.0 doesn't support the 915G chipset, hence the horrible refresh rate on the default vesa), but i can't. Hope this helps.
Thanks
- 10-22-2004 #4try thatCode:
tar xvfj filename.tar.bz2
-lakerdonald
- 10-22-2004 #5Just Joined!
- Join Date
- Oct 2004
- Posts
- 43
thank you very much lakerdonald. I'll try that right now (after i reboot my computer and go into linux!)
- 10-23-2004 #6Just Joined!
- Join Date
- Oct 2004
- Posts
- 43
and i'm back like a bad rash.
i tried the tar xvfj option, albeit unsuccessfully. Here is the output:
-----------------------------------------------------------------------
[root@localhost void]# tar xvfj linux-2.6.7.tar.bz2
bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
tar: Child returned status 2
tar: Error exit delayed from previous errors
[root@localhost void]# bunzip2 -tvv linux-2.6.7.tar.bz2
linux-2.6.7.tar.bz2:
[1: huff+mtf file ends unexpectedly
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
[root@localhost void]# bzip2recover linux-2.6.7.tar.bz2
bzip2recover 1.0.2: extracts blocks from damaged .bz2 files.
bzip2recover: searching for block boundaries ...
block 1 runs from 80 to 524288 (incomplete)
bzip2recover: sorry, I couldn't find any block boundaries.
-----------------------------------------------------------------------
File corruption seems strange, as the KDE list view shows that the bz2 archive is 33.5MB large, which seems right. My guess is that i have to get LinuxRAR, install that, and then try unarchiving with that utility.
Actually, the problem is not the Linux kernel archive, becuase i have a number of other archives (mostly PCIe display/network drivers) on the same USB drive.
Anyway, thanks for all your help.
Zer0
- 10-23-2004 #7
why don't you just try redownloading the bzip2 file or getting it from a different source. that is the most likely reason, cos bzip2 is a UNIX format not a Windows one, so there shouldn't be any strange kernel incompatiblilty
-lakerdonald
- 10-23-2004 #8Just Joined!
- Join Date
- Oct 2004
- Posts
- 43
I'll try both, redownloading (even on my pathetically slow 14KBps connection) the kernel source, and using LinuxRAR. Thanks.
- 10-23-2004 #9
why not just redownload bzip2????
- 10-23-2004 #10Just Joined!
- Join Date
- Oct 2004
- Posts
- 43
Oh, do you mean redownload bzip2 the utility? i'll do that, yeah.


Reply With Quote
