Difference between pages "Mounting Disk Images" and "File:1-BB9780-VendorPlateRemoval.jpg"

From Forensics Wiki
(Difference between pages)
Jump to: navigation, search
(To unmount)
 
 
Line 1: Line 1:
= FreeBSD =
 
  
To mount a disk image on [[FreeBSD]]:
 
 
First attach the image to unit #1:
 
  # mdconfig -a -t vnode -f /big3/project/images/img/67.img -u 1
 
 
Then mount:
 
  # mount -t msdos /dev/md1s1 /mnt
 
 
  # ls /mnt
 
  BOOTLOG.PRV    BOOTLOG.TXT    COMMAND.COM    IO.SYS          MSDOS.SYS
 
 
To unmount:
 
 
  # umount /mnt
 
  # mdconfig -d -u 1
 
 
To mount the image read-only, use:
 
 
  # mdconfig -o readonly -a -t vnode -f /big3/project/images/img/67.img -u 1
 
  # mount -o ro -t msdos /dev/md1s1 /mnt
 
 
= Linux =
 
 
==To mount a disk image on [[Linux]]==
 
 
# mount -t vfat -o loop=/dev/loop0,ro,noexec img.dd /mnt
 
-or-
 
# mount -t vfat -o loop=/dev/loop/0,ro,noexec img.dd /mnt
 
 
==To unmount==
 
 
# umount /mnt
 

Latest revision as of 01:30, 8 August 2013