PDA

View Full Version : Not mounting Hard drive



savagemania
10-03-2007, 12:12 AM
I know my system has a rootkit installed on it and I am trying to get rid of it. I tried to use knoppix to run chkrootkit, but when I try to mount hda2 it says
Mount:
I could not determine the filesystem type, and none was specified.

When I run
Code:

mount -t ext2 /dev/hda2 /mnt/hda2


it says:
wrong fs type, bad option, bad superblock on /dev/hda2, missing codepage or other error

Any ideas on how to get it to mount so I can scan it? It will mount the boot partition of the hard drive /dev/hda1

Jorpho
10-06-2007, 04:55 PM
What exactly is /dev/hda2 ? If you have Windows XP installed on there, the file system type is most likely NTFS, not ext2. (ext2 is used mainly by Linux.)

savagemania
10-06-2007, 11:48 PM
What exactly is /dev/hda2 ? If you have Windows XP installed on there, the file system type is most likely NTFS, not ext2. (ext2 is used mainly by Linux.)

It is a centos installation.

Jorpho
10-07-2007, 04:23 AM
Perhaps hda2 is part of a local volume group? The best way to check would be to run GPartEd and, without changing anything, see if it can identify the filesystem or partition type.

Apparently Knoppix can access LVM groups:
http://www.knoppix.net/wiki/LVM2
http://www.linuxquestions.org/questions/linux-hardware-18/how-to-mount-a-logvol-into-knoppix-471366/