Find the answer to your Linux question:
Page 1 of 4 1 2 3 4 LastLast
Results 1 to 10 of 36
hello! Im trying to mount a windows hard drive on Linux to copy some files over but I'm having a bit of trouble. My Linux hard drive is my primary ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Location
    Auburn, Maine
    Posts
    75

    mounting windows hard drive


    hello! Im trying to mount a windows hard drive on Linux to copy some files over but I'm having a bit of trouble. My Linux hard drive is my primary master (hda right?) while my Windows hard drive is my secondary master (hdc right?). Well I edited /etc/fstab and added this line:
    Code:
    /dev/hdc            /mnt/hdc                vfat          defaults     0  0
    As I understand it, that should tell Linux to mount /dev/hdc (secondary master, ie Windows) on /mnt/hdc letting it know that its a vfat filesystem type. But when I run 'mount /dev/hdc' as root in a terminal, it says:
    Code:
    mount: wrong fs type, bad option, bad superblock on /dev/hdc, missing codepage or other error
    'dmesg | tail' gives me:
    Code:
    FAT: Bogus number of FAT structure
    VFS: Cant find valid FAT filesystem on device hdc
    Can anyone tell me what the problem is?

  2. #2
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    You must name the partition, for example hdc1, hdc2, etc not just hdc.
    If you have problems, the output of "fdisk -l" as root "su -" may be useful
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  3. #3
    Just Joined!
    Join Date
    Nov 2005
    Location
    Auburn, Maine
    Posts
    75
    it says "special device hdb1 does not exist"

  4. #4
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    it was hdc1, sorry
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  5. #5
    Just Joined!
    Join Date
    Nov 2005
    Location
    Auburn, Maine
    Posts
    75
    ok now I can mount it but the files I'm seeing aren't files that are on my hard drive. Could I be looking at the wrong partition? I'm trying to look in C:\ and these look like files that would be in D:\

  6. #6
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Try hdc1 and hdc2
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  7. #7
    Just Joined!
    Join Date
    Nov 2005
    Location
    Auburn, Maine
    Posts
    75
    hdc1 is what i just tried and hdc2 says wrong fs type

  8. #8
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    post the output of "fdisk -l" as root "su -"
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  9. #9
    Just Joined!
    Join Date
    Nov 2005
    Location
    Auburn, Maine
    Posts
    75
    ok here's what I get:
    Code:
    Disk /dev/hda: 40.0 GB, 40020664320 bytes
    240 heads, 63 sectors/track, 5169 cylinders
    Units = cylinders of 15120 * 512 = 7741440 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1   *           1          14      105808+  83  Linux
    /dev/hda2              15        5169    38971800   8e  Linux LVM
    
    Disk /dev/hdc: 30.0 GB, 30060527616 bytes
    240 heads, 63 sectors/track, 3883 cylinders
    Units = cylinders of 15120 * 512 = 7741440 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hdc1               1         677     5118088+   b  W95 FAT32
    /dev/hdc2   *         678        3882    24229800    7  HPFS/NTFS
    hda is the one with Linux on it. hdc is the one I'm trying to mount.

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by prejudged_fire
    hdc1 is what i just tried and hdc2 says wrong fs type
    hdc2 is NTFS and RH/Fedora doesn't support NTFS out of box. download NTFS patch from www.linux-ntfs.org. patch name *should* match with kernel version.

    uname -a




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 4 1 2 3 4 LastLast

Posting Permissions

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