tar problems because of usb?Forum: USB booting Topic: tar problems because of usb? started by: sirka Posted by sirka on Feb. 06 2007,06:01
I'm running DSL from a pen drive.I tried to install a few programs and ran into this error when trying to untar [/home/dsl]# tar -xvfz peercast-linux.tgz tar: z: Cannot open: No such file or directory tar: Error is not recoverable: exiting now I redownloaded peercast-linux.tgz to make sure the file isnt bad. I also had this same problem with a different program I tried to unpack. I dont know what z: is or why tar would look for it... is it some default drive or directory that would normally be present if I was running the OS from a hard drive? Is there a way I can change z: to /cdrom so it uses my pen drive? Posted by mikshaw on Feb. 06 2007,06:15
The order of arguments is mixed up. The "f" should be directly before the filename ("f" means "file"). As a result, tar thinks you are trying to open a file named "z". The "z" option passes the archive through the gzip (or gunzip?) program because it is a compressed archive.tar -xzvf peercast-linux.tgz Posted by sirka on Feb. 06 2007,06:23
man, i was completely off on that onethanks alot! |