LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting .img file Error (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-img-file-error-4175679202/)

ydcho 07-22-2020 09:04 PM

Mounting .img file Error
 
I'm trying to mount an image file given by my class instructor. I downloaded the zip file tilted "hd_partition.img", crated a diretory /mnt/evidence and am trying to mount it to /mnt/evidence. However, I'm getting the below error:


root@kali:/home/youngcho/Desktop# mount -o loop hd_partition.img /mnt/evidence
mount: /mnt/evidence: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.

What do I need to do?

teckk 07-23-2020 02:28 PM

Quote:

I downloaded the zip file tilted "hd_partition.img"
Start with
Code:

file hd_partition.img

ls -ld /mnt/evidence


berndbausch 07-23-2020 05:27 PM

Quote:

Originally Posted by ydcho (Post 6148273)
I downloaded the zip file tilted "hd_partition.img"
...
wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.

What do I need to do?

A zip file can't be mounted. You need to unzip it.

If you followed the instructions your instructor gave you, and you still fail, another solution is to ask your instructor.


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