Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-22-2006, 09:08 PM
|
#1
|
Member
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162
Rep:
|
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?
Last edited by natewlew; 06-22-2006 at 09:13 PM.
|
|
|
06-22-2006, 09:24 PM
|
#2
|
Member
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479
Rep:
|
/dev/hda7 /home/extra vfat ro,users,umask=000 0 0
|
|
|
06-22-2006, 09:57 PM
|
#3
|
Member
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162
Original Poster
Rep:
|
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.
|
|
|
06-22-2006, 10:42 PM
|
#4
|
Member
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606
Rep:
|
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.
|
|
|
06-22-2006, 10:46 PM
|
#5
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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....
|
|
|
06-22-2006, 11:26 PM
|
#6
|
Member
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162
Original Poster
Rep:
|
Windows did run a check on it and it seems to work fine, but its still no good in Slackware.
|
|
|
06-23-2006, 12:26 AM
|
#7
|
Member
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162
Original Poster
Rep:
|
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.
|
|
|
06-23-2006, 12:30 AM
|
#8
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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....
Last edited by cwwilson721; 06-23-2006 at 12:32 AM.
|
|
|
06-23-2006, 12:42 AM
|
#9
|
Member
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162
Original Poster
Rep:
|
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
Last edited by natewlew; 06-23-2006 at 12:45 AM.
|
|
|
06-23-2006, 12:45 AM
|
#10
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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....
Last edited by cwwilson721; 06-23-2006 at 12:46 AM.
|
|
|
06-23-2006, 03:26 PM
|
#11
|
Member
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162
Original Poster
Rep:
|
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 05:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|