Starting up networking in Single User Mode

I have been searching the web for how to start up networking in Single User Mode.
For Leopard 10.5 I found this:
http://bitaddict.blogspot.com/2009/06/networking-in-mac-osx-single-user-mode.htm l
+*III Start the network*+
+The following commands have been working on Mac OSX 10.5 (Leopard). If you have another version of OSX they might be different.+
+In order to get the network working we need to start the following four services+
+% launchctl load /System/Library/LaunchDaemons/com.apple.kextd.plist+
+% launchctl load /System/Library/LaunchDaemons/com.apple.notifyd.plist+
+% launchctl load /System/Library/LaunchDaemons/com.apple.configd.plist+
+% launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist+
For Tiger 10.4, I found this:
http://www.westwind.com/reference/OS-X/commandline/single-user.html
+*Starting daemons under 10.4:*+
+sh /etc/rc - Under version 10.4, the normal startup script can be run by hand, and it'll do the necessary work of getting the system (mostly) up and running, but not exit single-user mode or start the GUI.+
10.5 seems awfully complicated. Isn't there a simpler way to start up networking in Single User Mode in 10.5, like for 10.4 or even like how it was for 10.2?

sh /etc/rc
Should you have some problems with your Tiger machine, running this script will likely reveal them.
As for leopard, you could write a script to run these commands.
You do know that the up arrow does a command retrieval so that you can backspace and change the last portion of the command.
There is also the history command.
mac $ history
    8  /Users/mac/Documents/spotlight.rtf 
...clipped...
  502  h
  503  shopt
  504  h
  505  h
  506  settings
  507  history
mac $ !503
mac $ shopt
cdable_vars     off
cdspell         on
checkhash       off
...clipped...
# Allow editing of retrieved commands
  # Use the history command to show past commands and !10 to retrieve the 
  # tenth command
  shopt -s histverify

Similar Messages

  • Start SQL Server in single user mode with parameter -m doesn't work well

    C:\Windows\system32>net start mssqlserver /m "Microsoft SQL Server Management St
    udio - Query"
    The SQL Server (MSSQLSERVER) service is starting.
    The SQL Server (MSSQLSERVER) service was started successfully.
    C:\Windows\system32>sqlcmd -S . -e
    1> go
    1> select @@servername;
    2> go
    select @@servername;
    myserver
    (1 rows affected)
    1>
    As you can see, I'm still able to connect with sqlcmd prompt to SQL Server. According production doc of SQL Server 2014, it should not be conncting by sqlcmd. it shall only be connected by SSMS.
    below the original doc on msdn:
    Start SQL Server in Single-User Mode
    Provide Feedback
    Under certain circumstances, you may have to start an instance of SQL Server
    in single-user mode by using the startup option -m. For
    example, you may want to change server configuration options or recover a
    damaged master database or other system database. Both actions require starting
    an instance of SQL Server in single-user mode.
    Starting SQL Server in single-user mode enables any member of the computer's
    local Administrators group to connect to the instance of SQL Server as a member
    of the sysadmin fixed server role. For more information, see Connect to
    SQL Server When System Administrators Are Locked
    Out.
    When you start an instance of SQL Server in single-user mode, note the
    following:
    Only one user can connect to the server.
    The CHECKPOINT process is not executed. By default, it is executed
    automatically at startup.
    Note
    Stop the SQL Server Agent service before connecting to an instance of SQL
    Server in single-user mode; otherwise, the SQL Server Agent service uses the
    connection, thereby blocking it.
    When you start an instance of SQL Server in single-user mode, SQL Server
    Management Studio can connect to SQL Server. Object Explorer in Management
    Studio might fail because it requires more than one connection for some
    operations. To manage SQL Server in single-user mode, execute Transact-SQL
    statements by connecting only through the Query Editor in Management Studio, or
    use the
    sqlcmd utility.
    When you use the -m option with sqlcmd or
    Management Studio, you can limit the connections to a specified client
    application. For example, -m"sqlcmd" limits connections to a
    single connection and that connection must identify itself as the
    sqlcmd client program. Use this option when you are starting
    SQL Server in single-user mode and an unknown client application is taking the
    only available connection. To connect through the Query Editor in Management
    Studio, use -m"Microsoft SQL Server Management Studio - Query".
    Shawn

    Hi Shawn Xiao,
    For starting SQL Server instance in single user mode, we can add –m; parameter in SQL Server Configuration Manager, also we can run CMD with ‘Run as administrator’ and input the following statement.
    NET START MSSQLSERVER /m
    I do a test in SQL Server 2014 Express version, after starting SQL with Single User Mode, SQL Server will only accept one connection. If you connect to SQL Server with a user account, the following error will occur.
    Login failed for user ‘domain\username’. Reason: Server is in single user mode. Only one administrator can connect at this time.
    However, in your situation, you can connect to SQL Server and run T-SQL statement successfully, it can be due to connection with the administrator account in your sqlcmd.
    For more information, you can review the following article.
    http://zarez.net/?p=117
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How do I get networking in single user mode?

    My MBP won't boot OS X anymore (it tell's me I have to restart my pc). This happend after I redid my boot camp installation. Anyways disk utility/fsck won't repair the drive but I can still read the files...
    Now whenever I try safe boot or run sh /etc/rc the machine panics/restarts. However single user mode has an ftp client and I have enough storage on a networked ftp server. Question is how do I get ethernet going without running sh /etc/rc?

    Enter the following command into the Single User mode prompt:
    ifconfig en0 up
    Try using the FTP client after running the command. It assumes the connection used is the built-in Ethernet connection; use en1 for an AirPort connection or fw0 for a FireWire cable. The 0 is the number zero.
    (11785)

  • OSX will not start after reboot from single user mode

    Hello,
    Yesterday my iBook G4 was only starting in BASH mode. I've looked at discussions describing Kernel Panic and have followed the advice posted to the following post:
    http://discussions.apple.com/message.jspa?messageID=1553062#1553062
    When I reboot I get past the language setup and the boot progress screen/progress bar gets almost complete before going to a continuously stalling/reloading blue screen.
    When I try the command:
    rm /var/db/.AppleSetupDone
    described in one of the responses I get a 'No such file or directory' message
    I assume that as when I try:
    cd /System/Library/CoreServices/Setup\ Assistant.app/Contents/MacOS
    It returns '-rwxr-xr-x 1 root wheel 58912 16 Aug 21:10 Setup Assistant'
    it is the file that is missing.
    As the discussion thread I was following seemed to go off on a bunch of other tangents (and was completed), I am hoping somebody might have suggestions for my specific problem under this new discussion.

    Welcome To  Discussions Kongxyz!
    It will help if you first post some background info.
    "...only starting in BASH mode."
    Explain exactly what was happening, and what the screen displayed.
    Exactly which model iBook G4 is it?
    What is the Processor speed?
    What size is the Hard Drive, and how much space is available?
    How much RAM is installed, and is it original or added?
    Which version number of Panther 10.3.x is installed
    What peripherals do you have connected? A keyboard, mouse, printer, external drive or modem, router, etc?
    What happened between the last time the iBook started successfully, and when it didn't?
    Have you made any changes, like upgrading the system, updated or installed any applications or programs, etc?
    Have there been any unusual occurences, like freezes, crashes, power outages, etc?
    Are you able to startup from the system install disc to run Disk Repair?
    Have you run Repair Permissions?
    Instructions posted below.
    Is the Mac shutdown overnight, or does it run 24/7?
    Have you ever run any routine Maintenance procedures?
    THESE ARE THE STEPS FOR USING DISK UTILITY TO REPAIR YOUR HD
    1.Insert the System Install disk, Mac OS X CD-ROM disk, or Restore DVD disk, then restart the computer while holding the C key. Use the System disk, of the OS, that is currently installed.
    2.Once started up from CD or DVD, on the Menubar at the top of the screen, choose Disk Utility from the Installer contextual menu.
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from disc to access Disk Utility.
    3.Click the First Aid tab.
    4.Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5.Select your Mac OS X volume, if necessary.
    6.Click Repair. If DU reports errors it has fixed, re-run Repair Disk until no errors are reported.
    7.Repeat steps 5 & 6, but select the Hard Drive this time. It's usually the first listed with the manufacturer's model number. Make note of the S.M.A.R.T. status.
    8.When finished, select Quit Disk Utility from the Installer menu.
    9.Select Quit Installer from the Installer menu.
    10.In the resulting pop-up window, choose restart.
    11.After the computer has restarted, you can eject the CD.
    TO REPAIR PERMISSIONS ON THE STARTUP DISK
    1.Open Disk Utility, located in Applications/Utilities, and select the startup disk in the left column.
    2.Click First Aid.
    3.Click Verify Disk Permissions to test permissions or Repair Disk Permissions to test and repair permissions. (I never "Verify". Just run "Repair".)
    Rerun RP until the only messages reported, are listed here Spurious Permissions Errors Using: 10.3.x, authored by Michael Conniff.
    When "Repair Permissions" is complete. Quit "Disk Utility".
    ali b

  • 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

  • Start vm linux Guests in single-user mode

    Hi -
    I have OBIEE vm template installed and everything is OK, I forgot the roor password for this guest, (ovsroot) is not working I think I've changed it. One option is to start this guest in single-user mode, I tried but you can't see the console until the system is starting services which is a late phase to run linux single command on boot prompt. Please advice how can change my root password using single-user mode.
    thanks in advance
    Omar

    Omar M Sawalhah wrote:
    Sorry, but I am not sure I am getting this right, where should I add 'single console=xvc0', if you mean the guest, as I mentioned in my post I don't know the root password and I can't logon. please kindly if you can add more detailed steps.When you boot your guest using xm create -c vm.cfg, it will immediately connect you to the console of the guest. That will show you the GRUB boot menu. You then need to edit the kernel boot line exactly the same way you would a physical server. In order to boot into single-user mode, you need to add the parameter single to the boot line. Along with that parameter, you also need console=xvc0 so that the guest uses the connected console to show you the boot process and allows you access to the single-user shell. If you do not use this parameter, you'll need to determine the VNC port used by the guest and used VNC to connect to the console instead.

  • Extremely slow startup/"Error loading kernel" when single user mode is run

    My daughter's iMac has become very poorly responsive with a very slow startup time. It takes about 1 minute for the progress wheel to begin when I startup her machine. And then it takes another 2 1/2 to 3 minutes before the login screen appears. The computer runs very slowly with the spinning activity wheel occurring frequently. When I start it up in single user mode I get the following message on screen:
    efiboot loaded from device: Acp:(PNP0A03,0)/PC: (1F12)/SATA(0,0)/HD(Part 2, Sig56BF F8F1-9ADB-4101-BD3C-BFBC38AEED26)
    boot file path: \System\Library\CoreServices\boot.efi
    .Loading Kernal cache file 'System\Library\Caches
    com.apple.kext.caches\Startup\kernel cache_i386.AE149BE8'
    Read error 0x7
    Loading 'Mach Kernel'...
    Could not open file 'Mach kernel'
    Error loading kernel 'Mach_kernel' (0x9)
    Could some one tell me what this means? And better still, what do I need to do to fix it?
    Thanks.
    JOhn

    I can't picture what is doing this other than something missing or muxed, but perhaps it's time for a relatively painless Archive & Install, which gives you a new/old OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space and no Disk corruption, and is relatively quick & painless...
    http://docs.info.apple.com/article.html?artnum=107120
    Just be sure to select Preserve Users & Settings.

  • Can't start in single user mode, trying to fix blue screen startup

    Trying to fix my blue screen startup and I'm on the step to fix the Network Preferences and I'm suppoed to go into single user mode. It starts but then locks up. last line is: localhost:\ root# Anyone have an idea?

    Hi David.
    Sorry we haven't received any response yet. getting used to the new forum is occupying a lot of peoples time at present I fear. I've yelled a bit louder this time!
    In the mean time, have you already tried starting up in SAFE mode, rather than SU? http://docs.info.apple.com/article.html?artnum=107393 and following the other processes identified in http://docs.info.apple.com/article.html?artnum=106464
    If you have access to another firewire equipt Mac then you could also use Target disk mode (connect the two together with a firewire cable, then start up your own computer while holding down the t key. ) Your own HD would then appear on the desktop of the other computer as another HD, and you can then proceed to remove or shift the same .plist files (on your own HD) identified in point 4 or 5 of http://docs.info.apple.com/article.html?artnum=106464
    Cheers
    Rod

  • 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

  • MacBook randomly starting up in single-user mode

    Hi, for a few weeks now my MacBook's been starting up in single-user mode by itself, without me touching anything. The thing is, it only happens about half the time - otherwise it's booting up normally. I wiped my drive and reinstalled Lion, ran fsck and used disk utility several times, but it's still happening.
    Anyone got any idea of what could be the problem?
    Thanks.

    My friend, you are onto something Turning my keyboard on *after* startup for the last week and it hasn't happened once! Any idea why it's doing that? Thanks!

  • 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.)

  • Starting up in single-user mode problem

    I'm trying to start up in single user mode using the Apple article. I ran fsck and everything checked out fine but when I type /sbin/mount -uw / I just get another prompt(#). I want to restore defaults because the users pane is blank. Iv'e tried trashing prefs,ect with no change. I'm sure i'm typing it in correctly. Any suggestions wil be appreciated.
    iMac G5 1.8 17   Mac OS X (10.4.3)  

    I'm working with an iBook 600 OSX 10.4.3 that had a problem with a dialog box constantly coming up asking for the keychain password which had no password and you could just cancel out of it. I deleted some keychain user info and that's when the accounts pane became an empty window. So I'm going to use the Terminal to restore from defaults. I'm assuming that I won't loose any data doing this. It looks like my only option other than a wipe of the hard drive.
    iMac G5 1.8 17   Mac OS X (10.4.3)  

  • Powerbook -can't start up in single user mode or from CD-why?

    My daughter was gifted a Powerbook (15"). I've upgraded it to 10.5.8. It has enough speed, (1.67 Ghz), 2 gigs RAM- but it is a sticky little machine- it freezes a lot. Froze twice during the upgrade, froze once during login, Froze once while trying to do a software update, froze once while trying to get into the system preferences. It freezes pretty consistently after 15-30 minutes or so, no matter what it's doing -if a program is running or not. I tried downloading AppleJack to run a diagnostic. That requires starting up from single user mode. I tried to do that , but the machine just opens to the login screen. I also tried running TechTool from the CD, and the machine wouldn't start up from CD either. What should I try next?

    Try this one for some information.

  • 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.

  • Powerbook won't start, got message i don't understand in single-user mode

    PowerBook G4 Mac OS X (10.3.9)
    About a week ago my powerbook (purchased in Dec '03, running 10.3.9) froze while I was using it. I had to manually shut it off, and then it would not restart (got stuck on grey screen with gear). I was able to start it up again once in Safe Mode, at which point I downloaded and ran Macaroni. Upon reboot, it wouldn't start up at all, staying on the grey screen for 15-20 minutes before I gave up. Now, I've tried starting it in Single-user mode. At the command I typed "fsck -fy" and the following message was returned:
    "Singleuser boot -- fsck not done
    Root device is mounted read-only
    If you want to make modifications to files,
    run ' /sbin/fsck -y' first and then '/sbin/mount -uw /'
    localhost:/ root# "
    Does anyone have any idea what this means?
    I am expecting the worse, I made a bootable back up in august, but was hoping to get it to start at least once more so i could update that back up or email myself some files. The only other possibly relevant info is that when it froze last week it started making really really loud repetitive noises (as if the hard drive was stuck?). For a while there I was also hearing an odd humming noise whenever i plugged in the AC adapter.
    Well, any help would be truly appreciated.
    thanks in advance..
    PowerBook G4   Mac OS X (10.3.9)  

    The two observations may be related. It is possible that the power adapter has developed a fray or short, and is giving insufficient power for the hard drive to operate properly. Do you have another Mac you can connect the machine to via Target Disk Mode after getting a replacement power adapter?
    I would also get a copy of Prosoft Data Rescue and an external hard drive that is Firewire at least as big as the internal hard drive. That will give you a chance to recover information if it is at all reachable.
    If the directory is damaged Alsoft Disk Warrior may be able to repair it, but I'd only run that after determining Prosoft Data Rescue is unable to rescue any usable data.
    I would not attempt to run any norton utilities on it, and if you have in the past don't do it again, as Disk Doctor and Speed Disk have been known to damage Mac OS X more than fix it.

Maybe you are looking for

  • How to create and install a toolbar to a browser using java

    Hi all, Can any one guide me about how to create and install toolbar to a browser using java ?? please any one help me about this,i am not getting any idea about this.. Thanks and Regards Sandesh S

  • Ipod touch trying to get wireless with dsl verizon

    does anyone know how to get password or what password i would use to input into my ipod touch to access my dsl wireless router from verizon

  • UJD_TEST_PACKAGE - How to use variables in Answer Prompt

    Hello BPC gurus, I'm using report UJD_TEST_PACKAGE in order to schedule BPC packages inside BW process chains, as proposed by Pravin Datar in his bolg (/people/pravin.datar/blog/2009/08/28/automate-execution-of-any-data-manager-package). This solutio

  • I can't upgrade my forms central account

    Every time I go to upgrade there's no options to upgrade so I can have more than 50 responses, how do I get more than 50 responses then? There's no upgrade or buy functions, just information, not even price or anything, it just takes me here.. Quickl

  • Captivate 3 Not Responding

    I have created a couple projects in Captivate 3 and published these projects as an SWF file. After viewing the published project, I may notice an error I made with information or something and need to make changes. I've deleted the SWF file that I pu