Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Hard disk not recognized correctly, Using PCLinuxOS and ReiserFS
frazelle09
post Nov 30 2007, 09:11 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 23-December 04
From: Mexicali, Baja California, Mexico
Member No.: 4,375



Have been having problems with my hard disk. It finally stopped booting. i got another one, installed it and installed the old one, a Maxtor DiamondMax Plus8, as slave.

Ran >
[root@LaGrandota frazelle09]# fdisk -l

Disk /dev/hdb: 8455 MB, 8455200768 bytes
255 heads, 63 sectors/track, 1027 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 8355 17985 77350270 83 Linux
/dev/hdb2 9630 21708 97014885+ 83 Linux
/dev/hdb3 8355 16710 67109888 0 Empty
Partition 3 does not end on cylinder boundary.
/dev/hdb4 8355 16710 67109888 0 Empty
Partition 4 does not end on cylinder boundary.

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1275 10241406 83 Linux
/dev/sda2 1276 9730 67909306+ 5 Extended
/dev/sda5 1276 9730 67909275 83 Linux

The first disk is the injured one. It is obviously not detected correctly. It is only 40 GB in size (C/H/S = 4998, 255, 63). MCC (The "Control Panel from PCLinuxOS, Hardware tab, reports two disks, hda and hdb.) Hdb correctly reports two partitions as hdb1 and hdb2.

There is another tab in Control Panel called Run Config Tool. This runs something which looks like GParted and which would allow me to mess with the partitions. i say "mess" because at this point when i select hdb1 it has a tab to select Mount point. i chose /boot because it didn't offer "/" and when i did so, it listed a number of files which i remember being on this partition -- mainly the OS, /home is on the other, hdb2, partition.

First question: Should i "keep" Mount Point /boot, or use "/" or does it make any difference? i don't care about booting this thing again, just want to get my files from the second partition.

Second question: The other tabs are: Resize, Format, Delete. If i choose Format, it asks for a file type. i was using reiserFS but it is not detected as such. It shous up as Ext2. If if i format this partition, will this wipe all the info?

Thanks for any help and have a great evening! smile.gif
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
michaelk
post Dec 2 2007, 11:23 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



You need a second mount point for the hdd2. However the errors are not related to this
You can running fsck on hdd2 too. The partition should not be mounted when running fsck.
fsck /dev/hdd2
Go to the top of the page
 
+Quote Post
frazelle09
post Dec 2 2007, 09:06 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 23-December 04
From: Mexicali, Baja California, Mexico
Member No.: 4,375



michaelk, Thanks for the reply! i wasn't really expecting it. i'll try your suggestion when this "recovery" program gets through with it's dry run. It's almost $90 -- a little out of my reach i'm afraid, but at least it might give me some useful info as to what it thinks is recoverable. It's up to 75% now, after about 10 hrs., so maybe before bedtime i can get a peek.

i also ran across something from Testdisk, here http://www.cgsecurity.org/wiki/Damaged_Hard_Disk, which says i can make a copy of the partition with Antonio Diaz's 'ddrescue' with these commands...

# first, grab most of the error-free areas in a hurry:
./ddrescue -n /dev/old_disk /dev/new_disk rescued.log
# then try to recover as much of the dicy areas as possible:
ddrescue -r 1 /dev/old_disk /dev/new_disk rescued.log

Maybe PCLinuxOS already has this program.

Thanks again for you suggestion and have a wonderful evening! smile.gif
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 11:41 PM