LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 04: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, 04:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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