LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-12-2018, 06:53 PM   #1
jpahlen
LQ Newbie
 
Registered: Feb 2018
Posts: 1

Rep: Reputation: Disabled
Opening an img file


Hopefully, this makes sense.

I went to back up a home folder to a USB drive. I'm guessing that rather than saving as a folder, it saw it as a partition and saved it as a .img file.

At first, the USB drive would not even be recognized. Then i was finally able to move it off the USB drive with a disk utility tool.

Now I need to open it to retrieve some files. Not much in the properties to describe, just "x-raw-disk-image" as mime-type.

What tool would I use to unpack it?

Thanks in advance!
 
Old 02-12-2018, 08:06 PM   #2
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Well, if you tell use what tool did you use to backup your home folder then we might have some idea on how to open it.

You backup using what software?
 
Old 02-12-2018, 08:07 PM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Maybe you can mount it like
Code:
mkdir -p /mnt/usbdrive
mount -o loop /path/to/file.img /mnt/usbdrive
cd /mnt/usbdrive
ls
 
  


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
how to unpack a img file's file system? chinabenjamin66 Linux - Newbie 21 11-14-2012 07:20 AM
convert an ISO file into an IMG file chris6686 Linux - Newbie 6 12-04-2011 08:11 PM
[SOLVED] Mounting .img file (chromiumos.img); can't mount it?? Help please? linus72 Linux - General 2 11-27-2009 08:11 PM
need help with opening .img hvc123 Linux - Newbie 4 11-18-2009 04:44 AM
how to convert a .iso file to .img file mobquest Linux - Newbie 1 07-10-2009 04:59 AM

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

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