LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   not able to mount .iso.gz image (https://www.linuxquestions.org/questions/linux-software-2/not-able-to-mount-iso-gz-image-573858/)

saheelahamed 08-01-2007 01:28 AM

not able to mount .iso.gz image
 
hi,
i want to mount xxx.iso.gz image, when i am trying to mount it with
a>mount -o loop xxx.iso.gz <mountpoint>
Or
b>mount xxx.iso.gz <mountpoint> -o loop -o exec

in boath the cases it is giving-> mount: you must specify the filesystem type

what is the solution for this?

Nailbar 08-01-2007 02:48 AM

Try unpacking the .iso file before mounting. I don't think it's possible to mount a gzipped image. Never tried that though.

gunzip xxx.iso.gz
mount -o loop xxx.iso <mountpoint>

The_Spider 08-01-2007 09:00 AM

If that didnt help, add -t iso9660 to the beginning of your mount options, that tells it that its an iso filesystem

b0uncer 08-01-2007 09:47 AM

I'm fairly sure it doesn't help, because the default fs setting is "auto" which should detect it. Note that mount is reading the compressed file, not the iso file, so the compressed garbage hardly looks like a valid iso filesystem for it :)

The brave ones of course use zcat to copy the image out of the archive, because it sounds cooler than gunzip.


All times are GMT -5. The time now is 03:11 PM.