Mount  Logical drive in Linux

Posted on 2006-04-13
Last Modified: 2008-03-03
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
Question by:Naserpour
    LVL 47

    Accepted Solution

    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
    LVL 47

    Expert Comment

    And see here

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

    LVL 3

    Expert Comment

    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.
    LVL 1

    Expert Comment

    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.
    LVL 3

    Expert Comment

    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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
    I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now