DwaynXD

Q: I have to go in to single-user mode to boot in OS X.

As the title says, I have to press Command + S. Then type "/sbin/mount -uw /" and then "exit" to boot in OS X. When I don't go to single-user mode. I see the apple logo and the progress bar but the progress bar only gets to 3/4 of the way and then the computer shuts down by itself. I also have bootcamp on my hard drive with windows 10 on it (mainly for videogames) and I can boot in windows 10 just fine. Is there like a way to make the code: "/sbin/mount -uw / permanent so I don't have to go to single-user mode EVERY TIME want to boot in OS X?

 

Any help is appreciated, thank you.

iMac, OS X Mavericks (10.9.1)

Posted on Jan 9, 2016 12:55 PM

Close

Q: I have to go in to single-user mode to boot in OS X.

  • All replies
  • Helpful answers

Previous Page 2 of 6 last Next
  • by Lexiepex,

    Lexiepex Lexiepex Jan 12, 2016 12:26 AM in response to DwaynXD
    Level 6 (10,477 points)
    Mac OS X
    Jan 12, 2016 12:26 AM in response to DwaynXD

    I know what happens. I had the impression that you wanted to restart, with exit you stay in the S mode and can not do anything.

  • by Lexiepex,

    Lexiepex Lexiepex Jan 12, 2016 1:26 AM in response to DwaynXD
    Level 6 (10,477 points)
    Mac OS X
    Jan 12, 2016 1:26 AM in response to DwaynXD

    In the Single Mode after you mount the disk:

    "freeze" the disk, and then use the fsck command to repair the diskregister

    This will take a considerable amount of time probably; when you see the #:  type reboot.

  • by DwaynXD,

    DwaynXD DwaynXD Jan 12, 2016 10:48 AM in response to Lexiepex
    Level 1 (0 points)
    Jan 12, 2016 10:48 AM in response to Lexiepex

    Sorry, but can you give me a more detailed information on what you mean by "freeze the disk"?

  • by Lexiepex,

    Lexiepex Lexiepex Jan 13, 2016 12:45 AM in response to DwaynXD
    Level 6 (10,477 points)
    Mac OS X
    Jan 13, 2016 12:45 AM in response to DwaynXD

    You'll see what to do when you do the filesystemcheck (fsck). I think you have a good chance that fsck will solve your issue.

  • by DwaynXD,

    DwaynXD DwaynXD Jan 13, 2016 11:11 AM in response to Lexiepex
    Level 1 (0 points)
    Jan 13, 2016 11:11 AM in response to Lexiepex

    Ok, I did fsck AND /sbin/fsck -y. I did both for about 5-6 times. Here are the result:

     

    ** /dev/rdlsk2

    ** Root file system    

        Executing fsck_hfs (version hfs-304).

    ** Checking Journaled HFS Plus volume.

        The volume name is Macintosh HD

    ** Checking extents overflow file.

        Invalid node structure

    (4, 20639)

    ** The volume Macintosh HD could not be verified completely.

    localhost:/ root# pcl pause: SDXC

     

    There is a small pause after "** Checking extents overflow file."

    After I did these commands, I typed "reboot" and the same thing happened. Computer shuts down when the progress bar gets to 3/4.

    I then entered these commands again, after doing it for 4-5 times I typed "/sbin/mount -uw /" and then "reboot" and same thing happens. Computer shuts down at 3/4 of the way on the progress bar. But If I type "exit" after typing in "/sbin/mount -uw /" then I will get in to OS X.

     

    Please help, I don't want to keep changing between Bootcamp Windows and Mac OS X while having to go to single-user mode to type these commands: "/sbin/mount -uw" and "exit" just to get in to OS X.

  • by Mike Sombrio,

    Mike Sombrio Mike Sombrio Jan 13, 2016 11:24 AM in response to DwaynXD
    Level 6 (17,201 points)
    Apple Watch
    Jan 13, 2016 11:24 AM in response to DwaynXD

    I think you're going to need a utility more robust than Disk Utility. Disk Warrior should fix it http://www.alsoft.com/DiskWarrior/

  • by DwaynXD,

    DwaynXD DwaynXD Jan 13, 2016 11:32 AM in response to Mike Sombrio
    Level 1 (0 points)
    Jan 13, 2016 11:32 AM in response to Mike Sombrio

    Mike Sombrio wrote:

     

    I think you're going to need a utility more robust than Disk Utility. Disk Warrior should fix it http://www.alsoft.com/DiskWarrior/

    Alright, I am going to try it out.

     

    Thank you Mike.

  • by DwaynXD,

    DwaynXD DwaynXD Jan 13, 2016 11:34 AM in response to DwaynXD
    Level 1 (0 points)
    Jan 13, 2016 11:34 AM in response to DwaynXD

    DwaynXD wrote:

     

    Mike Sombrio wrote:

     

    I think you're going to need a utility more robust than Disk Utility. Disk Warrior should fix it http://www.alsoft.com/DiskWarrior/

    Alright, I am going to try it out.

     

    Thank you Mike.

    Never mind, I didn't realize it was a paid software. I don't think I will be spending money on this. And I don't know 100% if it will work.

  • by Lexiepex,

    Lexiepex Lexiepex Jan 13, 2016 11:35 AM in response to DwaynXD
    Level 6 (10,477 points)
    Mac OS X
    Jan 13, 2016 11:35 AM in response to DwaynXD

    First of all: you do the fsck thing again and again until it says "the disk seems to be OK", otherwise the filesystem is not fully repaired.

    (I thought it is fsck -fy  not  fsck -y)

    I have no experience with disk warrior, it has no conclusive support here in a lot of threads.

  • by DwaynXD,

    DwaynXD DwaynXD Jan 13, 2016 11:37 AM in response to Lexiepex
    Level 1 (0 points)
    Jan 13, 2016 11:37 AM in response to Lexiepex

    LexSchellings wrote:

     

    First of all: you do the fsck thing again and again until it says "the disk seems to be OK", otherwise the filesystem is not fully repaired.

    (I thought it is fsck -fy  not  fsck -y)

    I have no experience with disk warrior, it has no conclusive support here in a lot of threads.

    Oops, I typed fsck -y but I was meant to type fsck -fy. I will try doing this command a bunch of times.

  • by Mike Sombrio,

    Mike Sombrio Mike Sombrio Jan 13, 2016 12:42 PM in response to DwaynXD
    Level 6 (17,201 points)
    Apple Watch
    Jan 13, 2016 12:42 PM in response to DwaynXD

    Over the years Disk Warrior has saved my bacon more than once.

  • by Loner T,

    Loner T Loner T Jan 13, 2016 1:05 PM in response to DwaynXD
    Level 7 (23,643 points)
    Safari
    Jan 13, 2016 1:05 PM in response to DwaynXD

    Disk Information: (What does this mean?)

        APPLE HDD ST1000DM003 disk1 : (1 TB) (Rotational)

            EFI (disk1s1) <not mounted> : 210 MB

            Recovery HD (disk1s3) <not mounted>  [Recovery]: 650 MB

            Bootcamp (disk1s4) /Volumes/Bootcamp : 300.00 GB (120.62 GB free)

            Macintosh HD (disk2) / : 811.83 GB (454.27 GB free)

                Core Storage: disk0s2 120.99 GB Online

                Core Storage: disk1s2 699.35 GB Online

     

        APPLE SSD SM128E disk0 : (121.33 GB) (Solid State - TRIM: Yes)

            EFI (disk0s1) <not mounted> : 210 MB

            Boot OS X (disk0s3) <not mounted> : 134 MB

            Macintosh HD (disk2) / : 811.83 GB (454.27 GB free)

                Core Storage: disk0s2 120.99 GB Online

                Core Storage: disk1s2 699.35 GB Online

     

    You have a 1TB Fusion drive. Can you post the output of the following OSX Terminal commands?

     

    diskutil list

    diskutil cs list

    sudo gpt -vv -r show /dev/disk0

    sudo gpt -vv -r show /dev/disk1

    sudo fdisk /dev/disk0

    sudo fdisk /dev/disk1

  • by DwaynXD,

    DwaynXD DwaynXD Jan 13, 2016 1:16 PM in response to Loner T
    Level 1 (0 points)
    Jan 13, 2016 1:16 PM in response to Loner T

    Loner T wrote:

     

    Disk Information: (What does this mean?)

        APPLE HDD ST1000DM003 disk1 : (1 TB) (Rotational)

            EFI (disk1s1) <not mounted> : 210 MB

            Recovery HD (disk1s3) <not mounted>  [Recovery]: 650 MB

            Bootcamp (disk1s4) /Volumes/Bootcamp : 300.00 GB (120.62 GB free)

            Macintosh HD (disk2) / : 811.83 GB (454.27 GB free)

                Core Storage: disk0s2 120.99 GB Online

                Core Storage: disk1s2 699.35 GB Online

     

        APPLE SSD SM128E disk0 : (121.33 GB) (Solid State - TRIM: Yes)

            EFI (disk0s1) <not mounted> : 210 MB

            Boot OS X (disk0s3) <not mounted> : 134 MB

            Macintosh HD (disk2) / : 811.83 GB (454.27 GB free)

                Core Storage: disk0s2 120.99 GB Online

                Core Storage: disk1s2 699.35 GB Online

     

    You have a 1TB Fusion drive. Can you post the output of the following OSX Terminal commands?

     

    diskutil list

    diskutil cs list

    sudo gpt -vv -r show /dev/disk0

    sudo gpt -vv -r show /dev/disk1

    sudo fdisk /dev/disk0

    sudo fdisk /dev/disk1

    diskutil list

    /dev/disk0 (internal, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *121.3 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:          Apple_CoreStorage Macintosh HD            121.0 GB   disk0s2

       3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3

    /dev/disk1 (internal, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *1.0 TB     disk1

       1:                        EFI EFI                     209.7 MB   disk1s1

       2:          Apple_CoreStorage Macintosh HD            699.3 GB   disk1s2

       3:                 Apple_Boot Recovery HD             650.1 MB   disk1s3

       4:       Microsoft Basic Data Bootcamp                300.0 GB   disk1s4

    /dev/disk2 (internal, virtual):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                  Apple_HFS Macintosh HD           +811.8 GB   disk2

                                     Logical Volume on disk0s2, disk1s2

                                     CFBF0A67-BEA2-4568-8525-D061082F80BB

                                     Unencrypted Fusion Drive

     

    diskutil cs list

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group B54D51B8-E3A9-45FA-A5D5-56B9E142A27B

        =========================================================

        Name:         Macintosh HD

        Status:       Online

        Size:         820333879296 B (820.3 GB)

        Free Space:   229376 B (229.4 KB)

        |

        +-< Physical Volume 325382BD-0466-46A3-942A-8D0840AFD59A

        |   ----------------------------------------------------

        |   Index:    0

        |   Disk:     disk0s2

        |   Status:   Online

        |   Size:     120988852224 B (121.0 GB)

        |

        +-< Physical Volume 98A67476-2B6F-4B02-A932-0F49766E517C

        |   ----------------------------------------------------

        |   Index:    1

        |   Disk:     disk1s2

        |   Status:   Online

        |   Size:     699345027072 B (699.3 GB)

        |

        +-> Logical Volume Family F6E67D0A-4299-4B51-B2C0-4DD780137D67

            ----------------------------------------------------------

            Encryption Type:         None

            |

            +-> Logical Volume CFBF0A67-BEA2-4568-8525-D061082F80BB

                ---------------------------------------------------

                Disk:                  disk2

                Status:                Online

                Size (Total):          811826282496 B (811.8 GB)

                Revertible:            No

                LV Name:               Macintosh HD

                Volume Name:           Macintosh HD

                Content Hint:          Apple_HFS

                LVG Type:              Fusion, Sparse

     

    sudo gpt -vv -r show /dev/disk0

    Password:

    gpt show: /dev/disk0: mediasize=121332826112; sectorsize=512; blocks=236978176

    gpt show: /dev/disk0: PMBR at sector 0

    gpt show: /dev/disk0: Pri GPT at sector 1

    gpt show: /dev/disk0: Sec GPT at sector 236978175

          start       size  index  contents

              0          1         PMBR

              1          1         Pri GPT header

              2         32         Pri GPT table

             34          6        

             40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

         409640  236306352      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

      236715992     262144      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

      236978136          7        

      236978143         32         Sec GPT table

      236978175          1         Sec GPT header

     

    sudo gpt -vv -r show /dev/disk1

    gpt show: /dev/disk1: mediasize=1000204886016; sectorsize=512; blocks=1953525168

    gpt show: /dev/disk1: Suspicious MBR at sector 0

    gpt show: /dev/disk1: Pri GPT at sector 1

    gpt show: error: bogus map

    gpt show: unable to open device '/dev/disk1': Undefined error: 0

     

    sudo fdisk /dev/disk0

    Disk: /dev/disk0 geometry: 14751/255/63 [236978176 sectors]

    Signature: 0xAA55

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

    ------------------------------------------------------------------------

    1: EE 1023 254  63 - 1023 254  63 [         1 -  236978175] <Unknown ID>

    2: 00    0   0   0 -    0   0   0 [         0 -          0] unused     

    3: 00    0   0   0 -    0   0   0 [         0 -          0] unused     

    4: 00    0   0   0 -    0   0   0 [         0 -          0] unused     

     

    sudo fdisk /dev/disk1

    Disk: /dev/disk1 geometry: 121601/255/63 [1953525168 sectors]

    Signature: 0xAA55

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

    ------------------------------------------------------------------------

    1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>

    2: AC 1023 254  63 - 1023 254  63 [    409640 - 1365908256] <Unknown ID>

    3: AB 1023 254  63 - 1023 254  63 [1366317896 -    1269760] Darwin Boot

    *4: 07 1023 254  63 - 1023 254  63 [1367588864 -  585013248] HPFS/QNX/AUX

  • by Loner T,

    Loner T Loner T Jan 13, 2016 1:22 PM in response to DwaynXD
    Level 7 (23,643 points)
    Safari
    Jan 13, 2016 1:22 PM in response to DwaynXD
Previous Page 2 of 6 last Next