Results 1 to 10 of 10
  1. #1
    How do I set my drive to rw?

    Member Since
    Jul 30, 2012
    Posts
    7
    How do I set my drive to rw?
    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,

  2. #2
    How do I set my drive to rw?
    MacDuck's Avatar
    Member Since
    Dec 29, 2012
    Location
    Manchester, UK
    Posts
    154
    Specs:
    rMBP 15"
    Surely it's the DVD that's read only, not your HDD?
    15" MacBook Pro retina 10,1

  3. #3
    How do I set my drive to rw?
    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Nederland, Texas
    Posts
    4,072
    Specs:
    13in macbook - 10.10.4
    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
    (\__/)
    (='.'=) This is Bunny. Copy and paste Bunny into your
    (")_(") signature to help him gain world domination

  4. #4
    How do I set my drive to rw?

    Member Since
    Jul 30, 2012
    Posts
    7
    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?

  5. #5
    How do I set my drive to rw?

    Member Since
    Jul 30, 2012
    Posts
    7
    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?

  6. #6
    How do I set my drive to rw?
    pigoo3's Avatar
    Member Since
    May 20, 2008
    Location
    U.S.
    Posts
    31,462
    Specs:
    2011 13" MBP 2.3ghz, 8gig ram, OS 10.7.5
    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
    - Too many "beachballs", read this: Beachballs
    - Computer seems slower than it used to? Read this for some slow computer tips: Speedup
    - Almost full hard drive? Some solutions. Out of Space
    - Apple Battery Info. Battery

  7. #7
    How do I set my drive to rw?

    Member Since
    Jul 30, 2012
    Posts
    7
    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

  8. #8
    How do I set my drive to rw?
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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

  9. #9
    How do I set my drive to rw?

    Member Since
    Jul 30, 2012
    Posts
    7
    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...

  10. #10
    How do I set my drive to rw?
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to set the default boot drive
    By CYJAKU in forum OS X - Operating System
    Replies: 3
    Last Post: 07-04-2015, 03:40 PM
  2. set ministackV3 as main drive?
    By adrean in forum Switcher Hangout
    Replies: 5
    Last Post: 01-26-2010, 05:04 AM
  3. New hard drive: how to set password!??
    By Christopher in forum OS X - Operating System
    Replies: 0
    Last Post: 08-10-2008, 02:20 PM
  4. Any way to set up a virtual CD drive that I can burn to?
    By sickink2 in forum Music, Audio, and Podcasting
    Replies: 1
    Last Post: 11-10-2007, 09:26 AM
  5. Set up External Hard Drive As Network Drive
    By eddy7496 in forum Internet, Networking, and Wireless
    Replies: 1
    Last Post: 10-22-2007, 07:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •