New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Apple Notebooks Apple's notebook computers including MacBook Pro, MacBook, MacBook Air, PowerBook, and iBook.

How do I set my drive to rw?


Post Reply New Thread Subscribe

 
Thread Tools
macoverwin

 
Member Since: Jul 30, 2012
Posts: 7
macoverwin is on a distinguished road

macoverwin is offline
I have macbook laptop....I bought this one a couple of years ago..
Since I need to maintain some stuff in hdd, I needed to boot from DVD,(which I got when I bought this notebook - Snow Leopard OS X installation DVD)
Once I booted, then I went to terminal..then when I checked my status by df..
/dev/MyMacHddXXX - it was mounted as read-only...

Is there anyway in this terminal I can change to read-write?

I tried to update it by "mount -u -w /dev/MyMacHddXXX", but it gave me the error message saying "Invalid Argument"..I don't think the syntax is incorrect...

What command am I supposed to use to set my main hdd drive to read-write in this terminal window?

Thanks,
QUOTE Thanks
MacDuck

 
MacDuck's Avatar
 
Member Since: Dec 29, 2012
Location: Manchester, UK
Posts: 155
MacDuck is on a distinguished road
Mac Specs: rMBP 15"

MacDuck is offline
Surely it's the DVD that's read only, not your HDD?

15" MacBook Pro retina 10,1
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,210
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
What exactly are you trying to do?
Maintaining the hard drive is done with Disk Utility. (or Onyx) What do you need to do in Terminal?

Craig Domingue - resident redneck.
“Never argue with an idiot. He will only bring you down to his level and beat you with experience.”, George Carlin
QUOTE Thanks
macoverwin

 
Member Since: Jul 30, 2012
Posts: 7
macoverwin is on a distinguished road

macoverwin is offline
Quote:
Originally Posted by MacDuck View Post
Surely it's the DVD that's read only, not your HDD?
What?
I am trying to set my HDD to rw ..what are you saying?
QUOTE Thanks
macoverwin

 
Member Since: Jul 30, 2012
Posts: 7
macoverwin is on a distinguished road

macoverwin is offline
Quote:
Originally Posted by cradom View Post
What exactly are you trying to do?
Maintaining the hard drive is done with Disk Utility. (or Onyx) What do you need to do in Terminal?
Currently, for some reason, I am not able to boot my machine...Only option available at this moment is Terminal Window. .. When I check my mounted hdd, it is readonly. I need to change/and update some my file in my hdd..obviously, chmod didn't work either, cuz it is mounted to read-only.

No way to set my hdd to rw?
QUOTE Thanks
pigoo3

 
pigoo3's Avatar
 
Member Since: May 20, 2008
Location: U.S.
Posts: 27,293
pigoo3 has a reputation beyond reputepigoo3 has a reputation beyond reputepigoo3 has a reputation beyond reputepigoo3 has a reputation beyond reputepigoo3 has a reputation beyond reputepigoo3 has a reputation beyond reputepigoo3 has a reputation beyond reputepigoo3 has a reputation beyond reputepigoo3 has a reputation beyond reputepigoo3 has a reputation beyond reputepigoo3 has a reputation beyond repute
Mac Specs: 13" MB 2.4ghz, 2gig ram, OS 10.7.5

pigoo3 is offline
Quote:
Originally Posted by macoverwin View Post
What?
I am trying to set my HDD to rw ..what are you saying?
Can you please explain what you mean by "trying to set my HDD to rw"?

If we have a better idea of what you are trying to do...then maybe we can help better.

- Nick

- Computer slow, too many "beachballs", read this: Beachballs
- Computer seems slower than it used to? Read this for some speedup tips: Speedup
- Almost full hard drive? Some solutions. Out of Space
- Apple Battery Info. Battery
QUOTE Thanks
macoverwin

 
Member Since: Jul 30, 2012
Posts: 7
macoverwin is on a distinguished road

macoverwin is offline
Quote:
Originally Posted by pigoo3 View Post
Can you please explain what you mean by "trying to set my HDD to rw"?

If we have a better idea of what you are trying to do...then maybe we can help better.

- Nick
I'll try ..ok

../df -u
....
..
/dev/diskXXX (this is my hdd) ...( ...readonly)

Since this is mounted as readonly, I can't change/update my files in terminal window.
Usually, when you want to remount in mac, as far as I know, the command is like
mount -u -w /dev/diskXXXX ...however, it generates "Invalid Argument"...
I don't think my command is incorrect..If this command is wrong, please let me know.

This is all I am trying to do now...

Thanks
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,050
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Just use diskutil:
Code:
diskutil mount /dev/diskXXX
That should mount it read/write (I believe this is the default since you have to be specific about mounting it read only). You may have to unmount it first:
Code:
diskutil unmount /dev/diskXXX

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
macoverwin

 
Member Since: Jul 30, 2012
Posts: 7
macoverwin is on a distinguished road

macoverwin is offline
Quote:
Originally Posted by vansmith View Post
Just use diskutil:
Code:
diskutil mount /dev/diskXXX
That should mount it read/write (I believe this is the default since you have to be specific about mounting it read only). You may have to unmount it first:
Code:
diskutil unmount /dev/diskXXX
I will try it tonight at home, but couple of questions...

1. I believe this is the default since you have to be specific about mounting it read only)
-> Like I said in the early post, I had to boot from my OS installation CD, and opened up the Terminal window. I didn't mount my hdd manually by myself...When I check by df, it just shows read-only....not sure if Mac OS itself somehow set readonly cuz of my hdd issue for some reason..but as far as I see in this specific situation now, read/write is not default one.

2. what's difference between mount and diskutil mount?..I believe that diskutil probably uses mount command internally when you pass mount option in command line...
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,050
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Quote:
Originally Posted by macoverwin View Post
I didn't mount my hdd manually by myself...When I check by df, it just shows read-only
You are doing it manually this time though which should force it to be mounted read/write.

Quote:
Originally Posted by macoverwin View Post
2. what's difference between mount and diskutil mount?..I believe that diskutil probably uses mount command internally when you pass mount option in command line...
I honestly have no clue how diskutil works internally so I threw it out there as another option.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks

Post Reply New Thread Subscribe


« MacBook Pro or Air no display on TV | Thinking about new laptop »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
iPod won't detect iTunes on ext Hard Drive anymore jcal0820 iPod Hardware and Accessories 1 06-21-2010 03:42 PM
Replacing Hard Drive on Macbook experience alucard Apple Notebooks 24 10-14-2007 04:21 PM
Cannot see optical drive or read files from superdrive cgeiber OS X - Operating System 0 05-27-2007 10:57 AM
Creating backups and bootable images... 2kx2 Switcher Hangout 4 05-26-2007 08:53 PM

All times are GMT -4. The time now is 03:24 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?