-
How do I mount hard drives?
Hello! I am new toKnoppix, I am using it to recover my data since Win Xp Pro doesn't boot anymore.
I've got 2 hard drives (with raid) and two partitions made with BootMagic. One of them will not boot with Windows, the other does but it's useless since it doesn't see the first one in any way.
My problem is that Knoppix will not see my hard drives. I read the other posts and I was suggested to try to mount the hard drives using:
mount -t ntfs /dev/hde1 /mnt/pnt1
where pnt1 is a mount point I created with mkdir mnt/pnt1 and hde1 is one of the partitions, the other is hde2 (I saw them with: cat /proc/partitions)
Unfortunately it doesn't work, the message I get when I try to mount hde1 is:
"mount: wrong type, bad option, bad superblock on dev/hde1, missing codepage or other error"
What does this mean? What should I do to see my hard drive?
This is the very first time I use Knoppix and Linux in general so I'm a bit confused and I don't know what to do!
I have learnt that I must not try to write on the hard drive so I will burn the data on CD once I can mount the hard drive, ca anyone help me with this? Thanks in advance to those who will take the time to read and answer!
-
Senior Member
registered user
How do I mount hard drives?
Your ntfs filesystem may be bad. Have you tried to mount without a filesystem type: mount /dev/hde1 /mnt/pnt1 ?
What messages do you get at boot time: dmesg | grep -i hd ? What is the ouput of: parted /dev/hde print (as root)?
Your best bet may be to try a filesystem repair from the exPee install disk.
-
Thanks for your suggestion!
I've tried the mount without the filesystem type, it seems to work for hde1 wit pnt1 (at least I thik so, it didn't give me any error message so I guess it works) but it doesn't work for hde2 with pnt2.... it takes a few minutes and after that the message is:
mount: you must specify the filesystem typeOkay, I've done that but it (assuming it's ntfs) but it doesn't work either!
I also noticed that after mounting hde1 the error message when I click on the hde icon on the destop has changed into:
mount: /dev/hde already mounted or /mnt/hde busy
but I still cannot view the data, not even those in the hde1 partition...
I tried the dmesg command, the result is:
- endless lines saying: hde: task_in_intr: status=0x59 (DriveReady SeekComplee DataRequest Error)
hde: task_in_intr: error 0x04 (DriveStatus Error)
and then: end_request: I/O error, dev hde, sector 215046090
and at the bottom of all this I read the following:
NTFS-fs error (device hde2): read_ntfs_boot_sector(): Unable to read primary boot sector
NTFS-fs error (device hde2): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hde2): ntfs_fill_super(): not an NTFS volume.
What does "not and NTFS volume" mean? (a part from the fact that I'm helpless at this whole matter...!!)
Then I tried parted /dev/hde and this is what it says:
Using /UNIONFS/dev/hde
Error: Can't have a partition outside the disk!
Information: The operating system thinks the geometry on /UNIONFS/dev/hde is 158816/16/63. Therefore, cylinder 1024 ends at 503.998M.
PS: I've tried with the xp installation disk... it doesn't work, I immediately get a message saying that it cannot even find my hard drives and that I should check if they are correctly connected...
I think Knoppix is the only way I've got left...
-
Senior Member
registered user
How do I mount hard drives?
You clearly have a failed ntfs file system if not a failing hard drive. There are methods to repair an ntfs filesystem. The command: apropos ntfs ; will give you a list of usefull ntfs filesystem utilities. There is also information on the web regarding replacing boot sectors with copies that are placed on the disk at filesystem creation time. As these use direct disk writes, they are dangerous. Always make copies of any sectors you intend to replace. I would try the ntfs tools on the knoppix disk for starters. Also, if your data is important, you may wish to make an image to a second disk before trying any repair. The command: dd if=/dev/hde of=/dev/hdf bs=32768 ; will create an image of the input file (if) to the output file (of). Copying your drive to another this way will retain an exact copy although put some serious stress on it. The drive used for the copy must be at least as large as the drive being copied and will have any data on it overwritten. Depending on the disk size, this could take some time (several hours). Start reading.
-
Thank you Nad, I'm going to try the recvery tools then... let's hope they work...
Similar Threads
-
By Vertical Horizon in forum Hardware & Booting
Replies: 2
Last Post: 06-18-2006, 12:17 AM
-
By BallisticPain in forum Hardware & Booting
Replies: 1
Last Post: 04-27-2006, 03:37 PM
-
By richard_earhart in forum General Support
Replies: 0
Last Post: 08-17-2005, 07:50 PM
-
By plener in forum Hdd Install / Debian / Apt
Replies: 12
Last Post: 01-19-2005, 02:26 PM
-
By Eradicator in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 10-26-2003, 06:07 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w
$174.95

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays
$259.99

Dell R640 Diskless Servers 2x Gold 18-Cores 6254 3.10GHz CPU, 32gb RAM, No Raid
$699.00

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays
$349.99

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w
$359.99

Dell PowerEdge R640 8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU
$315.00

Dell Poweredge T420 SFF 2x E5-2430 v2 2.5Ghz / 64gb / H710 / 8x Trays / 2x 495w
$394.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99