In single user mode is it possible to create a user

in single user mode is it possible to create a user using the niutil command. if so, can the user be given admin status so that software can be added to the system.
if it's possible could you post a link to how this is done or tell me if you have time.
thanks very much,
g.

the short answer is yes, you can add users in single user mode and make them admins.
i usually add users on the command line like so:
(i don't have any attribution for this script, but i found it online somewhere. i used to do less than this when adding users.)
#!/bin/sh
echo "Enter username:"
read newuser
echo "Enter the full name for user $newuser's:"
read long_name
echo "Will $newuser be an Admin user (y/N)?"
read is_admin
new_uid=`nidump passwd . | awk -F: '{print $3f}' | sort -n|tail -1`
new_uid=`expr $new_uid + 1`
nicl . -create /users/$newuser
nicl . -create /users/$newuser uid $new_uid
nicl . -create /users/$newuser realname "$long_name"
nicl . -create /users/$newuser passwd ""
nicl . -create /users/$newuser gid 20
nicl . -create /users/$newuser shell "/bin/tcsh"
nicl . -create /users/$newuser home "/Users/$newuser"
nicl . -create /users/$newuser writerspasswd $newuser
passwd $newuser
ditto /System/Library/UserTemplate/English.lproj /Users/$newuser
chown -R $newuser:staff /Users/$newuser
nicl . -read /users/$newuser
if [ "$is_admin" = Y -o "$is_admin" = y ]
then
nicl . -append /groups/wheel users $newuser
nicl . -append /groups/admin users $newuser
nicl . -read /groups/wheel
nicl . -read /groups/admin
fi
also, when you're in SUM, you're root, so you can just type sh /etc/rc to start the necessary subsystems and install what you want.

Similar Messages

  • Data back up from Single User Mode

    Hello,
    I have a problem with my 700 MHz iBook, dual USB, with OS X 10.3.9.
    Unfortunately the OS doesn't start up because of "overlapped extent allocation" problem...
    I would like to re-install the complete OS but before doing it, I would like to back up some directories.
    Is it possible to save some data, by connecting an Ipod or some sort of external peripheral, from the Single User mode?
    If yes, how can I do it?
    Thank you in advance from your kind support.

    Before giving up the ghost check out these:
    http://docs.info.apple.com/article.html?artnum=25770.
    Manually fix Overlapped Extent Allocation Errors without Disk Warrior
    Overlapped overlapped extent allocation errors can be the bane of any Mac user's existence. Often, these errors go unnoticed until the problem becomes visible: your Mac might refuse to boot, crash unexpected, or worse, critical data might disappear from the Finder. Disk Utility can detect, but not fix overlapped extent allocation errors, and certain third-party utilities, such as Alsoft Diskwarrior, can fix them, but generally without reporting the consequences.
    Overlapped extent allocation error occur when the file system thinks that two files are occupying the same area on the hard disk, hence overlapping on the same "inode," which is the structure which holds the location of the data blocks the file occupies, and also file permissions and flags.
    Clearing the "overlapped" or "overallocated" extent allocation essentially means that you'll have to lose some data, because the only way to remove the overlap is to delete the file that's occupying the inode. So, if you suspect, or find out, that the guilty file is a critical system file that resides in one of the hidden system directories such as /etc /var /usr/ or visible system directories such as /System or /Library, and you don't want to reinstall the whole OS (which might not fix the overlapped extent allocation anyway), it's good to have another disk available to copy the files back to your original disk if necessary: a second bootable hard drive or a firewire drive connected to your Mac when you remove the misbehaving file. Just make sure that when you copy the file back to your boot disk that the permissions are correct, so it's best to use the "ditto" command, so that all sticky bits, flags, and permissions are preserved.
    In case you didn't know, you don't have to boot from an install CD in order to check for overlapped extent allocations. All you need to do is restart your Mac, while holding down command + S to boot in "single-user mode."
    At the command prompt that appears, type:
    $ fsck -fy
    If you have an overlapped extent allocation, you'll see:
    "Overlapped Extent Allocation" (File 123456d)
    No matter how many times you run fsck -fy, you'll never be rid of the error.
    So, simply issue the following command:
    find / -inum 123456 -print
    Note the "d" was dropped, or any extra letter that appears after the inode number.
    The find will return a file name that matches with the inode number, and the path to that file. If you remove the file then the fsck will not return this error next time you run it.
    However, before you can delete the file(s) in single-user mode, you'll need to mount the file system. Type:
    $ mount -uw /
    When done, issue the "sync" command, and that will flush the write cache so that all pending writes are written from memory to the disk. Also, since most OS X 10.3 Macs use the HFS+ Journaled file system, it might be a good idea to disable the journal before booting into single-user mode by typing:
    $ sudo diskutil disableJournal /
    then re-enable it when done fixing the overlapped extents and rebooting normally:
    $ sudo diskutil enableJournal /
    Chris Anderson is a long-time Linux propellerhead who just got his first Mac, an ibook G4, and can't keep his hands off of it. He currently works as a "The Architect" and general visionary for a maker of world-class collectibles.
    If you own Disk Warrior then it should be able to repair a drive with overlapped extents.
    There are two backup utilities included in Unix - psync and rsync. You will find them in the /usr/bin/ directory. For documentation simply enter: man psync or man rsync. In order to write data while in single-user mode you need to issue the command: /sbin/mount/ -uw / (Note: there is a "space" between the "uw" and the "/".) To mount an external drive you will need to provide the mountpoint for it in place of the "/", e.g., "/Volumes/volname") without the quotes.

  • How do i repair my hard drive in single user mode when disk is full?

    Hi there Apple Community!
    I have an old Macbook Pro 17" with an upgraded 500GB harddrive and 4GB memory. I'm running Mac OSX Lion.
    Was hoping you could help me out.  THis is the situation:
    Long story short I spilt wine on my macbook and the screen went a bit blobby. Switched it off for a few days, removed the battery etc. etc. Opened it up cleaned out as much of the wine as possible, but unfortunately some of it came in behind the LCD, so now the screen has a nice red stain.  Obviously I'm not going to try to clean that out of the LCD. 
    My Macbook Pro still worked for a few days after that, but then my harddrive gave up.  I booted in the Recovery HD menu, verified the drive and I got the error "Keys out of order - This disk needs to be repaired, click Repair Disk." I attempted to repair the disk but got the error "Keys out of order - Disk Full Error - The volume could not be repaired".
    Unfortnately of this 500GB I only have about 7GB free on it, as I have a huge iPhoto and iTunes library. I did make a TIme Machine backup of my user directory, but not the system files.  I don't really want to do a clean install because:
    1) I'm paranoid that there's something I did not fully back up
    2) I don't want to have to download the whole Mac OSX Lion again. I should have made a USB bootable backup when I had the chance.  I don't have access to a broadband connection.
    What I feel are my viable options, are as follows:
    1) I did buy a replacement internal 500GB harddrive, so I can probably try to make an image of the hard drive to this new drive, but not sure how. I believe it's through the Disk Utility with the "New Image" option but not sure how to go from there.
    2) Start up in Single User Mode and delete some unnecessary files and re-attempt to run the fschk -fy utility again (I tried this earlier and got the same Disk Full Error).  - the problem with this is, I'm not familiar with the command line and have no clue how to delete files.  I don't know my way around Unix.
    3) I can also probably attempt to make a Ghost Image or Acronis Image of the failed drive to this new drive, but not sure if Norton Ghost or Acronis True Image will be able to read this HFS drive - I believe it's possible as it's a simple hard drive clone. 
    If you can guide me in the best option - probably there is a better solution than my proposed ones above, I appreciate any feedback and comments you might have!

    hi Baltwo,
    So I ended up copying my user folder to another harddrive. I managed to download the whole osx lion again, reinstalled, and recovered my home folder using this discussion:
    http://support.apple.com/kb/HT1428
    I have managed to get all my files back. My iTunes library works fine, but my iPhoto library when I open it, get the following error:
    iPhoto cannot be opened because of a problem.
    Here's the error log
    Process:         iPhoto [1540]
    Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Identifier:      com.apple.iPhoto
    Version:         8.1.2 (8.1.2)
    Build Info:      iPhotoProject-4240000~8
    Code Type:       X86 (Native)
    Parent Process:  launchd [209]
    Date/Time:       2012-09-19 19:56:45.528 +0200
    OS Version:      Mac OS X 10.7.4 (11E53)
    Report Version:  9
    Sleep/Wake UUID: 7948ABE2-5294-4F87-B6E3-777095A2F2EE
    Interval Since Last Report:          4780 sec
    Crashes Since Last Report:           9
    Per-App Crashes Since Last Report:   9
    Anonymous UUID:                      70117D38-03EA-4F9C-B810-50B743864B9E
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/iLifeSlid eshow
      Referenced from: /Applications/iPhoto.app/Contents/MacOS/iPhoto
      Reason: image not found
    I've done an Apple Software Update but it didn't find an update for iPhoto.
    One thing to note is, this library was originally created on iLife 08, upgraded to '09 and it stayed on that version. It hasn't een upgraded to iLife '11.  It worked fine on my previous install of OSX Lion.  How do I recover the library without upgrading to '11 ?

  • Wipe a HD via Unix in Single User Mode?

    Is it possible to wipe a hard drive using diskutil or another method when booting up in Single User Mode? We routinely need to wipe drives and if possible, this would be the easiest.
    I suspect because the OS that boots in Single User Mode is on that same drive will make this impossible.
    Thanks in advance for your tips and comments,
    Doug

    Yes, you cannot erase an OS while it's 'hosting' the erasure. Single user mode is part of Mac OS X, so it's on the hard drive, not in the firmware or anything super-low-level like that. Oh well. So... you might be able to erase the vast majority of user, application, and even OS files, but it won't be complete and won't be 'as good as' a volume-format.
    A couple alternatives come to mind (sorry if you know all this. Not trying to be pedantic or patronizing, just making sure you know your options).
    We keep host computers around just for running wipes, backups, and diagnostics that cannot run from a drive holding the booted OS. You simply restart the to-be-wiped Mac holding the 't' key, connect it via firewire, and treat it as an external hard drive.
    You could also just boot from a Mac OS X install disc and wipe from the copy of Disk Utility included on the disc. Better yet, throw a +bona fide+ copy of OS X onto a pocket hard drive, boot the victim-Mac from that (hold option while it is first starting up), and wipe the internal HD normally, now that it's not in use. You could maybe even use single user mode in the booting OS, like you'd imagined, and format from there (I'm not sure that would be faster than letting it boot normally, though, as you might have to use "dd" or some other similar low-level wipe method, as I don't think the frameworks required for Apple's cli "diskutil" are available in single user mode).
    I haven't tried to use it on a Mac, but I have a 256 MB USB flash drive with, er, ['Darn' Small Linux|http://tinyurl.com/5md7t] on it for diagnosing Windows boxes. It runs a script on boot which, if you don't intervene to run utilities or what-have-you, will wipe all attached hard drives and shut down. I keep it locked up for understandable reasons, but its super useful just as a time-saver, booting most machines and beginning the countdown-to-wipe in under ten seconds.
    Anyway, let us know what your goals and thoughts are.
    Cheers, Joel

  • Single-User Mode Copying Files/System Does not Boot Past Apple Logo Screen

    I have a Macbook 2.0GHZ, 2GB RAM, that recently tried to download a secuirty and keynot update. Following the download the system will no longer boot past the Apple Logo Screen with the spinning wheel. I do not have access to a OS disk yet or to a firewire cable either. I've have seen posts from others that describe how to use traget disk mode to reinstall the secuirty update manually and then they can boot their computer. Safe mode will not work. I did boot into single-user mode and run the disk utility there and it says my HD is OK. Since I do not have a firewire or an OS Disk, I am wondering if there is a way to copy those files i need to a USB pen stick then install them onto the computer via single-user mode, considering this is the only way I can boot and manipulate the machine at this time. If this is not possible please let me know so I can find a way to scrounge up a firewire cable or disk. Thank you in advance for any assistance.
    Ted K

    Thanks to Limnos and BDAqua I know you guys have helped others with these kind of problems from the other posts I read. I just want to list what I did exactly in case anyone wants to try to do this with a usb drive or does not have access to a boot disk or firewire cable.
    1: Install security update on a pen drive
    2: Boot in single user mode, CMD-S on startup
    3: /sbin/mount -uw /
    4: mkdir /Volumes/usb (usb can be any name, name of usb drive or anything you want)
    5: ls /dev (you need to get the drive listing for the usb drive to mount it appropriately, it should be disk#s# but this is close to what the HD and Cd drives are listed as so you may need to list once before you put the usb stick in and once ater. I had issues inserting the usb drive in single-user mode and it would freeze up the root drive)
    6: /sbin/mount_msdos /dev/disk1s1 /Volumes/usb (this mounts the usb drive, i had to use msdos because of how my usb drive was formatted, you may need to check your usb drive format, hfs is the apple format for usb drives but it did not work for me)
    7: cp /Volumes/usb/SecUpd2009-001Intel.dmg (this copies the files from the usb drive to the root drivel, at this point you no longer need the usb drive)
    8: hdiutil mount /SecUpd2009-001Intel.dmg (this mounts the disk image)
    9: cd /Volumes/"Security Update 2009-001" (after i mounted the image this is how it appeared in the Volumes directory, you might need to do ls /Volumes to get the name, the quotes are important to get the whole file directory changed)
    10: installer -pkg SecUpd2009-001Intel.pkg -target / (this installs the acutal update, i used the SecUpd2009-001Intel.pkg and it worked though I think you might be able to use "Security Update 2009-001" with quotes as well.)
    11: reboot
    i hope this helps anyone looking to do this. Thanks again to those who helpes and all the other posts that had information that helped me identify and then fix my issue! I still love my mac.

  • Single User Mode: Searching for root...

    My 2 year old unplugged my PowerMac iMac G5 (single) and now it won't start up.
    I was finally able to boot up off of Disk Warrior and replace the directory, but it won't start up past the gray Apple screen. The fan comes on after about 45 seconds and blows hard. Then, I get the circle with a line through it, in gray. I've never seen that on a mac.. the international "no" sign.
    When trying to start up in Single User Mode, I get a long list of stuff either disabled, not found, missing etc and then it starts writing to the screen every 30 seconds a line like:
    Still searching for root.
    I've tried pulling the back off, resetting the SMU, starting up in Safe Mode, etc.
    This has happened with storms before and I can usually get it back.
    I don't have original install discs.

    When you say you have "OSX" but not the "original install disks" do you mean the mac originally came with an earlier version and you don't have those disks, but you have a retail copy of Tiger?
    The circle with the slash means that Open Firmware cannot find BootX. Basically, I think this means that Open Firmware recognises the startup volume as such but cannot hand control to the operating system at all. BootX is what it uses to get the operating system going. Without this, as you've seen, you cannot make even single-user mode.
    What is SMU?
    *Is your data backed up? If not, prioritise that unless you can afford to loose it.*
    Does DiskWarrior repair permissions? If not and you have the Tiger retail version, try running Disk Utility to do that. I don't think this will help, but it won't hurt.
    Do you have another Mac? If so and you have the retail Tiger, you might be able to use Pacifist to replace BootX (in /System/Library/CoreServices). Alternatively, if the other Mac is running the same version of the OS and is also a PPC Mac, you could try copying the file from that machine.
    Before you do any of this (with the exception of the permissions repair), try to backup any data you need if that's at all possible.
    - cfr

  • Getting Data Off Harddrive in Single User Mode

    When my PowerBook G4 running 10.3.9 boots after the white apple screen I just get a blue screen and my mouse. I am able to boot into single user mode and get to the data on my harddrive. My other computer at home is a linux box so if I could just get the network going in single user mode I could ssh all of my stuff to the other machine. Is there any way to do this. Is there any other good way to recover my data?

    Hi dsignoff,
       This is likely to be more difficult than it sounds. If the problem isn't a failed hard drive, you might have an easier time simply doing an archive-and-install. Of course any installation except a fresh install will preserve your home directory but an "update" installation stands a reasonable chance of not fixing the problem.
       Even if you do succeed in moving everything to the linux box, you will likely lose the resource forks and file metadata of the files.
       Of course even if you do try an archive-and-install, it never hurts to have some backup. I'm a bit rusty with Panther but I believe that it requires the following as a first step:
    /usr/libexec/registermach_bootstrapservers /etc/mach_init.d
    That actually starts quite a bit of the system, possibly including the part that is causing Aqua to fail to start up. (meaning that it too could fail) However, if the above command succeeds, the next step is to execute:
    /sbin/SystemStarter start Network
    You may also need:
    /sbin/SystemStarter start NetworkExtensions
    If all of that works, you should have enough services available to ssh to the Linux box and move files. Of course there is a chance that if you find the error messages of the process that is failing in the /var/log/system.log, we could actually recommend a fix for the system.
    Gary
    ~~~~
       "The wages of sin are death; but after they're
       done taking out taxes, it's just a tired feeling:"

  • IMac G5 only starts up in Single-User Mode

    I am using an iMac G5 with the lastest version of Tiger.
    I was trying to make a my.cnf file for MySQL for it to start logging queries, however was having some trouble doing so. After restarting MySQL a few times it would not start up any more, so I tried restarting the computer.
    After doing this Personal Web Sharing (httpd) would say that it was running although would not serve pages. So I tried restarting httpd which got it running properly, however I still had the same problem with MySQL, where it would not start running (the Preference pane would not respond when clicking "Start".)
    So I tried restarting again. Now my iMac will only boot into single-user mode.
    I read somewhere about modifying the boot-args, however have not had a chance to try it yet. I don't see why this would do anything however, as I'm not sure why that would have been changed in the first place?
    Has anyone heard of a similar instance, which is possibly related to MySQL?
    Thank you in advance for any help.
    - Jeff
    G5 iMac   Mac OS X (10.4.7)  

    I solved this. I was able to boot up in verbose mode and note that a certain missing file '/etc/hostconfig' was mysteriously missing and causing an error at the boot-up. I was able to boot this mac up in Target Disk mode and copy the file into the /etc/ directory from a backup through another Mac and now it's working fine, thank G-d!
    - Jeff

  • Unable to start up in "Single User Mode."

    I am on an Intel Mac Pro. I can't seem to start up in the Single User Mode.
    I hold down the Command and S keys during startup, but always get to my regular screen, logged in to my account. I changed the login options from automatic to off, but the same thing still happens. Any help would be appreciated.

    Hi
    Have you possibly set yourself a firmware password? Further instructions here:
    http://support.apple.com/kb/ht1352
    Tony

  • MBP starts up in Single User Mode by default..

    I restarted the machine because the trackpad was acting up. After file vault reclaimed unused disk space, the computer restarted with a black screen with "localhost :/ root#" in the upper left screen. I know very little unix so please forgive my lack of lingo.
    How can I possibly get back to the graphical multi user login? I have tried to restart in safe mode and from the install dvd but they just bring me back to the "localhost :/ root#" black screen. I have also restarted holding down the option key to select a drive, which I set to my drive name, and same thing-- Apple logo on a grey screen, spinning gear, then black screen localhost :/ root#. Only thing I havent tried that im aware of is target mode, but my other computer (Rev A. iMac) which is the machine I am writng this from is on OS 9 with no fire wire and just a 4g drive.
    So I need some advice if you have any. Hardware appears fine save for the trackpad and button being touchy. Apple has already replaced my swelling battery. They told me the new mbp's have a barrier between the the battery and trackpad assembly, (a prior neglected, inherent design flaw).
    I do have a new USB external hd. Is there any way to login my home folder and completely copy the home folder contents to it in single user mode? If I could do this, I would at least be able to keep my itunes librarys, playlists, keychain data, mail, etc.. Thanks in advance for any help any of you may have

    Ok, I did the dmesg command at the prompt. Here is word for word what it spit out:
    localhost:/ root# dmesg
    hi mem tramps at 0xffe00000
    PRE enabled
    standard timeslicing quantum 10000 us
    vmpagebootstrap:513016 free pages
    migtable_maxdispl = 71
    Enabling XMM register save/restore and SSE/SSE2 opcodes
    96 prelinked modules
    ACPI CA 20060421
    AppleIntelCPUPowerManagement: ready
    AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
    AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
    Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of The University of California. All Rights Reserved.
    using 10485 buffer headers and 4096 cluster IO buffer headers
    Enabling XMM register save/restore and SSE/SSE2 opcodes
    Started CPU 01
    IOAPIC: Version 0x20 Vectors 64:87
    ACPI: System State [S0 S3 S4 S5] (S3)
    Security auditing service present
    BSM Auditing Present
    disabled
    rooting via boot-uuid from /chosen: 00001B5D-7D26-0000-2F5D-000090200000
    Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    USB caused wake event (EHCI)
    FireWire (OHCI) Lucent ID 5811 PCI now active, GUID 0016cbfffe523440; max speed s400.
    Got boot device =IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleAHCI/PRT 2@2/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDr iver/ST9100824AS Media/IOGUIDPartitionScheme/Customer02
    BSD root: disk0s2, major 14, minor 2
    CSRHIDTransitionDriver::probe:
    CSRHIDTransitionDriver::start before command
    CSRHIDTransitionDriver::stop
    IOBluetoothHCIController::start Idle Timer Stopped
    disk0s2: 0xe0030005 (UNDEFINED).
    localhost:/ root#
    A couple of things to note:
    1. I did have an external bootable drive, which does work properly when selected as the Startup Disk, but still registers when not plugged in the machine.
    2 File Vault is turned on. And let me tell you. If you ever use more than half your drive space, as most people do, you will have a humbling experience. File Vault is overkill. I am angry that Apple could not come up with a "fail-safe" for legitimate, password bearing rightful owners.
    I just want one chance to get in my home folder to get what I want (my music, photos, mail, passwords, widgets, etc.)

  • Backupping from single-user mode

    I am currently only able to use the single-user mode, and am looking for possibilities to take some backup of certain files before I venture reinstalling or something.
    Is it possible to write to disk from S-U mode? How?
    Can I do it in another way, e.g. create a new partition? How?
    I need to be enlightened

    Yes, I used the install CD. Verification said my disk was OK. There were some inconsistencies with permissions, so I repaired those, but my problem still persists (se thread "Authentication error???"), so I am still interested in backupping before I try Archive & install or something.

  • Macbook shuts off during start-up - can't get through safe-mode, single user mode (fsck -fy) and target-drive shows no problems when running disk utility repair

    Hi everyone,
    I'm simply all out of ideas on what to do - my best guess is the problem is not specifically hard-drive related since all the 'normal' fixes just won't work.
    What could be the cause of my issue? The only way i've managed to keep the Macbook Pro on for longer than a minute is through target drive, where it seems to work just fine - i can access everything. To sum up everything:
    1 - I tried resetting the PRAM
    2 - I tried to go in to safe mode, it shut off before i could type the password
    3 - I tried fsck -fy command from single user mode, sometimes i can get to actually typing it but mostly it shuts off before
    4 - I tried to repair disk via target drive - success, no problems detected (and it didnt fix my issue)
    5 - I reinstalled OS Mavericks.
    The Macbook Pro previously had some problems with the power-button not working properly (a mac-cunning friend of mine had to open up the mac and start it by swiping to metal pins on a specific (battery/power?) part inside it. The problem kinda went away afterwards but it might be related to this?
    This is way off my comfort zone of 'diagnosing' issues, so I'm crossing fingers for some good advice.
    Thanks,
    Aske
    Denmark

    I think you're right.
    If it's hardware related, is it possible to guess at what it might be? It would be nice to know how much I should expect to pay for a repair before actually getting it fixed.

  • Yosemite only boots in single user mode?!

    Hello everyone,
    for a few weeks now I've had issues with unresponsive wakes and whatnot but now it seems my machine has detiorated within a short walk home.
    First off my specs:
    MBP 13" mid 2012
    Core i5 2,5Ghz, Intel HD4000
    2x 4gb Ram 1600MHz
    Samsung 840 Evo 120Gb SSD
    As I said, within 20 minutes of carrying the laptop around the performance deteriorated drastically. When I opened it up back home it was incredibly slow and unresponsive. Opening Applications or even just folders takes about 30-60 seconds. Same applies for using the brightness controls for screen and keyboard, or the volume buttons. After some 15 minutes the System will completely stop to react to startup attempts of applications.
    I tried the following troubleshoots while searching the forums as I understand this is a common problem in Yosemite:
    - boot in safe mode ( worked once, but with the same problems of unresponsiveness, after a second try booting hangs at the usual 50%)
    - reset SMC
    - reset NVRAM ( PRAM?)
    - try to repair the disk via disk recovery ( cmd + r)( repair failed and Volume vanished from the list - after that only internet recovery was available) ( also of note: today I brought my SSD up to its limit by installing unreal engine 4. I deleted it expecting to see an improvement, which I didn't get. Still, after deinstalling it the Volume showed a 99% utilization in disk recovery)
    - starting single user mode and this is interesting. First it shows the following without any input:
    Warning: Couldn't block sleep during cache update
    Warning: Proceeding without DlskArb
    rebuilding .../Caches/com.apple.kext.caches/Startup/kernelcache
    pci pause: SDXC
    IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
    IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
    IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
    IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
    IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
    kext file:///System/Library/Extensions/JMlcromATA.kext/ is in hash exception list, allowing to load
    Child process / user/sbin/kextcache[6] exited due to signal 11.
    Error 107 rebuilding /System/Library/Caches/com.apple.kext.cashes/Startup/kernelcache
    then it proceeds to boot into the same unresponsive mess as before.
    - In the finder I tried to repair disk permissions and again the volume itself to no avail.
    I really have no idea what to do about it at this point. I can recreate this scenario and reliably boot this way but the system is painfully slow and impossible to work with. Sorry to bring up this topic again since there have been so many posts on similar problems but none of the aforementioned solutions worked for me.

    Please do the following:
    Install or Reinstall OS X from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
          the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
               because it is three times faster than wireless.
    This should install the version of OS X that you had installed.

  • Won't boot normally or in recovery and single user mode, safe mode hangs up halfway

    iMac locked up with visual glitches while playing the Mac beta client of League of Legends. Had to force a shutdown by holding the power button. Now it won't boot; after the Apple logo and spinning wheel I just get a white screen. I tried launching in recovery mode, that didn't work. Then I tried safe mode; the bar filled a little over half and then nothing but white screen. I was able to boot single user mode once; ran fsck -fy and rebooted, still white screen. Now I can't get back to single user mode. I booted with command option P R to reset the NVRAM and got the second chime, but still nothing.
    Luckily all my important files are in the cloud, but I'm really hoping my computer isn't completely dead. I haven't had any issues in the past. I've even been playing LoL for over a month with no issues, until now when I tried to play the newer game types, Dominion and ARAM; both caused visual glitches forcing shutdowns. I was able to restart my computer with no problem after the first two visual glitches, but after the last one I am stuck at the white screen as I described above.
    Thanks in advance for your help!

    I'd bet the drive is damaged. You could try reformatting if possible. Again, you are booting from the Recovery-10.8.2 disk if you can. If you can't, then you will need to use the installer disc that came with the computer.
    Install or Reinstall Lion/Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
            the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • How to Restore from Time Machine in Single-user mode?

    Hi there, I am trying to fix a Macbook Pro that has had its /private folder trashed and emptied. Obviously it won't boot unless you you boot in to Single User mode and I'm wondering if its possible to do a Time Machine restore from the terminal, I would need the 2nd more recent Time Machine image which is sitting on a Firewire HDD.
    I was going to just see if I could find the orignal OSX install disk and just do a fresh install of the OS which I don't mind doing (since everything important is backed up in Dropbox), but I can't seem to find the CD anywhere nearby, so the Time Machine option would be much preferred.
    Any help would be greatly appreciated.

    Not sure if this is related enough, but I just wrestled trying to restore from time machine too, trying to reinstall 10.5.8 after putting a new HD in my MBP, 2006 vintage.
    That took sooooo long to get back to where I was before swapping disks; what did the trick was ordering a free copy of Snow Leopard install disk (free due to Apple trying to push people from idisk to icloud) which was rushed FedEx (yay) and which allowed me to access Time Machine where my ancient original OSX install disk had not.
    And all it took was 2 weeks of cursing!

Maybe you are looking for