Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
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.
I need to extract some iso files on my Solaris system. The problem is I don't have root permission, and even no permission to mount. So is there anything I can do to extract these iso files without mounting them?
I don't think so ... usually a loopback mount is the method (lofiadm), how about extracting the files on your pc then copying across ?
Ouch.... The file has been uploaded hundreds kilometer away....
with my internet speed that will take some time.
It'll be like start all process from the begining.
But if that's the only solution, I guess I have no other option....
Quote:
Originally Posted by z-vet
File Roller can open ISO images.
AFAIK File Roller is the archive manager of the GNOME desktop environment.
Will it work using command line too? For I can only use ssh console - no GUI.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by yoachan
AFAIK File Roller is the archive manager of the GNOME desktop environment.
Will it work using command line too? For I can only use ssh console - no GUI.
It works through the CLI:
Code:
file-roller --extract image.iso
However, it still requires a GUI. Can't you "ssh -X" ?
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
A workaround would be to use vnc:
Code:
$ vncserver
You will require a password to access your desktops.
Password:
Password must be at least 6 characters - try again
Password:
Verify:
xauth: creating new authority file /home/guest/.Xauthority
New 'm3:1 ()' desktop is m3:1
Creating default startup script /tmp/guest/.vnc/xstartup
Starting applications specified in /tmp/guest/.vnc/xstartup
Log file is /tmp/guest/.vnc/m3:1.log
$ DISPLAY=:1 file-roller --extract-here /tmp/image.iso
$ vncserver
You will require a password to access your desktops.
Password:
Password must be at least 6 characters - try again
Password:
Verify:
xauth: creating new authority file /home/guest/.Xauthority
New 'm3:1 ()' desktop is m3:1
Creating default startup script /tmp/guest/.vnc/xstartup
Starting applications specified in /tmp/guest/.vnc/xstartup
Log file is /tmp/guest/.vnc/m3:1.log
$ DISPLAY=:1 file-roller --extract-here /tmp/image.iso
Isn't VNC needs to be installed first?
As I noted, I really have no root or any power user privilege.
It's only a rented space at web hosting.
If it's possible I want to do it via console for either way I don't have enough bandwidth to do remote GUI.
Quote:
Originally Posted by alunduil
You can simply use the old dd command to extract an iso from some device:
Code:
dd if=/dev/cdrom of=cdrom.iso
This takes the media at /dev/cdrom and puts it in the file cdrom.iso.
Is this what you were asking for? You can also pipe dd to ssh and directly rip to a network location if you need to.
Regards,
Alunduil
um..... this machine don't have a /dev/cdrom or anything like optical devices... can't I use any other device?
If /dev/cdrom is exist, don't I have to mount it to somewhere to be able to get what inside the iso file?
In this case I have mount -- which I have no privilege.
The only thing that I need is getting files inside an iso file. no more nor less.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by yoachan
Isn't VNC needs to be installed first?
Sure, but it might already be installed. Did you check it wasn't ?
Quote:
As I noted, I really have no root or any power user privilege.
It's only a rented space at web hosting.
If it's possible I want to do it via console for either way I don't have enough bandwidth to do remote GUI.
Sure, but it might already be installed. Did you check it wasn't ?
So I need to install an VNC client at my place?
But how can I know that the machine has an VNC server?
GUI really is my second last option for I have a slow internet access.
My last option is copy the iso to my other machine which I have full access, extract them and return extracted files ...
Quote:
Originally Posted by jlliagre
You mean "ssh -X" isn't disabled ?
I get this error
(file-roller:24948): Gtk-WARNING **: cannot open display:
even though I've use -x in my ssh command...
Not necessarily as the command I suggested is non interactive.
Trying to run "vncserver" would be a good start. If not in the path, you can search that way:
Code:
pkginfo | grep -i vnc
find / -name Xvnc
No VNC server.
vncserver: command not found
pkginfo give no vnc result.
find command couldn't find it too.
Quote:
Originally Posted by jlliagre
How slow ?
Yesterday I downloaded a 300KB file and it took me almost 5 minutes...
and 7MB file will take approx an hour....
Quote:
Originally Posted by jlliagre
I guess this job would already be done should you have started it along with you first posting here, 28 hours ago.
I've already started it (and still on progress), but with 10GB data, if I'm lucky it will take about a week to complete....
So if there is any other solution, it will finish sooner.
Quote:
Originally Posted by jlliagre
Is there an X server running on your client side ?
Just read what kbp said, and try it at my GUI machine (I used to use console only) using -X (I've get it wrong with -x).
I get message box saying Archive not supported and at my ssh console
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.