LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-24-2006, 11:33 AM   #1
dohpaz
Member
 
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Rep: Reputation: 16
mount gzipped hd image


I have made some backups of hd's using dd+gzip. First is it possible to
mount these images without first extracting them with gzip? If so How can I do this?
 
Old 11-25-2006, 08:48 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I don't think so. You have to mount some form of supported file system. You can mount a file that is an image of a disk if that file has been formatted in any of the supported formats. You do this by using a loop device. (/dev/loop0, /dev/loop1, ... /dev/loop7)

Example: If you have a disk image created with dd called dd.image you can mount this to /mnt using this command.
Code:
mount -o loop dd.image /mnt
I don't believe that you can pipe that file through gunzip to preprocess it. I believe that you have to mount an unzipped image file.

Last edited by stress_junkie; 11-25-2006 at 08:55 AM.
 
Old 11-25-2006, 12:58 PM   #3
dohpaz
Member
 
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Original Poster
Rep: Reputation: 16
Thanks for the reply stress_junkie,

Well I guess I'll need to make sure I have enough free space on my backup drive. Thanks for the info on mounting using a loop device
thats exactly what I needed to know.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation of Programs from Gzipped files in SimplyMepis param85047 Linux - Desktop 1 11-21-2006 08:52 AM
my freshly recompiled kernel modules files not gzipped and no sound loaded hottdogg Slackware 12 08-12-2006 01:52 PM
Canīt mount a qemu image bruno buys Linux - Software 2 03-31-2006 10:00 PM
gzipped log backups: clean up phats_O Debian 4 05-14-2005 12:39 AM
How do I direct Gzipped files from a floppy to a folder? duncan36 Linux - Newbie 3 02-11-2002 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration