Trying to accomplish something which I thought was pretty basic....
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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....
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?
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.
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?
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.