Miscellaneous > The Lounge

Hard disc repartitioning and recovery with Knoppix

<< < (2/3) > >>

piratePenguin:

--- Quote from: piratePenguin ---See if your FS has the correct magic number. You might be able to fix it then...
--- End quote ---
From what I can see, there is a primary superblock and a secondary superblock (see steps 4 and 5).

Assuming the NTFS partition is somewhere on /dev/hda (primary master), in Knoppix run:
# od -x -N 64 /dev/hda +0x1000
and then:
# od -x -N 64 /dev/hda +0x1f000

AFAIK, the output from those two commands should be precisely the same (is for me anyhow).
Your superblock is aparantly fucked, so copying the secondary superblock to the primary superblock might work (read steps 5 and 6), but I honestly have no clue.

Lead Head:
i heared that a USB to IDE adaptor can resolve some prblems with a computers built in IDE,
http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=1225711&Tab=11&NoMapp=0

Aloone_Jonez:
piratePenguin,
The output from the two commands you suyggested is exactly the same so does this mean the superblock is ok after all?

I may have been too quick to draw a conclusion I didn't read the error message properly, when I tried to mount hda1 it displayed:

mount: wrong fs type, bad option, bad superblock on /dev/hda1

I just guessed the later but do you think something else could be wrong with the drive or file system?

KernelPanic:
On *nix filesystems there tends to be one or more backup compies of the superblock.
Unfortunately I do not know if Windows does the same thing. Perhaps someone like muzzy does.


Also, get your other data off that disk ASAP before it dies for good. :)

piratePenguin:

--- Quote from: Aloone_Jonez ---piratePenguin,
The output from the two commands you suyggested is exactly the same so does this mean the superblock is ok after all?
--- End quote ---
TBH, I have not got a clue. Different filesystems... But I was expecting them to be slightly different somewhere and then you could replace the primary with the secondary (assuming they do exist on NTFS, which is probably a very stupid assumption), but that mustn't be it.

--- Quote from: Aloone_Jonez ---I may have been too quick to draw a conclusion I didn't read the error message properly, when I tried to mount hda1 it displayed:

mount: wrong fs type, bad option, bad superblock on /dev/hda1

--- End quote ---
First of all, run:
# fdisk -l /dev/hda
and make sure the output from that is alright (there's a hda1 partition of type NTFS or whatever). I think the NTFS module has to be loaded (or built inside the kernel itself) to get an error like that, but I'd just make sure it's there ('lsmod').
Then make sure your using the right arguments to mount ('-t ntfs /dev/hda1 /mnt' (and '-o ro' for read-only if you like but it shouldn't matter)).

Can you still boot into Windows on that disk?


--- Quote from: Aloone_Jonez ---I just guessed the later but do you think something else could be wrong with the drive or file system?
--- End quote ---
Well, I've seen that error message _alot_ before, and not yet has it been because of a bad superblock. But, the BIOS "IDE ERROR" is a bit fucked up tbh. Check the IDE connections maybe, and I dunno if disconnecting unnecesary IDE drives would help (but I always tend to try that first for some odd reason).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version