You are not logged in.

#1 2007-02-19 08:44:19

crashbox
Member
Registered: 2006-09-29
Posts: 26

mounting a .img file

is there anyway to mount a .img file under linux, i know there are tools like deamontools and A120 but those are not useable under linux and i really dont want to waste a dual layer dvd just to view my old hard drive backup img unless i have to


Shuttle XPC running an Intel C2Duo e6600 @2.4ghz, 2gigs of crucial ddr2 800, ATI radeon HD3870 x2

Offline

#2 2007-02-19 09:03:10

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Re: mounting a .img file

Try

#mkdir /tmp/disc 
#mount -o loop ~dir/cd.iso /tmp/disc

Offline

#3 2007-02-19 09:15:25

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: mounting a .img file

assuming it's an ISO...

mount -o loop /path/to/img /path/to/mountpoint

if it's not an iso, there's a pile of tools to convert it to iso, or there may be a fuse filesystem.

James

Offline

#4 2007-02-19 14:57:12

crashbox
Member
Registered: 2006-09-29
Posts: 26

Re: mounting a .img file

sweet you guys rock ty so much


Shuttle XPC running an Intel C2Duo e6600 @2.4ghz, 2gigs of crucial ddr2 800, ATI radeon HD3870 x2

Offline

Board footer

Powered by FluxBB