Mount Logical drive in Linux

Dear Friends

when I try to mount my windows drive D in my Linux, I get the error message bellow:

mount: wrong fs type, bad option, bad superblock on /dev/hda2,
       or too many mounted file systems
       (aren't you trying to mount an extended partition,
       instead of some logical partition inside?)

my drive D is logical drive, how can I mount it in linux and also, if I want it to be mounted at boot automaticallu, what should I do?

thanks alot for your help
Who is Participating?
I think you have a logical drive inside an extended partition.

You are trying to mount the extended partition /hda2 instead of the logical drive inside the partition.

Now read the following link

According to the article you may have to use /dev/hda5 for the partition because the first four partitions are used by Linux as the primary partitions and /hda5 up are used to the partitions within the partitions, in this case your logical drive.

This will show you how to mount the drive at boot time
And see here

This gives an example of /dev/hda3 has partitions within it that are labelled /dev/hda5 and /dev/hda6

try mounting /dev/hda5

The first 4 partitions are considered to be primary or extended. Partition 5 and above are logical drives. So the first logical-disk is /dev/hda5.
Try fdisk /dev/hda
(see which partitions exist and what type they are, look for the NTFS one)
q (quit)

mkdir /mnt/hdaX
mount -t ntfs /dev/hdaX /mnt/hdaX     (Where X is the NT partition number)

If you don't find an NTFS partition on /dev/hda, are you sure your D drive isn't on a second physical hd? If so, look at fdisk /dev/hdb.
Obviously, if you are using SCSI or SATA hard drives, then look at /dev/sda or /dev/sdb

Hope this helps.
add this to your /etc/fstab
     /dev/sda1 /mnt/hda1 auto user,noauto 0 0

  Make the directory for the usbdrive to mount on:
    mkdir /mnt/hda1

Mount all the devices in the /etc/fstab:
mount /mnt/hda1

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.