LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-19-2005, 05:21 AM   #1
KnottyBoy
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Mount an image as virtual disk


Hi,

I'm quite new in Linux, and therefore, I have a question.

I have received a hard drive of which the partition table is corrupted (broken).

I made an image of the disk, using G4U; and now, after I have unzipped the image, I would like to mount that image as a virtual disk, so I can use gpart to rewrite the partition table.

My question is, how can I mount that image as a virtual disk ?

Many thanks in advance,

KnottyBoy
 
Old 10-19-2005, 05:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
I assume a simple looback would work: "mount -o loop /home/user/drive.img /mnt/drive" for example
 
  


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
virtual image file maseby Red Hat 2 11-10-2004 08:06 PM
How do I mount a windows (vfat) disk image under Linux? brownb2 Linux - Software 2 06-19-2004 03:47 PM
What does "loop-mount the disk image" mean ? karans Linux - Distributions 1 10-29-2003 09:21 AM
Disk Image sgc Linux - Newbie 10 10-10-2003 09:33 AM
Disk image to CD unixgeek Linux - Software 1 09-16-2003 05:28 PM


All times are GMT -5. The time now is 11:04 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration