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?