Most Popular in Unix
-
Face book, whoo hoo, a second post in a week
-
Most Highly Recommended Solaris Security Tools
-
IrfanView - Comprehensive Graphic Viewer for Windows
-
AutoDAO: 0.1 released!
-
Sun Storage 7000 Unified Storage Systems Resources on sun.com
-
Random Hacking: Network Unlocking a Sony Ericsson w300i mobile phone
-
Deploying OpenSSO on GlassFish Application Server
-
Strip a Prepended String From a Filename - Unix
-
Mounting ISO and DD Image Files
-
Where is Quality Control in these days.
Mounting ISO and DD Image Files
Article posted from
My SysAd Blog (http://www.mysysad.com/2008/08/mounting-iso-and-dd-image-files.html)
Occasionally, I'll download an image file and want to see what is on it, or make a few changes to it before burning it to CD.
The image file (dd, iso, etc) can be mounted using the loop device. You will need to know the type of filesystem the image uses.
Most Linux/Unix-based OS's have an application that will help you identify the filesystem type. Debian includes the command /lib/udev/vol_id, SUSE has the same command but in a different location (/sbin/vol_id). If you know how to get this information on a SUN box, please leave a comment for us.
If you don't have a command that will tell you the filesystem type, you can guess. Most images downloaded from the Internet will be iso9660, Windows filesystems are normally ntfs, Linux are commonly ext2, and Macintosh are udf or hfs.
As a last resort, you can work your way down the list of filesystem types listed in the mount man pages.
After you know the filesystem type, you are ready to mount.
Note: replace <_type> with the filesystem type.
To mount the file livebootcd.iso with write enabled:
mount -t <_type> -o loop ./livebootcd.iso /mnt
To mount an image made from a Windows partition in read-only mode:
mount -t ntfs -o loop,ro,umask=0222 ./evidence.dd /mnt
Post provided by Mary M. Chaddock
The image file (dd, iso, etc) can be mounted using the loop device. You will need to know the type of filesystem the image uses.
Most Linux/Unix-based OS's have an application that will help you identify the filesystem type. Debian includes the command /lib/udev/vol_id, SUSE has the same command but in a different location (/sbin/vol_id). If you know how to get this information on a SUN box, please leave a comment for us.
If you don't have a command that will tell you the filesystem type, you can guess. Most images downloaded from the Internet will be iso9660, Windows filesystems are normally ntfs, Linux are commonly ext2, and Macintosh are udf or hfs.
As a last resort, you can work your way down the list of filesystem types listed in the mount man pages.
After you know the filesystem type, you are ready to mount.
Note: replace <_type>
To mount the file livebootcd.iso with write enabled:
mount -t
To mount an image made from a Windows partition in read-only mode:
mount -t ntfs -o loop,ro,umask=0222 ./evidence.dd /mnt
Post provided by Mary M. Chaddock
More Stories in My SysAd Blog
- Strip a Prepended String From a Filename - Unix
- IrfanView - Comprehensive Graphic Viewer for Windows
- Mounting ISO and DD Image Files
- Hardware Mismatch for Fibre Channel Hard Drive
- Unable to Switch User Error - su: no shell
- iPod Disconnected During Recharge
- Citrix Users Report Login Issue on Unix Workstation
- System Administrator Appreciation Day
- Inadvertent Use of Duplicate Group ID
- UNIX Admin Corner and the IT Island
Most Popular Stories
Microsoft Aims to Get More Touchy-Feely
Why now, Omnioutliner?
Another variant of RSPlug trojan for Mac pops up
Face book, whoo hoo, a second post in a week
Microsoft earnings beat estimates, outlook lower
Can Microsoft Innovate in a Web-Centric World?
Ubuntu's Live USB Disk Creator
Three Linux Distros To Watch And Use
Real life Linux: The ASUS Eee PC 1000
Netbook Showdown on Linux Journal Live!