mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2005-02-12, 21:53   #1
patrik
 
patrik's Avatar
 
"Patrik Johansson"
Aug 2002
Uppsala, Sweden

1A916 Posts
Default Error when mounting Windows disk

I get the following error message when I try mounting a Windows disk on my Linux computer.
Code:
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 16:01.
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
       or too many mounted file systems
fdisk -l gives the following:
Code:
Disk /dev/hdc: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdc1   *         1      4998  40146403+   c  Win95 FAT32 (LBA)

Disk /dev/hda: 853 MB, 853002240 bytes
32 heads, 63 sectors/track, 826 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        41     41296+  83  Linux
/dev/hda2            42       757    721728   83  Linux
/dev/hda3           758       826     69552   82  Linux swap
I had a CDROM mounted as master on the secondary IDE channel when I installed Linux. Afterwards I unplugged it and put in a Windows disk as master using cable select. That's the one on /dev/hdc above, that I have problems mounting.

I added a line to /etc/fstab so that it looks like
Code:
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda3               swap                    swap    defaults        0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
/dev/hdc1		/disk/hdc1		vfat	defaults	0 0
and created the mount point: mkdir -p /disk/hdc1

ls -l on /dev/hdc1 gives
Code:
brw-rw----    1 root     disk      22,   1 Jan 30  2003 /dev/hdc1
For reference, df gives
Code:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda2               710368    463092    211192  69% /
/dev/hda1                39979     14831     23084  40% /boot
none                    127204         0    127204   0% /dev/shm
/dev/fd0                  1424       244      1180  18% /mnt/floppy
All actions done as root. What did I forget? I do something similar (mount a Windows partition) on another computer and it works, but there all partitions are on the same disk.

How can I see how many mounted file systems I can have, if that is the error?
patrik is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk full error while running mprime D. B. Staple Software 3 2008-01-28 23:35
Windows Blinds GUI Skinning Program causes Error Unregistered Software 5 2004-03-03 11:14
Prime95 & Windows XP error Propilot stxr Hardware 9 2004-01-26 19:16
Windows Application error Prime95? kx250 Software 3 2004-01-03 02:32
Prime95 Windows NT Error [b]SHLWAPI.dll [/b]not found stealthaxe Software 3 2003-05-11 05:53

All times are UTC. The time now is 07:01.


Sat Jul 17 07:01:26 UTC 2021 up 50 days, 4:48, 1 user, load averages: 1.86, 1.84, 1.75

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.