LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2020, 10:04 PM   #1
ydcho
LQ Newbie
 
Registered: Jul 2020
Posts: 1

Rep: Reputation: Disabled
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?
 
Old 07-23-2020, 03:28 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 3,352

Rep: Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016Reputation: 1016
Quote:
I downloaded the zip file tilted "hd_partition.img"
Start with
Code:
file hd_partition.img

ls -ld /mnt/evidence
 
Old 07-23-2020, 06:27 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 6,071

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
Quote:
Originally Posted by ydcho View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Mounting .img file (chromiumos.img); can't mount it?? Help please? linus72 Linux - General 2 11-27-2009 09:11 PM
Add new cciss driver module to initrd.img ,stage2.img kunalroy2002 Linux - Software 4 09-25-2007 01:09 AM
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-02-2007 12:24 AM
[php]Reading url [img] and [/img] hylke Programming 13 08-23-2004 02:58 PM
.img burner or way to boot from a .img American Psycho Linux - Software 4 03-24-2004 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:08 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