LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Fat32 Read Only? (https://www.linuxquestions.org/questions/slackware-14/fat32-read-only-457404/)

natewlew 06-22-2006 08:08 PM

Fat32 Read Only?
 
I used to write to my fat32 partition. Here is my fstab that I changed a few times trying to get it to work.

Quote:

/dev/hda7 /home/extra vfat rw,users,umask=000 0 0
Now I can't. I tried to delete a file as root and it say's I can't because its a Read Only Disc. Can anyone help?

cereal83 06-22-2006 08:24 PM

/dev/hda7 /home/extra vfat ro,users,umask=000 0 0

natewlew 06-22-2006 08:57 PM

Thanks for your help!

That didn't seem to work.

I ran dmesg:

Quote:

FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
Filesystem panic (dev 03:07).
FAT error
Directory 8: bad FAT
I guess somethings wrong with the drive.

liquidtenmilion 06-22-2006 09:42 PM

FAT error should pretty much tell you it's a problem with the filesystem.

Running fsck.msdos on the partition might help. Or it might destroy the entire filesystem beyond repair.

I honestly am not sure how reliable that tool would be.

cwwilson721 06-22-2006 09:46 PM

Quote:

Originally Posted by liquidtenmilion
Running fsck.msdos on the partition might help. Or it might destroy the entire filesystem beyond repair.

I honestly am not sure how reliable that tool would be.

lmao

Can't be any worse than 'chkdisk' in Windows....

natewlew 06-22-2006 10:26 PM

Windows did run a check on it and it seems to work fine, but its still no good in Slackware.

natewlew 06-22-2006 11:26 PM

I put noauto on my fstab and added rw. I didn't get any errors when I booted. I mounted the drive and I can write to it.:D

cwwilson721 06-22-2006 11:30 PM

So, something with the auto setting then....

At least, you've narrowed it down.
Can you post your new fstab? And have you done any 'upgrading' lately?
Windows or Slackware. Windows is notorious for changing things on the hdd without letting you know....
Usually, it messes with NTFS, but you never know....

natewlew 06-22-2006 11:42 PM

My fstab:

Quote:

/dev/hda5 swap swap defaults 0 0
/dev/hda6 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda1 /home/ntfs ntfs ro,umask=0222,users 0 0
/dev/hda7 /home/extra vfat noauto,rw,users,umask=000 0 0
/dev/hdc /mnt/cdrom iso9660 udf,noauto,owner,ro 0 0
/dev/hdd /mnt/cdrom2 iso9660 udf,noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
none /sys sysfs defaults 0 0

No, I havn't done any upgrading.

I think the problem started when I tried to mount the partition on Solaris. When I mounted it on Solaris it said "/mnt/extra might be busy" , but it still mounted. I didn't think that was the cause but it might have been.
I have been getting errors when I booted slackware since I installed it about a week ago. Everything worked ok so I didn't worry about it. Now I'm not getting any. I guess turning off the auto did help:cool:

cwwilson721 06-22-2006 11:45 PM

Is there anyway possible to backup the data on that partition, and remake a fresh fat32, then reinstall the data? Don't know why, but something is rattling around in the old database in my skull....

The problems with screwing with these OS's since '73. The dust is terrible in there.

And don't underestimate the possibility of a MS virus on the superblock of that partition....

natewlew 06-23-2006 02:26 PM

Yes I could do that, but it seems to be working ok.

The only files that I have on there are pictures and music that I have backed up.


All times are GMT -5. The time now is 08:22 AM.