All partitions mounted as read-only solved

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help

All partitions mounted as read-only solved

Postby manishk on Thu Oct 11, 2007 3:51 pm

A friend of mine has this problem:

All his partitions are being mounted as read-only, even under root. Even sudo chmod doesn't work.

Any help?
"...Many people can only keep on fighting when they expect to win. I'm not like that, I always expect to lose. I fight anyway, and sometimes I win."

-Stallman
User avatar
manishk
Level 3
Level 3
 
Posts: 191
Joined: Wed Nov 29, 2006 4:19 pm
Location: India

Linux Mint is funded by ads and donations.
 

Postby D-EJ915 on Thu Oct 11, 2007 3:56 pm

Sounds like there are weird options in the fstab, post it up here, maybe that's what's wrong. Here is a link with some info on fstab.
Image
User avatar
D-EJ915
Level 2
Level 2
 
Posts: 70
Joined: Fri Jun 29, 2007 2:14 am
Location: Virginia, USA

Postby andyvr4 on Sat Oct 13, 2007 11:52 am

Are these NTFS partitions or ext3 partitions. By default when you install mint it is setup to only mount NTFS partitions read/only. In order to change this go to System Tools and select NTFS configuration tool. You can then select rather to map them read/only are with write support.
andyvr4
Level 2
Level 2
 
Posts: 51
Joined: Sun Oct 07, 2007 11:00 pm

Postby merlwiz79 on Sat Oct 13, 2007 2:04 pm

andyvr4 wrote:Are these NTFS partitions or ext3 partitions. By default when you install mint it is setup to only mount NTFS partitions read/only. In order to change this go to System Tools and select NTFS configuration tool. You can then select rather to map them read/only are with write support.
Mint is should mount all NTFS hard drives with mintDisk as read/write.
The only way this would not work is if you stopped mintDisk from being used.
User avatar
merlwiz79
Level 11
Level 11
 
Posts: 3637
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Postby Husse on Sat Oct 13, 2007 4:19 pm

All his partitions are being mounted as read-only, even under root.
Is it possible to boot?
I think I've seen that boot fails because writing to some important file is not possible (have to look it up if I'm gonna tell you the exact story)
To some of you answering
Under root you do not have ntfs (in /media which is under root, yes :))
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby manishk on Wed Oct 17, 2007 11:43 am

I'm really sorry I took so long to reply...I was a little held up with work. Sorry guys. :(

D-EJ915 wrote:Sounds like there are weird options in the fstab, post it up here, maybe that's what's wrong. Here is a link with some info on fstab.

I'll try and post it by tomorrow.
"...Many people can only keep on fighting when they expect to win. I'm not like that, I always expect to lose. I fight anyway, and sometimes I win."

-Stallman
User avatar
manishk
Level 3
Level 3
 
Posts: 191
Joined: Wed Nov 29, 2006 4:19 pm
Location: India

Postby manishk on Wed Oct 17, 2007 11:46 am

Husse wrote:
All his partitions are being mounted as read-only, even under root.
Is it possible to boot?


My mistake. What I wanted to say was even as root user I'm not able to do any changes to these partitions, all of which are NTFS.
"...Many people can only keep on fighting when they expect to win. I'm not like that, I always expect to lose. I fight anyway, and sometimes I win."

-Stallman
User avatar
manishk
Level 3
Level 3
 
Posts: 191
Joined: Wed Nov 29, 2006 4:19 pm
Location: India

Postby Husse on Wed Oct 17, 2007 3:28 pm

sudo chmod
Use with extreme caution :)
This is quite different from the original question
What mounts the partitions - mintDisk or fstab?
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby manishk on Thu Nov 01, 2007 2:04 pm

(sudo) chmod doesn't work either...because the partitions are mounted as Read-Only even for the administrator.

Heres what the fstab contains:
Code: Select all
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda6
UUID=59106d85-3d99-4465-9a75-ad65fefed96f /               ext3    defaults,errors=remount-ro 0       1
# /dev/sda1
UUID=36243D9E243D6253 /media/sda1     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
# /dev/sda2
UUID=67AF63BC38F862EA /media/sda2     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
# /dev/sda4
UUID=7C2640E92640A5CC /media/sda4     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
# /dev/sda5
UUID=32A4C5FFA4C5C597 /media/sda5     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
# /dev/sda7
UUID=cc46133a-be38-41c0-82d1-ed4c2585fac0 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0


fstab is used for mounting the partitions.

Thank you for your patience :D .
"...Many people can only keep on fighting when they expect to win. I'm not like that, I always expect to lose. I fight anyway, and sometimes I win."

-Stallman
User avatar
manishk
Level 3
Level 3
 
Posts: 191
Joined: Wed Nov 29, 2006 4:19 pm
Location: India

Postby Husse on Fri Nov 02, 2007 7:31 am

Try to change ntfs to ntfs-3g
Apart from that it looks as it should
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby manishk on Tue Nov 13, 2007 2:07 pm

I had to change the ntfs to ntfs-3g but that dint work until, for some strange reason, I had to replace all the UUID=... with the corresponding /dev/sdax

All is fine now. Thanks a lot

But I wonder what is the difference between specifying UUID and /dev/sdax?
"...Many people can only keep on fighting when they expect to win. I'm not like that, I always expect to lose. I fight anyway, and sometimes I win."

-Stallman
User avatar
manishk
Level 3
Level 3
 
Posts: 191
Joined: Wed Nov 29, 2006 4:19 pm
Location: India

Postby Husse on Wed Nov 14, 2007 5:13 pm

But I wonder what is the difference between specifying UUID and /dev/sdax?

The UUID (Universal Unique IDentifier) is calculated from several things to identify a partition and should be the same regardless you move a USB disk or some such. However it's not always the case
The /dev/sdax is simply your partitions numbered rom the beginning of the disk (well not quite - but basically)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby manishk on Thu Nov 15, 2007 1:17 pm

Husse wrote:...However it's not always the case...


Can the UUID change if we format the partition from another OS?? Because, it once happened to me that I formatted a FAT32 partition from Win and Mint stopped auto-mounting it.
"...Many people can only keep on fighting when they expect to win. I'm not like that, I always expect to lose. I fight anyway, and sometimes I win."

-Stallman
User avatar
manishk
Level 3
Level 3
 
Posts: 191
Joined: Wed Nov 29, 2006 4:19 pm
Location: India

Linux Mint is funded by ads and donations.
 

Return to Other topics

Who is online

Users browsing this forum: No registered users and 6 guests