Home / Software / BSD, Linux, and Unix / Mounting a filesystem as rw
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2  All - (Bottom) Print
Author Topic: Mounting a filesystem as rw  (Read 3361 times)
vibhor_agarwalin
Topic Starter
Adviser



Posts: 817


« on: July 24, 2006, 02:06:00 AM »

Hi,

I was doing some experimenting with LIVE cd of SLAX.   ::)

My drives were mounted as read-only.

I un-mounted them and re-mounted as

mount /dev/hda1 /mnt/hda1 -o rw

It shows it is rw but in effect its still ro.   :o
How can i get around this?
IP logged

Vibhor Kumar Agarwal
Rob Pomeroy
Prodigy



Thanked: 119
Posts: 6,454

Experience: Expert
OS: Other


Web/Networking/Linux

Me
« Reply #1 on: July 24, 2006, 02:30:27 AM »

Ensure that the drive in question is error free.  You may not succeed in mounting a drive read-only if it is corrupted in any way.  Set permissions as required (although if you're doing this all as root, you should be fine).
IP logged

Author of the fantasy thriller, Insensate - available for all ebook readers and iDevices. Find out more >here<. Only 99p/99¢!
vibhor_agarwalin
Topic Starter
Adviser



Posts: 817


« Reply #2 on: July 24, 2006, 02:52:29 AM »

Those drives are my windows drive.

I was booting with the CD of Linux. It doesn't needs to be installed.

So no question of being errored.  8-)

On doing anything, it says:

Read only filesystem.
IP logged

Vibhor Kumar Agarwal
Rob Pomeroy
Prodigy



Thanked: 119
Posts: 6,454

Experience: Expert
OS: Other


Web/Networking/Linux

Me
« Reply #3 on: July 24, 2006, 03:16:48 AM »

1. You cannot mount the CD read/write (obviously).
2. If there are errors on your hard drive, you cannot mount that read/write either.
IP logged

Author of the fantasy thriller, Insensate - available for all ebook readers and iDevices. Find out more >here<. Only 99p/99¢!
vibhor_agarwalin
Topic Starter
Adviser



Posts: 817


« Reply #4 on: July 24, 2006, 03:38:36 AM »

There is some confusion:

I am running directly from the Linux CD.  8-)

No confusion of error on disk, as i regularly boot my system with Windows from the same disks.  :)
IP logged

Vibhor Kumar Agarwal
Rob Pomeroy
Prodigy



Thanked: 119
Posts: 6,454

Experience: Expert
OS: Other


Web/Networking/Linux

Me
« Reply #5 on: July 24, 2006, 03:51:02 AM »

Have you run scandisk on your hard drives recently?
IP logged

Author of the fantasy thriller, Insensate - available for all ebook readers and iDevices. Find out more >here<. Only 99p/99¢!
vibhor_agarwalin
Topic Starter
Adviser



Posts: 817


« Reply #6 on: July 24, 2006, 04:11:23 AM »

Yup,

A couple of days back.
IP logged

Vibhor Kumar Agarwal
Rob Pomeroy
Prodigy



Thanked: 119
Posts: 6,454

Experience: Expert
OS: Other


Web/Networking/Linux

Me
« Reply #7 on: July 24, 2006, 04:24:52 AM »

What error message are you seeing exactly?
IP logged

Author of the fantasy thriller, Insensate - available for all ebook readers and iDevices. Find out more >here<. Only 99p/99¢!
vibhor_agarwalin
Topic Starter
Adviser



Posts: 817


« Reply #8 on: July 24, 2006, 04:33:20 AM »

The filesystem is mounted read-only.

Even though i remounted it as read-write, it still says read-only.
On typing mount, shows as rw but in effect is ro.

Is it possible to write on to a disc when you are running Linux directly from a CD?
IP logged

Vibhor Kumar Agarwal
Rob Pomeroy
Prodigy



Thanked: 119
Posts: 6,454

Experience: Expert
OS: Other


Web/Networking/Linux

Me
« Reply #9 on: July 24, 2006, 04:51:15 AM »

Yes, it should be possible.  There might be something I'm missing here.  Have you tried asking your question over at the >Slax forum<?

Which folder exactly are you trying to write to?
IP logged

Author of the fantasy thriller, Insensate - available for all ebook readers and iDevices. Find out more >here<. Only 99p/99¢!
vibhor_agarwalin
Topic Starter
Adviser



Posts: 817


« Reply #10 on: July 24, 2006, 05:13:03 AM »

Good idea  :D

I'll try right away.

I was simply trying to write anywhere. It included C: & D: which are the 2 partitions i have.
IP logged

Vibhor Kumar Agarwal
Rob Pomeroy
Prodigy



Thanked: 119
Posts: 6,454

Experience: Expert
OS: Other


Web/Networking/Linux

Me
« Reply #11 on: July 24, 2006, 05:15:07 AM »

And what is the full path to those mounted partitions?  Could you post the output of
mount
and
cat /etc/fstab
?
IP logged

Author of the fantasy thriller, Insensate - available for all ebook readers and iDevices. Find out more >here<. Only 99p/99¢!
vibhor_agarwalin
Topic Starter
Adviser



Posts: 817


« Reply #12 on: July 24, 2006, 05:18:33 AM »

Can't give the output as i don't have the CD right now.

It contained something like
/dev/hda1 mounted on /mnt/hda1 as ro ( mount ).

IP logged

Vibhor Kumar Agarwal
vibhor_agarwalin
Topic Starter
Adviser



Posts: 817


« Reply #13 on: July 24, 2006, 05:19:04 AM »

Made a thread is Slax forum also.  ;D
IP logged

Vibhor Kumar Agarwal
Rob Pomeroy
Prodigy



Thanked: 119
Posts: 6,454

Experience: Expert
OS: Other


Web/Networking/Linux

Me
« Reply #14 on: July 24, 2006, 05:47:18 AM »

Quote
/dev/hda1 mounted on /mnt/hda1 as ro ( mount ).
Is that a typo?  If not, you'd need to edit /etc/fstab and change the ro to rw.
IP logged

Author of the fantasy thriller, Insensate - available for all ebook readers and iDevices. Find out more >here<. Only 99p/99¢!
Pages: [1] 2  All - (Top) Print 
Home / Software / BSD, Linux, and Unix / Mounting a filesystem as rw « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.087 seconds with 20 queries.