Find the answer to your Linux question:
Results 1 to 8 of 8
I have one hard drive, 80 gigs. Four partitions: 3 windows, 1 linux. They are as follows: C = partion with windows on it, D = music partition, E = ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    16

    need help mounting windows partition


    I have one hard drive, 80 gigs. Four partitions: 3 windows, 1 linux. They are as follows: C = partion with windows on it, D = music partition, E = games etc, and finally my Linux partition. I can mount C drive using
    Code:
    mount -t vfat /dev/hda1 (mnt position
    . However, I cannot mount hda2, which I am assuming is my D drive. It says
    "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?)"
    Please help, thanks in advance.

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    First off: Is it an NTFS partition?

    If not, post the output of this command:

    Code:
    /sbin/fdisk -l /dev/hda
    It could be a logical partition inside of an extended partition. In which case it would be hda3.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    Sep 2004
    Posts
    16
    Ah thanks bro! DId the trick

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Mar 2005
    Posts
    3
    Original Question:
    First off: Is it an NTFS partition?
    If not, post the output of this command:

    Code:
    /sbin/fdisk -l /dev/hda
    Answer (that saved my life ;):
    It could be a logical partition inside of an extended partition. In which case it would be hda3.
    That just saved me a major headache and so much time. It was hda3...

    Thanks.

    -td

  6. #5
    Just Joined!
    Join Date
    May 2005
    Posts
    1

    Re: need help mounting windows partition

    Quote Originally Posted by funkpirate
    I have one hard drive, 80 gigs. Four partitions: 3 windows, 1 linux. They are as follows: C = partion with windows on it, D = music partition, E = games etc, and finally my Linux partition. I can mount C drive using
    Code:
    mount -t vfat /dev/hda1 (mnt position
    . However, I cannot mount hda2, which I am assuming is my D drive. It says
    "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?)"
    Please help, thanks in advance.

  7. #6
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    Try hda5 (or higher). You can also open the partitioning tool, it will show you the partitions and their names. Then you can determine which one you want to mount.
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  8. #7
    Just Joined!
    Join Date
    May 2005
    Posts
    2
    can someone explain wats the use of this command
    /sbin/fdisk -l /dev/hda
    and we could also check for the partition from /etc/fstab

  9. #8
    Linux User Krendoshazin's Avatar
    Join Date
    Feb 2005
    Location
    London, England
    Posts
    471
    Quote Originally Posted by dhruv
    can someone explain wats the use of this command
    /sbin/fdisk -l /dev/hda
    and we could also check for the partition from /etc/fstab
    fstab is merely a listing of mount points and selected choices for the particular choice of mount (read-only, owner only etc) within linux, fdisk lists all the partitions on the drive whether linux or not, the use of /dev/hda on the end allows you the check the partition tables of either a primary or secondary drive (hda, hdb, sda, sdb)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •