Re: open image file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/03/2013 03:12 PM, Anuz Pratap Singh Tomar wrote:
>
>
> On Sun, Feb 3, 2013 at 2:03 AM, horseriver <horserivers@xxxxxxxxx 
> <mailto:horserivers@xxxxxxxxx>> wrote:
>
>     hi:
>
>       Is there mothod to look into a image file ?
>       How can I know its filesystem?
>
>       I have mounted my fd0 to /mnt with -t tmpfs ,but I find
>       nothing under /mnt.How can I touch the files in image?
>
> I think you need to mount it as loopback device
> http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux 
>
>
>
>     thanks!
>
>     _______________________________________________
>     Kernelnewbies mailing list
>     Kernelnewbies@xxxxxxxxxxxxxxxxx
>     <mailto:Kernelnewbies@xxxxxxxxxxxxxxxxx>
>     http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
>
> -- 
> Thank you
> Warm Regards
> Anuz
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Hi,

in case of image with multiple partitions, easier to use kpartx, then 
get the offsets with parted:
http://ppadala.net/blog/2010/09/kpartx-to-mount-vm-disk-images/

of course with image with one partition, it doesn't matter

-- 
br,
Zoltan Gyarmati
mail: mr.zoltan.gyarmati@xxxxxxxxx
freenode nick: zgyarmati


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux