Extracting tar.xz
Hi,
i need your help what to do next. Please read this text. Extract the images using "tar -xvf IMAGE.tar.xz" -C /mnt" (replace "IMAGE" with the current Fortress Linux image). I have a tar.xz file on usb stick. I have no idea what to do. I am getting error no such file or directory. Thanks. |
Judging from the error message it seams you are using the wrong path. Please change to the directory where the file resides and give the output of pwd.
What I also find strange is that the wikipedia entry of .xz tells to use the option -J for xz archives. So it might also be that the options your using with tar might be wrong. |
You can determine the type of file with the file command; see the manpage for 'file'. Once determined, you can strip of the first layer of your file and run file again to figure out what you have now. Etc etc.
I assume that you are aware that extensions have no meaning in Linux; anybody can call it anything :) So from the filename, one can not always determine what it is. |
Hi,
i have that file on usb stick.I think it is sdb1. pwd output is /root. |
So if the output is /root, this would mean you missed the part where zhjim said, "Please change to the directory where the file resides"
This means, change to where sdb1 is mounted, something like /media/<name of drive>. From here you can issue your tar command |
All times are GMT -5. The time now is 01:54 PM. |