LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 08-02-2003, 07:01 PM   #1
a5150a
LQ Newbie
 
Registered: Aug 2003
Location: Charleston, SC
Distribution: Red Hat 9.0
Posts: 5

Rep: Reputation: 0
Trying to accomplish something which I thought was pretty basic....


Well, I'm trying to uzip a file, filename is GCT_opera_2003-3-3.gz.... when I dbl click it, gzip opens up and tries to unzip the package... then it comes back and says it's not in gzip format. Iv'e tried tar -xzvf (even though there's no tar in the filename), unzip -xzvf, etc. in a terminal, also to no avail. This is all so new to me. Any suggestions? I've done a few searches already, and haven't turned up anything....
 
Old 08-02-2003, 07:06 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Try 'file GCT_opera_2003-3-3.gz' and see if it returns anything useful.
 
Old 08-02-2003, 07:20 PM   #3
a5150a
LQ Newbie
 
Registered: Aug 2003
Location: Charleston, SC
Distribution: Red Hat 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by digiot
Try 'file GCT_opera_2003-3-3.gz' and see if it returns anything useful.
ok.. did that, now it says "x86 boot sector".....

what I'm trying to end up with is a .img file that can be loaded onto a CF card for booting a system.... does this mean I've just got to convert the 'gz file to .img? If so, how can this be done?
 
Old 08-02-2003, 07:26 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Hm. I have no familiarity with what you're doing but I suspect you could just try renaming it. If it didn't return anything about compression, it's probably not compressed. And it's possible it doesn't even need that. Maybe it's just usable as is? I could be way wrong here, though.

I mean, you would 'dd' it to this device, right? So just 'dd if=whoozitz.gz' etc might work.

Last edited by slakmagik; 08-02-2003 at 07:28 PM.
 
Old 08-02-2003, 07:34 PM   #5
a5150a
LQ Newbie
 
Registered: Aug 2003
Location: Charleston, SC
Distribution: Red Hat 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
Yeah, I tried to rename it as an .img file, then dd'd it to the CF card. ended up with a bunch of folders that had incorrect file sizes and such... lots of 2GB sizes, etc... this is on a 128MB flash card. The original .gz file was about 30mb. I'm guessing something may be wrong there. Now, to view this, I mounted the flash drive, then just dbl clicked it to view... should I be viewing in another fashion?
 
Old 08-02-2003, 07:40 PM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Yeah - you mentioned 'double-clicked' to unzip and now 'double-clicking' to view - what are you viewing with? If it wrote directories to the card then that sounds like it's at least partly right. You say this is to boot with - have you tried it? I'm going to have to bow out because I really have no idea why directories would show up as two gigs. Like I say, I don't know anything about flash cards - I just knew about identifying certain kinds of files. But good luck with it.
 
Old 08-02-2003, 07:46 PM   #7
a5150a
LQ Newbie
 
Registered: Aug 2003
Location: Charleston, SC
Distribution: Red Hat 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
I appreciate your help.. as far as the 'double clicking' goes, I'm a Windows guy..... double click everything. Guess I'm just expecting a program to be associated with the file automatically. When I double clicked the .gz file, gzip opened automatically. Once the file was dd'd to the cf card, I mounted the directory (/mnt/flash), then dbl clicked it on the desktop. It opened right up, but the file names were all screwy and the file sizes were wrong. In any case... thanks for the help! I'll keep pluggin' along at it.... figure it out sooner or later!
 
  


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
I am probably the first ever to accomplish this, Cards_STL LinuxQuestions.org Member Success Stories 13 10-31-2005 03:07 AM
command line help - pretty basic Chuck23 Linux - Hardware 6 01-13-2005 10:30 AM
How can i accomplish this ? Drogo Linux - Software 2 10-17-2003 04:38 AM
Need a command to accomplish... infamous41md Linux - General 1 05-19-2003 03:14 PM
very pretty equipment bigjohn Linux - Hardware 2 04-13-2003 01:55 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration