Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2008, 09:38 PM
ninjaprawn ninjaprawn is offline
Junior Member
 
Join Date: Dec 2007
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default i broken my hard drive!
i normally mount the 2nd partion with;
mount_ext2fs /dev/ad0s2 /mnt/HD

but i just installed arch linux and i cant mount anymore!

Code:
pcbsd# fdisk ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=119705 heads=16 sectors/track=255 (4080 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=119705 heads=16 sectors/track=255 (4080 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
    start 63, size 39070017 (19077 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 131 (0x83),(Linux native)
    start 40965750, size 447426315 (218469 Meg), flag 0
        beg: cyl 1023/ head 254/ sector 63;
        end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 130 (0x82),(Linux swap or Solaris x86)
    start 39070080, size 1895670 (925 Meg), flag 0
        beg: cyl 1023/ head 254/ sector 63;
        end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
<UNUSED>
im now gettin the error
mount_ext2fs: /dev/ad0s2: Invalid argument

i tried to fsck it, but i get the following

Code:
pcbsd# e2fsck -p /dev/ad0s2
e2fsck: Bad magic number in super-block while trying to open /dev/ad0s2
/dev/ad0s2:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

pcbsd#
so i tried;
pcbsd# e2fsck -b 8193 /dev/ad0s2

but it gave me exactly the same!!!!

can this be fixed?? or am i going to have to format that partion?
Reply With Quote
  #2  
Old 01-22-2008, 06:18 PM
antik's Avatar
antik antik is offline
Super Moderator
 
Join Date: Jul 2005
Location: Estonia
Posts: 3,610
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: i broken my hard drive!
Originally Posted by ninjaprawn
but it gave me exactly the same!!!!

can this be fixed?? or am i going to have to format that partion?
Try to fix it from some linux livecd.
__________________
"All parts should go together without forcing. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer." -- IBM maintenance manual, 1975
Reply With Quote
  #3  
Old 01-22-2008, 09:07 PM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: i broken my hard drive!
and make sure it is an ext2/3 file system some Distro do use ReiserFS.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I format my hard drive josh9 General Questions 6 05-26-2009 01:11 AM
Lost 1TB hard drive ashley194 General Questions 5 04-22-2009 06:52 PM
install to 2nd hard drive frito Installing PC-BSD 3 12-12-2008 10:42 PM
Hard drive problem unix_Hussi Drives 25 08-21-2006 05:06 PM
Hard Drive not detected TerryP General Questions 8 04-24-2006 05:02 PM


All times are GMT. The time now is 07:13 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.