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)

Similar Messages

  • 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

  • I changed my wheel group properties to no access at top disk level.  I messed up, how can I change back in single user mode "command s" as I am now in Thailand and not able to access startup disks?

    I messed up, I changed my "Wheel group" properties to No Access ( or something other than the default) at the top level of my startup disk "Macintosh HD".   Now my computer won't start up, I just get the spinning wheel of death.    I also am in Thailand right now, so I cannot go to a Genius at an apple store, nor do I have startup disks available.
    So I was hoping there was a way to change back the properties of my disk (Volume) in single user mode (via Command +s) during startup, i.e. can I do a chmod command on the Macintosh HD listing under the Volume Directory.    Or where do i fix this?   Is it fixable without startup disks, etc...
    THANKS FOR ANY HELP!!!!
    If you could also please let me know you have an answer, I WOULD REALLY APPRECIATE IT!!! 
    thanks so much
    mark
    <Edited by Host>

    Thomas,
    Thanks for the info on command-R, didn't know about that!!!
    Yes I changed the sharing "Wheel Group" permissions on my hard drive via Get Info.    But that's all I did.    And then most of the apps wouldn't respond with anything.    So not knowing I did something stupid, I decided to re-boot, and then nothing but the Wheel of Death at startup.
    I was trying to limit access to my computer on this network, changed my public folder settings, and then I thought why not the whole hard drive, but at that time I had no idea what the "Wheel Group" was... so I shouldn't have touched it, BUT IT DID ...... argggggg....
    I managed to go to an internet cafe & research the problem yesterday.    I used the command +s single mode to get in, and then did the necessary steps to mount the drive so I could make changes.   I basically did this:
    Boot into single-user mode (boot while holding down CMD-S)
    Follow the on-screen instructions to mount the file system as read-write (a fsck command followed by a mount command)
    Type the following: "chmod o+r /" followed by "chmod o+x /"
    Type "exit" to leave single user mode and complete the boot sequence.
    I found it at this link http://forums.macrumors.com/showthread.php?t=416180
    It worked... thank God!!!   Well so far so good.   
    I was going to try my own fix by chmod on the Hard drive listed under Volumes directory, but that doesn't seem to match the info under Get Info Window.    So I just used the fix above.    I probably should now go and do "Disk Utility - repair permissions", however I am a little gun shy right now, so I will probably wait until I am back in the States so I can go to an Apple store if it messes up.   Right now I'm following the "if it ain't broke, don't fix it" MOTTO...
    So Thomas I just wanted to say THANKS for replying so quickly, and I really appreciate your help!!!
    (yes I know I shouldn't have used my email addresses, but I WAS DESPERATE, but that's still no excuse)
    Hopefully maybe this thread will help someone else out in the future....
    Okay, thanks again!
    Mark

  • Get out of single user mode? and get  into the "normal" screen?? pls help!

    Dear Everybody,
    I have removed 2 users from my imac (osx 10.7.4) to create more space and had my main user still on the system.
    after i restarted the system. a white screen came up? I had no idea what to do. After some checking i think i am in single user mode since there is only 1 user for the computer. PLEASE: how can I go from this white screen (single user) back to my normal log in so I can possible add 1 more user?
    I have no idea what to do so pls help
    Thanks

    Dear Holden, Sorry for yesterday but my internet went dead (i'm in thailand)
    thanks for all the suggestions but nothing works?
    I keep getting a bright white screen after the apple logo grey screen.
    I tried resetting the NVRAM or PRAM, i tried safe mode, i tried single user cmd and fsck -fy  etc etc  i keep getting the same end result a bright white screen
    is there anybody who might know what to do?
    MANY THANKS IN ADVANCE! I need a fast solution since i need my files urgently for work.

  • How do change boot disk from single user mode?

    My G5 hangs when booting at the blue screen while "Loading printing services...". Attempting to boot into safe mode only hangs at the grey gear screen. It will, however, successfully boot into single user mode. I've run fsck but no change in bootability. I have another disk in the machine that has Tiger on it. How do I change the boot disk from the single user prompt?

    You can hold c and boot off the installer disk and select disk utility repair disk/permissions
    or you can hold option to boot off Mac OS X on another drive, like a clone and run Data Rescue to recvoer your files.
    It does sound bad, you can try going through these
    http://docs.info.apple.com/article.html?artnum=106464
    But I think you'll need a fresh install, hopefully you have been backing up/cloning to a external drive.
    http://homepage.mac.com/hogfish/Personal11.html

  • How format the hard disk in single-user mode

    Hi all, i would like to format the internal hard disk of my macbook pro 13'' through single-user mode. How can I do it, please?

    Ok, to do that you need to hold c and boot off the 10.6 installer disk and second screen in under the Utilities Menu is Disk Utility.
    You can then select the hard drive makers name (your "bare metal") and peform the wipe/format of the entire drive or a "partition" on that drive.
    In the picture below there is only one partition, the Mac HD. In the picture above there are two partitions which both would show up under the hard drive makers name and both or either partition can be wiped in Disk Utility.
    Use the Security Option to Zero your hard drive of all lingering data.
    When you Quit Disk utiltiy, your back in the installer and can quit or install OS X.
    Note: messing with Disk utility will erase all data on the drive, if there is something you need to recover better stop and ask!
    If you don't see your internal boot drive in Disk Utility, the drive is dead.

  • How to reset admin password in single user mode

    How do I reset and admin password in single user mode. All the posts I have read so far dont work. I tried adding a new admin password as posted on the forums by deleting setup so it will setup like it was first time setup but that didnt work . Any suggestions would be appreciated.
    The account now only has the standard user account as admin. Admin account I deleted in trying to fix this problem.

    1 - Does it boot into Leopard?
    2 - Does it have any important data on it that is not backed up elsewhere?
    It it boots into Leopard you could continue using it and hope that you find your Leopard install disks later or discover some other way to overcome the lost password.
    If it is fully backed up or has no important data on it you could install Tiger.

  • How to connect to internet in single user mode

    I've got some startup problem and would like to connect to the internet in single user more for downloading patch. Can anyone help me? Thanks.

    To start up in single user mode press command-s during start up.

  • Dont know the admin password, cant get into single user mode

    I have recently bought a PowerMac G4 with a dual core 1.25GhZ processor on a car boot. I do not know the admin password, and i cant get in to single user mode. What to do?! Seems like it has Open Firmware Password Protection, what ever that is, and i have the discs and tried disabling it, but to do that you need the admin password. It's and endless loop! Help me please, i have no idea what to do now...

    Disabling the Open Firmware Password
    Open Firmware password protection can be bypassed if the user changes the physical memory configuration of the machine and then resets the PRAM three times (by holding down Command, Option, P, and R keys during system startup). 
    An Open Firmware password will provide some protection, however, it can be reset if a user has physical access to the machine and can change the physical memory configuration of the machine.
    Mac OS X
    Security Configuration
    For Version 10.4 or Later
    Second Edition

  • Scrolling in single user mode

    how can i scroll windows in single user mode?

    Hi, if we're talking about the Single User Mode, there is no Window at all, it's like the old dumb Terminals...
    But you can read a log to possibly see some stuff that was logged...
    tail   - Print the last few entries in a log (or other text file). Useful to find out what happened to get you into this mess.
    Examples:
    tail /var/log/system.log
    print the last screenful of entries from the main system log.
    tail -1000 /var/log/system.log | more
    print the last 1000 entries from the main system log, using more to display them one screenful at a time (remember: in single-user mode, there's no way to scroll back like you can in a terminal window).
    http://www.westwind.com/reference/OS-X/commandline/single-user.html

  • Single user mode session lost after backgound processes jump in

    We have an application running on SQL server. This application restores DB very frequently using Single user mode. Following are the SQLs that are executed to restore the database in single user mode and to get the database back in multi user mode.
    alter database [test-db] set single_user with rollback immediate; --This sql is run using test-db
    use master;restore database [test-db] from database_snapshot = 'snapshot_test-db';
    alter database [test-db] set multi_user;
    After switching the test-db to single user mode some 4-5 background processes of Taskmanager jump in for the test-db kicking off the session that application has taken over in single user mode . These background process are deadlocked between them selves.
    Please refer to the output of sp_who2 below at link.
    http://social.microsoft.com/Forums/getfile/200625
    and following is the deadlock XML.
    NOTE: SPIDs in deadlock XML may differ from the output of sp_who2 as spids keeps on changing for these processes.
    <deadlock-list>
    <deadlock victim="process4bbfc78">
    <process-list>
    <process id="process4bbfc78" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="705" schedulerid="1" kpid="1648" status="background" spid="22" sbid="0" ecid="0" priority="0" trancount="0">
    <executionStack/>
    <inputbuf>
    </inputbuf>
    </process>
    <process id="process6d44388" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="419" schedulerid="1" kpid="5796" status="background" spid="30" sbid="0" ecid="0" priority="0" trancount="0">
    <executionStack/>
    <inputbuf>
    </inputbuf>
    </process>
    <process id="process6d44718" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="109" schedulerid="1" kpid="3908" status="background" spid="16" sbid="0" ecid="0" priority="0" trancount="0">
    <executionStack/>
    <inputbuf>
    </inputbuf>
    </process>
    <process id="process4bbee38" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="313" schedulerid="1" kpid="2656" status="background" spid="15" sbid="0" ecid="0" priority="0" trancount="0">
    <executionStack/>
    <inputbuf>
    </inputbuf>
    </process>
    </process-list>
    <resource-list>
    <databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
    <owner-list>
    <owner id="process6d44718" mode="S"/>
    <owner id="process4bbee38" mode="S"/>
    </owner-list>
    <waiter-list>
    <waiter id="process4bbfc78" mode="X" requestType="wait"/>
    </waiter-list>
    </databaselock>
    <databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
    <owner-list>
    <owner id="process4bbfc78" mode="S"/>
    </owner-list>
    <waiter-list>
    <waiter id="process6d44388" mode="X" requestType="wait"/>
    </waiter-list>
    </databaselock>
    <databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
    <owner-list>
    <owner id="process4bbfc78" mode="S"/>
    </owner-list>
    <waiter-list>
    <waiter id="process6d44718" mode="X" requestType="wait"/>
    </waiter-list>
    </databaselock>
    <databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
    <owner-list>
    <owner id="process4bbfc78" mode="S"/>
    </owner-list>
    <waiter-list>
    <waiter id="process4bbee38" mode="X" requestType="wait"/>
    </waiter-list>
    </databaselock>
    </resource-list>
    </deadlock>
    </deadlock-list>
    On searching for this problem I found out that people have faced similar problem but I was unable to find out the root cause and debug steps for this problem. Stopping the SQL server is provided as a solution to kick out these background processes but this
    is not a feasible in our case as code to restore DB runs very frequently resulting in this problem at a good frequency.
    I also made sure that SQL Server Agent is not running. The SQL services running on server are SQL server, SQL Server Browser and SQL Server VSS Writer.
    Any help will be appreciated as this is a blocker problem.
    Thanks,

    Hi Amrita,
    We can open a transaction, make data modifications to generate a lot of transaction log, and then run ALTER DATABASE AppDB SET MULTI_USER in the same transaction. You can also refer to the following document:
    Getting out of single user mode:
    http://blogs.msdn.com/b/dfurman/archive/2012/01/20/getting-out-of-single-user-mode.aspx
    Allen Li
    TechNet Community Support

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

  • Can boot to disk in single user mode.  But not regular boot.

    I setup an alias called md-rootdisk for booting my Solaris 10 System on a V440.
    I tried to reboot using the alias md-rootdisk twice. It only worked once.
    The first attempt was to single user mode. The sytem booted but there was a krtld error.
    The Second attempt was a regular boot.
    I'm trying to figure out why the first attempt "worked" and the 2nd didn't.
    The details are below.
    First Boot_
    {1} ok boot -s md-rootdisk
    Boot device: /pci@1f,700000/scsi@2/disk@0,0:a File and args: -s md-rootdisk
    krtld: Unused kernel arguments: `md-rootdisk'.
    SunOS Release 5.10 Version Generic_120011-14 64-bit
    Second boot_
    {1} ok boot md-rootdisk
    Boot device: pci@1f,700000/scsi@2/disk@0,0:a File and args:
    Can't locate boot device
    {1} ok boot md-rootdisk

    If the disk is a normal disk, this will get you to single user mode:
    boot disk -s
    In the second case, it looks like there is something wrong with the device path aliased.

  • Single user mode: Argument List is too long, PLEASE HELP

    Hey guys,
    I recently posted a topic asking if any1 knew how to delete all png files on the desktop,
    Nt many people replied,
    But anyway, I did some research and now I know how to do it,
    but in single user mode (cmd + S),
    When I typed in rm *.png
    While I ws on the desktop in single user mode,
    It came up saying Argument list too long,
    Does any1 know how to fix this,
    Plz reply ASAP,
    &amp; if possible addme on Skype mark.davidson19, it wld b extremely helpful

    If there are too many files expanded via the *.png wildcard, then the argument list length maximum can be exceeded.  The last time I checked, Mac OS X had a 256K line length limitation. (AIX was 1M, Linux 128K, Solaris 1M, Windows 8K (Cygwin env) - your mileage may vary with each operating system release).
    If you have too many files to expand on the command line, then you can delete them in batches.  There are several ways to do this
    cd ~/Desktop
    rm [a-m]*.png
    rm [n-z]*.png
    rm [A-M]*.png
    rm [N-Z]*.png
    Or finer increments.
    You could use something like
    find ~/Desktop  '*.png' -print0 -depth 1 | xargs -0 rm
    And you can also use
    find ~/Desktop '*.png' -depth 1 -delete
    This being a Unix environment, there are most likely a dozen additional ways to delete all the .png files and avoid command line length limits.
    As MrHoffman says, using rm and wildcards is a very dangerous thing to do unless you really REALLY know what you are doing.  If not, I strongly suggest having a recent full backup handy.  I actually suggest a backup regardless of how good you are in the Unix environment (I have multiple via different backup utilities preformed on a very regular basis;  years of experience has taught me you cannot be too careful with your data - it is worth far more than the cost of backup equipment).

  • How to get to single user mode

    I aquired an old power mac G4 with an old account with 10.3.9 and an old administrator account.  It seems that procedures to remove the account start in Single user mode.  The computer won't start when holding down system - s.  The drive clicks a few times but the display goes to sleep from no video signal.  So How can I get to single user mode when the usual way don't work?

    The hard drive's directory may be dead, or it may have last been booted into Mac OS 9.  IF you are lucky, they did install Mac OS X on it, and that can be determined either through an Option key boot, or through an X key boot on a wired (not wireless) USB Apple compatible keyboard.   X key booting will only work if the X operating system is on the same partition, whereas Option key boot will reveal the Startup Manager, where you select the drive and hit the right pointing arrow for the drive partition that has Mac OS X.   Note this will not work on an original PCI PowerMac G4.   You may also need to replace the PRAM battery, a 1/2 AA 3.6V battery from Radio Shack before any boot sequence will work.  Once it boots into Mac OS X, Single User Mode should work.

Maybe you are looking for