LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-02-2009, 07:36 PM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 486

Rep: Reputation: 36
how to mount damaged hard disk?


I have a disk installed centos 5.2 x86 as guest and running under virtualbox at windows 7 as host.

Yesterday I removed centos disk and reinstalled windows 7, and re-insert centos disk, and failed to boot.

I checked centos disk with partition magic as shown screen shot.
http://www.postimage.org/gxwuZIJ.jpg

However I could not mount this driver as follows;

Quote:
[root@localhost ~]# fdisk -l
Disk /dev/hda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 1044 8281507+ 8e Linux LVM

Disk /dev/hdd: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 77825 625129281 7 HPFS/NTFS
[root@localhost ~]# mkdir /odisk
[root@localhost ~]# mount -t ext3 -o rw /dev/hdd /odisk
mount: wrong fs type, bad option, bad superblock on /dev/hdd,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Please let me have any help to solve this problem.

Last edited by windstory; 02-02-2009 at 08:06 PM.
 
Old 02-02-2009, 07:42 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Quote:
Device Boot Start End Blocks Id System
/dev/hdd1 * 1 77825 625129281 7 HPFS/NTFS
[root@localhost ~]# mkdir /odisk
[root@localhost ~]# mount -t ext3 -o rw /dev/hdd /odisk
You are trying to mount an NTFS partition as EXT3.

Here is a tutorial how to mount NTFS
 
Old 02-02-2009, 07:53 PM   #3
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by sycamorex View Post
You are trying to mount an NTFS partition as EXT3.

Here is a tutorial how to mount NTFS
sycamorex,

As you can see at the above-mentioned http://www.postimage.org/Pq16ZVvr.jpg, it's not NTFS.
 
Old 02-02-2009, 07:58 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Quote:
Originally Posted by windstory View Post
sycamorex,

As you can see at the above-mentioned http://www.postimage.org/Pq16ZVvr.jpg, it's not NTFS.
Well, as it happens I can't see anything - the picture is slightly too small for my tired eyes
 
Old 02-02-2009, 08:05 PM   #5
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by sycamorex View Post
Well, as it happens I can't see anything - the picture is slightly too small for my tired eyes
About the screen shot, please trythis.

http://www.postimage.org/gxwuZIJ.jpg
 
Old 02-02-2009, 08:12 PM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Sorry, windstory, but either me and my web browsers are going loopy, or you have uploaded a poor quality picture (240x196) Besides, the option to zoom in is actually part of the picture Please confirm if it's me who's going mad
 
Old 02-02-2009, 08:18 PM   #7
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
nope the picks to small.
 
Old 02-02-2009, 08:25 PM   #8
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by sycamorex View Post
Sorry, windstory, but either me and my web browsers are going loopy, or you have uploaded a poor quality picture (240x196) Besides, the option to zoom in is actually part of the picture Please confirm if it's me who's going mad
Sorry for small image.
Please try this.

http://www.postimage.org/aV130b6i.jpg
 
Old 02-02-2009, 08:31 PM   #9
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
Quote:
Originally Posted by windstory View Post
Sorry for small image.
Please try this.

http://www.postimage.org/aV130b6i.jpg

nope still small

one queshton is all this hapining in virtualbox or on real hardware?
 
Old 02-02-2009, 08:48 PM   #10
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by vinnywrite View Post
nope still small

one queshton is all this hapining in virtualbox or on real hardware?
Please try to download the image.

Yes, it is a raw disk drive.
 
Old 02-02-2009, 09:21 PM   #11
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
downloaded it opend it and enlarged it but it's so small after enlarging it's to pixalated to see eney thing!

an realey I'm confused so let's start over.

first I'm not shure just what you mean hear

Quote:
Yesterday I removed centos disk and reinstalled windows 7, and re-insert centos disk, and failed to boot.
then hear

Quote:
[root@localhost ~]# fdisk -l
Disk /dev/hda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 1044 8281507+ 8e Linux LVM

Disk /dev/hdd: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 77825 625129281 7 HPFS/NTFS
[root@localhost ~]# mkdir /odisk
[root@localhost ~]# mount -t ext3 -o rw /dev/hdd /odisk
mount: wrong fs type, bad option, bad superblock on /dev/hdd,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
you clearley show /dev/hda1 and2 being your linux partition's yet you try to mount your ntfs as ext3 + /dev/hdd woudent work eneyway it would be /dev/hdd1

SO lets start over just what did you do and what are you trying to do?
 
Old 02-02-2009, 10:45 PM   #12
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
vinnywrite,

please try this link.

http://cid-1e8dd269c723523d.skydrive...os%7C_disk.jpg
 
Old 02-02-2009, 11:44 PM   #13
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
yes ok so I can see that partition magick sees your drives as disk3 NTFS about 3/4full set activ(boot)----------and disk4 having 3 partitions 2 ext3 and 1 8E-------the first ext3 being about 100Mb's and set active(boot)-----the second ext3 about 80Gig and not seen by fdisk for some reson?----the therd 8E----or the LVM?? but all 3 slap full?? --- but that dosent mean eney thing when it comes to trying to mount the drives the way you were trying to using the output frome fdisk!!!!partition magick dosent give a /dev/ location!

it looks to me like your linux partitions have ben mesed up and set rong I'm shure the small 100Mb partition should have ben swap and tharfor not set boot and the drives shouldent be slap full + fdisk isent even seeing 1 of them!! try examining the drives with a gparted livecd and see if it sees the drives right. or see if you can acses your data on them with some livecd to save what you can and then redo them frome scratch
 
Old 02-03-2009, 02:59 AM   #14
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
vinnywrite,

Thnaks for your kind suggestion.
I will try gparted of livecd and post her the result.
 
  


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
Is my hard disk damaged ? chrischristian Linux - Newbie 7 02-01-2009 09:23 AM
Can't mount disk--could be damaged? grittyminder Linux - Hardware 17 08-11-2007 12:00 AM
hard disk damaged aral Linux - Hardware 1 10-19-2006 07:02 PM
Possibly damaged hard disk? Citizen Bleys Linux - Hardware 2 04-12-2006 09:10 PM
Cannot mount ext3 filesystem on damaged hard drive Mathieu_G Linux - Hardware 3 04-01-2005 11:51 PM


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