LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 09: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, 02:28 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
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, 05:27 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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



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 08:11 PM
Add new cciss driver module to initrd.img ,stage2.img kunalroy2002 Linux - Software 4 09-25-2007 12:09 AM
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-01-2007 11:24 PM
[php]Reading url [img] and [/img] hylke Programming 13 08-23-2004 01:58 PM
.img burner or way to boot from a .img American Psycho Linux - Software 4 03-24-2004 06:40 AM

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

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