Bypassing Setup assistant and Install assistant

I am trying to do a command line / automated installation of Lion. I would like to know how to restore InstallESD.dmg or OSInstall.mpkg to  a blank partition without the  Install assistant.  I would also like to know how to bypass the setup assistant after reboot.

I am willing to use Single-User mode for creating the first user account.  However, before I can even get there, I am unable to bypass the Install Assistant (where it asks for the volume for the OS and agreement).  I want to have this entire process automated, starting from the InstallLion.app in the Applications folder, ending with a brand new bootable OS.  This is all to be done on a Mac Book Pro.
I tried -
1. asr restore --source InstallESD.dmg --target /Volumes/<target> - But this creates the equivalent of a bootable DVD.
Also tried -
2. installer --pkg OSInstall.mpkg --target /Volumes/<target> - This gives "There is nothing to be installed"
Thirdly, I tried
3. asr restore --source BaseSystem.dmg --target  /Volumes/<target> and copied kernelcache, boot.efi and mach_kernel to /Volumes/<target> and added
<key> Kernel Cache <\key>
<string>\kernelcache<\string> to
/Volumes/<target>/Library/Preferences/SystemConfiguration/com.apple.Boot.plist
All of the above bring up Install Assistant. What I want to see is a bootable volume with a brand new, usable OS(Lion) on it.
Any help on this with be deeply appreciated.

Similar Messages

  • How do I bypass setup assistant?

    When I recently re-installed my OS, I migrated (by hand) my iTunes library into the proper place before running iTunes for the first time. I then hit cancel when the iTunes Setup Assistant came up. I believe I have done this previously without problems.
    However, this time I get the setup assistant every time I launch iTunes. If I hit cancel, all is fine - my files and settings are all there that had been migrated. But the setup assistant keeps coming back...
    Is there a way to let it know I don't need it?

    I don't now how to switch that off, but have you tried just letting it do what it wants?
    Answer no to all the questions and it should not come back the next time you run iTunes.
    Hope this helps.
    M
    17' iMac fp 800 MHz 768 MB RAM   Mac OS X (10.3.9)   Several ext. HD (backup and data)

  • Setup Raid and installing Windows Vista - P965 Neo-f

    I hope someone can help....
    I bought this motherboard along with all the other items required to build a new system as follows:
    MSI P965 Neo-f motherboard (Bios v1.5)
    Intel Core 2 Duo E6600
    2gb (2 x 1gb) OCZ PC-6400 (800) Memory
    2 x 200gb Hitachi Hard Drives (to be run in Raid 0)
    Sony/Nec Optiarc DVD-Writer
    Liteon DVD-Rom
    Hiper 530w PSU
    Innovision 7300GT Graphics
    After battling for two days trying to get a DVD-Rom to work through the Jmicro (PATA) IDE interface (no other item connected) within Vista, I've finally sussed it 
    However, how do you get Raid 0 set up via the southbridge (ICH8)?
    I have built many PC's previously using various Raid formations, and none have been anything like this motherboard to set up (its like going back to day one on building PC's).
    The question is how? All other systems I have built allowed you to set SATA raid up in the Bios, then you would be presented with the setup utility whilst booting to allow you to set the Raid options.
    However, this motherboard doesn't want to play ball. There is very limited options within the bios, and nothing which will allow you to set SATA raid other than being able to set either IDE or Raid (which makes diddly squat to anything). All other Bios's I have used had many other options to enable various SATA settings including setting which channels I would like to use for RAID (all i seem to be able to do is either Enable or Disable stuff). None of this appears in this bios, so how do I go about setting the bios to enable SATA Raid, so that I'm able to access the Raid Utility at boot time (i think its CTRL-i to access it, which doesn't work on this machine) and set my striped disks? People on this forum have also mentioned ACHI, but even that doesn't appear in the Bios anywhere (although I won't be using it).
    Installing Vista is easy, but being microsoft its different. Theres no option for F6 anymore but you get the option to load drivers during the install. This no longer requires a floppy disk as per older versions as you are able to browse anything connected to your system (CD,DVD etc etc). The few times I have had to install Vista onto this machine I just pointed it to the MSI driver disk, the Intel folder and loaded the ICH8 Raid drivers and everything installed perfectly from there (am i doing this right?).
    BUT STILL NO RAID OPTIONS 
    Do I need to install the Intel Matrix Storage when I've installed Vista, as I've tried so many times without success (it keeps saying the system doesn't meet the requirements) that I've given up with that one but I don't no if I need it or not????
    Hope someone can help and come up with an idiots guide on setting up Raid on this motherboard, as I need to get this computer to its owner on Monday......
    Cheers

    Quote from: rushal on 27-May-07, 06:42:57
    Does anyone wanna buy a brand new P965 Neo-f (without raid?) 
    Why would I want a board without raid?   
    Add-on raid controllers vary in price.  This one is cheap: http://www.newegg.com/Product/Product.aspx?Item=N82E16815104219

  • If I backed up with a newer version of iOS than the phone I am trying to backup to.. Is there any way to bypass the setup assistant in order to download the new iOS on the new phone then go back and restore from my old phone?

    if I backed up with a newer version of iOS than the phone I am trying to backup to.. Is there any way to bypass the setup assistant in order to download the new iOS on the new phone then go back and restore from my old phone?

    Try deleting your last backup by turning off iCloud Backup in Settings>iCloud>Storage & Backup, then tap Manage Storage, swipe across your backup and tap Delete, then go back and turn iCloud Backup back on again.  If it still won't back up, you may have an app that is preventing the backup from succeeding.  To locate which one, go to Settings>iCloud>Storage & Backup>Manage Storage, tap the name of your device under Backups, under Backup Options tap Show All Apps, then turn them all to Off (including camera roll) and try backing up again.  If it succeeds, then the camera roll and/or one of your apps is preventing the backup and you'll have to located by process of elimination. Turn the camera roll On and try backing up again.  If it succeeds, turn some of your apps to On and try backing up again.  If it succeeds again, turn some more apps to On then try again; repeat this process until it fails.  Eventually you'll be able to locate the problem app and exclude it from your backup.

  • After installing lion the setup assistant crashed and i had to force quit. now i cannot open it. any tips?

    Ater installing Lion, the setup assistant froze and I had to force quit. Now I cannot open it. What can I do?

    See if the Recovery HD was installed.
    Hold ⌘R on Boot, and if it works, select Reinstall OS X Lion

  • Using Setup Assistant to migrate a 10.4.11 server to a new SL server, and have login panel before hardly anything has happened

    We have a 10.4.11 server, running on an antique 1.0GHz G4 Xserve.  We have purchased a mac mini server to replace it.  The Xserve only runs 3 services:  AFP, FTP and Open Directory (Master).  (We are considering reconfiguring the new server as an Open Directory replicate to another OD master on the network later.)
    I've RAIDed the two disks on the mini and reinstalled the OS.  It restarted, went through the language setup, put in the serial number, etc., and got to the "Transfer the information from an existing server" choice.  At that point, went and made a SuperDuper dmg of the 10.4.11 on a firewire drive.  When that was done, moved the firewire drive to the mini server, it appeared in the box as a choice for migrating from, selected it, and hit "continue."  It went through a couple of automatic screens with progress bars -- but it only took maybe 3-5 minutes, and then the machine rebooted.  It took nowhere NEAR long enough to have copied the data over -- the clone took nearly 3 hours to create, and it's running through a firewire 400. 
    So now the machine is sitting there, with the login panel up.  The firewire drive with the Xserve's image on it is still plugged in, and the blue light on the front of the drive is flashing like crazy.  What the heck?  I can't imagine that I should be logging in to the new server if it is in the middle of transferring data over!  Is it copying data?  If yes, how am I going to know when it's done?  If not, what the heck is it doing and what do I have to do to get it to copy the data over?

    Called Apple.  They said, "Oh, yeah, Setup Assistant doesn't actually work from 10.4 to 10.6"  (So WHY don't they fix it?  Why don't they take the manual off of the web site?)
    Moved on to Plan B.  Hooked the firewire drive to a G5 mac.  Stuck the 10.5 server disk into the G5, and upgraded the firwire drive to 10.5 server.  Booted off of it, changed the IP address and name, upgraded to 10.5.8, tested that our applications all worked.  Then hooked the firewire drive back up to the mini, ran through the 10.6 server initialization, and at the end selected the firewire drive as the "source" for “Transfer the information from an existing server”.  It went through the same as it did when it was at 10.4 -- did a few quick things and then rebooted and none of the data had transferred.
    Now we are at Plan C.  Booted the mini off of the server install disk, and tried to upgrade the firewire drive to 10.6.  Told us we can't because it needs to be GUID.  After saying a few appropriate obscenities, got another firewire drive, formatted it GUID and are now doing a copy from the upgraded-to-10.5 firewire drive to the formatted-GUID drive.
    Plan D is to upgrade the new drive to 10.6 server, try to boot the mini off of it, and if it works, use DiskUtility to copy it to the mini's internal RAID.

  • Can't get past setup assistant after installing leopard...

    i am having trouble getting past the setup assistant after installing leopard on my other computer which is a 1.25 ghz G4 desktop. Everything seems to be going fine then the setup assistant comes up and i go through the exercise of filling it out and at the end it says click on done and then you can use the computer. unfortunately it goes right back into the setup assistant like i had never gone there before. it is in some kind of loop. would it be wise to reinstall leopard? if so, does it know that it was installed already and rewrite over the first install? or is there something else i may try. i tried resetting the PRAM and some other things recommended but nothing seems to work. any help will be appreciated.
    thanks in advance...

    mr_magicman,
    I can imagine how frustrating this must be for you. It sounds like you went for the (default) Upgrade option.
    Okay, how about trying this:
    1. With the *OS X 10.5 Install Disk 1* still in the bay, Restart your computer. Without access to menus, you'll have to use the power switch to turn it off. +[Alternatively, if you do have access to menus, select the Restart command (in the Apple menu) — always the preferred method.]+
    2. If you're using the power switch method, here, wait about 10 - 15 seconds then depress the power switch again for about 5 full seconds (or until you hear the computer come back to life). +[Alternatively, if you had selected the Restart command in Step 1, the computer will start up again on its own.]+ *Either way, as the computer starts up, press and keep pressing, the Mouse until the disk ejects.* By the way, if you're using a Mighty Mouse with a left and right option, press down on the left side only. Hopefully this will get you out of the loop caused by your Install DVD remaining in the drive.
    Finally, to be fair to you, I must tell you that there's a more suitable Forum for your particular kind of problem, viz., *Installation and Setup* (http://discussions.apple.com/forum.jspa?forumID=1219) I recommend you check out the questions/answers in that Forum in case your question has already been asked and answered.
    PS. If you do re-post your question in that Forum, don't forget to mention whether or not you internal hard disk has been backed up.
    GOOD LUCK!
    Bill

  • Setup Assistant fails during file transfer and loops back to the beginnig

    I have a PPC G5 running 10.4.11 and just bought an Intel-based MacBook Pro. (I haven’t gotten it to fully start up yet, so I’m not sure about the OS.)
    I've tried to use the Setup Assistant to migrate my files and applications from my desktop to the laptop, but when I get to the Transfer Files option, the Users, Applications Folder, and Files and Folders options never finish calculating. Everytime I hit Transfer, a black-and-white wheel appears for less than a second then disappears, and Setup Assistant loops back to the beginning, where I get the multilingual welcome messages and bad music. Or, if I do nothing and wait for the Transfer Files step to calculate, Setup Assistant still just loops back to the beginning.
    I’ve tried the options for transferring from another Mac and from another volume. I’ve tried copying from the G5 in Target Disk Mode and tried copying from a cloned firewire hard drive. I’ve tried using the firewire 400 and 800 ports, different cables. I’ve run DiskWarrior on the G5 and the cloned disc to make sure no disc errors hung up the process. I tried booting into Safe Mode and following that protocol, though it seemed to address a different issue than the one I’m experiencing.
    Any ideas about what I can do? I’d rather do this in Setup Assistant than Migration Assistant, and I really don’t relish the idea of reinstalling all the software I have on the G5 onto the MacBook Pro. (Logic, for example, takes forever to install.)
    Let me know!

    Even if it's a demo, it's unlikely it's got 10.5 on it. Maybe 10.6. I've used the 10.6 SA from Leopard, which ran perfectly with no problems. As for MA, here's one way to go about it, if you can't finish with SA. (Thanks to MonkeyBoy at XYMer's)
    If you choose to use the migration assistant after installing SL to migrate settings over from Tiger, it'll copy over all your data intact from Tiger, as well as use the same account names & passwords.
    What I typically do is choose a dummy name during the installation, then use MA to import the "real" accounts from the old install. After I'm satisfied MA moved over the accounts properly (I've logged into them and used them for a few hours/days and generally feel satisfied with the lack of crashes and similarly "odd" events) then I delete the dummy account.

  • Basic Snow Leopard install with special customization:  setup assistant infinite loop problem.

    Hi, all,
    Based on this post: https://discussions.apple.com/thread/1395118?start=0&tstart=0, I'm assuming there's a problem with setup assistant running after a customization install reboot.  But I could be wrong.
    Here are the details:
    MacBook Pro
    Clean OS X Snow Leopard install (I was "told" by IT I had to wipe the disk and re-install OS X after backing up personal files).
    Installed extras I need/want (in particular, XCode, though I went ahead with the other optional software as well).
    Installed the IT supplied "Supplemental CompanyName Installation Disc" (also referred to as "CompanyName Supplemental Installation Disc" ), which is supposed to create a customized, IT supported, setup.
    When the supplemental install is done, the system is rebooted.
    There is then a "Welcome" screen (starscape, with almost endless bombardment of the word welcome in various languages), finally followed by:
    a) select language; b) select keyboard; c) select timezone; d) Don't forget to register your Mac, with a "done" button.
    Clicking the "done" button goes to a blank grey screen. and then loops back to redo the "Welcome/language/keyboard/done" sequence, ad nauseum (that is, infinitely repeated).
    Per the above mentioned post, I have rebooted to the Install DVD and run disk utility, repairing permissions.  No difference on reboot.
    Boot to safe mode goes to the same setup assistant sequence, not a login screen.
    Another Mac user here suggested checking for /var/db/.applesetupdone, since missing it, or if it's correupt, could cause this problem.
    So I booted to single user and checked for this file.  It is not there.  On the off chance the file is a simple flag and the content doesn't matter,
    I did fsck/remount and touch /var/db/.applesetupdone but this did not change anything either.
    Presumably, the file must be present and must contain some data.  If this is true, can it be created manually and put in place via single user mode?
    Or are there other, better solutions someone could suggest?
    Many thanks.
    Bob

    Ah, it seems I finally found something useful, at http://hintsforums.macworld.com/showthread.php?t=84825
    One of the responders supplied the content of their .applesetupdone file.
    I was able to get this onto my Mac, in /var/db, as .applesetupdone (just to be safe, I linked that name to .AppleSetupDone, the name as mentioned on the above site).  Note that both names begin with a dot (hidden, in UNIX parlance).
    On reboot I was presented with the CompanyName specific login screen.  It took a little bit more mucking around with passwords, but I was eventually able to login without any problem.
    Bob

  • Cisco Network Setup Assistant Unable to install the certificate on Android KitKat

    Greetings,
    I'm having issues with deploying the CA. Although the Cisco app fails, the user cert (but no CA) appears to install and is accessible during wifi setup. I am running the latest version of Cisco Network Setup Assistant 1.2.42. The phone is running Android KitKat 4.4.4, not rooted, running stock T-Mobile rom. I'm able to authenticate with the guest side, and get as far as Installing Certificates... Reference the screen shots attached. 
    Error message cisco Network Setup Assistant: "Unable to install the certificate. Exit the application and run it again to continue to the installation."
    I have ran the application several times, it keeps returning to this same message.
    After failure of the Cisco app, I noticed there is a certificate manager with CA cert and key, and than subsequently one new key continues to loop after until I cancel (also in screenshots).
    I have tried decryption, removing all security, and clearing credentials, yet the problem persists. Any help is appreciated. 

    Greetings,
    I'm having issues with deploying the CA. Although the Cisco app fails, the user cert (but no CA) appears to install and is accessible during wifi setup. I am running the latest version of Cisco Network Setup Assistant 1.2.42. The phone is running Android KitKat 4.4.4, not rooted, running stock T-Mobile rom. I'm able to authenticate with the guest side, and get as far as Installing Certificates... Reference the screen shots attached. 
    Error message cisco Network Setup Assistant: "Unable to install the certificate. Exit the application and run it again to continue to the installation."
    I have ran the application several times, it keeps returning to this same message.
    After failure of the Cisco app, I noticed there is a certificate manager with CA cert and key, and than subsequently one new key continues to loop after until I cancel (also in screenshots).
    I have tried decryption, removing all security, and clearing credentials, yet the problem persists. Any help is appreciated. 

  • Installing a d2 quadra but can't use the setup assistant because PowerPC Applications are no longer supported. Help...

    I'm tring to install a d2 quadra external drive but can't use the setup assistant because "PowerPC Applications are no longer supported". Anyone have any ideas?

    You shouldn't need to install anything just to use the drive. Just connect it to your Mac and it should mount. If it's the Intego Backup Assistant you're trying to install, try the latest version which you can download here:
    http://www.lacie.com/products/product.htm?id=10323
    Regards.

  • After Leopard install Mac OSX Setup Assistant is in a constant loop

    I have a friend who I persuaded to switch to mac a few years ago and he recently installed Leopard without much success on his second mac (it was fine on his macbook pro 2.13ghz), a Power PC G5 1.8ghz - 1.25 gb ram. When I had a look at it it appears to be stuck in Mac OSX Setup Assistant mode - i.e. when you put the info in and the Screen says "enjoy your computer" or whatever it just comes back to the same Setup page. (What's weird is can't get to the end unless it has an internet signal - wireless at his place and ethernet at mine)
    I'm guessing something went wrong during installation as when I restart with the Leopard disc in and hold "c" Leopard install launches but only shows drivers and some languages need to be installed. I copied all important files via target mode and it shows that the Computer is "10.5". I'm guessing the full installation was interrupted. There doesn't appear to be a way to do a complete re-install. I ran Tech-Tool and Disk Warrior to rebuild and verify permissions etc. No joy!
    I'd like to do a full re-install of Leopard but I can't. As I have all important info backed up I guess I might have to completely wipe the disc and install Leopard on the blank disc - should this be okay as I've never done that before?
    Any other suggestions appreciated.

    If I press go back ...it just goes back to the Welcome screen.
    I should mention that if I try and select anything that needs to be opened in a window from the Apple menu nothing opens up. For example if I choose System Preferences it will show System Preferences in the top menu but no window will open.

  • Mac boots to console, AuthorizationRef, Setup Assistant and IFCStart

    Hello!
    My mac suddenly booted into console only.
    The system.log stated 'AuthorizationRef doesn't have a username' and 'ifcstart crashed'.
    After reading related posts I renamed local.nidb to local.nidb.bad, to no avail.
    The mac just hangs with a blue screen.
    system.log states:
    (Login.m:1867) Failed to launch /System/Library/CoreServices/Setup Assistant.app/Contents/MacOS/Setup Assistant (error 5)
    crashdump(137): ifcstart crashed
    crashdump(142): crash report written to: /Library/Logs/CrashReporter/ifcstart.crash.log
    SystemStarter[68): IFC (135) did not complete successfully
    crashdump(142): Finder crashed
    SystemStarter(68): The following StartupItems failed to properly start:
    SystemStarter(68): /System/Library/StartupItems/IFCStart
    SystemStarter(68): - executen of Startup script failed
    crashdump(142): crash report written to: /Library/Logs/CrashReporter/Finder.crash.log
    ifcstart.crash.log:
    Command: ifcstart
    Path: /usr/libexec/ifcstart
    Link (dyld) error:
    Library not loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/NavigationSevices.framew ork/Versions/A/NavigationServices
    Referenced from: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    Reason: no suitable image found. Did find:
    /System/Library/Frameworks/Carbon.framework/Versions/A/NavigationSevices.framew ork/Versions/A/NavigationServices: unknown file type, first eight bytes: ...
    German OS X 10.4.11
    Permissions repaired.
    DiskWarrior reports no critical things.
    fsck completes successfully.
    removing the caches didn't help.
    SetupAssistant is where it should be.
    Thanks for any help!

    Hi
    Can you target disk mode this mac to another mac? If yes then backup any critical data you need. I would not bother copying applications as it would be best if you reinstalled them instead. Thats if there is data already on the drive? The information being logged seems to indicate this is a fresh install? The Setup Assistant can't launch and other bootstrap processes are failing because of this.
    Can you boot OK from the Installer disk or does it still go into console when you do try?
    If it boots OK simply reformat and reinstall. Its possible that the internal hard drive is having a problem, possibly reformatting the drive may get you over the problem or may an indicate an issue with the drive that a replacement drive will cure. If you are still having problems then maybe it may be a deeper problem. Depending on which mac it is sometimes the IDE or SATA cable that connects the drive to the main board develops a problem. In which case the drive should not require replacing. These sorts of problems are better diagnosed and repaired if you take your mac to your nearest authorized repair specialist. If its under warranty and it turns out to be a warranty repair then you should pay nothing.
    Hope this helps, Tony

  • Real Time Help Needed: Disk Warrior and Setup Assistant

    My system disk crashed a couple of days ago. I installed a clean system on a firewire attached disk and ran Disk Warrior against the failed drive. DW says the disk is too damaged to replace the directory structure. So, I'm in the process of copying over files that it was able to provide access to via the Preview disk. However, I'm wondering whether I can run setup assistant against the Disk Warrior Preview disk to get back the content of the keychain? I had a lot of passwords stored and don't have a backup.
    Anybody offer any help?

    Actually, I just remember another step that probably has something to do with this.
    The directory entries for ~/Library/Mail and the individual mailboxes were corrupt, so Disk Warrior recovered the contents and put them in two arbitrarily named folders. I copied the contents of the Library/Mail folder into the new system's Library/Mail folder. However, I wasn't sure where to put the mailboxes. I looked on my other Mac system and it had a Mailboxes folder inside the Library/Mail folder, so I created new folder called Mailboxes and copied the recovered mailboxes into the new folder.
    Another point that's probably related. The MessageRules.plist file exists in the Library/Mail folder, but the I don't see the rules when I open Mail.app. It looks like Mail.app isn't seeing the contents of Library/Mail.
    Any thoughts?

  • I did "Repair Disk" on OS 9 drive. Now I get the OS X Setup Assistant when I try to restart from it. How do I bypass it so I can restart from OS9?

    I run OS 10.6.8 on the main drive of a Mac Pro. On a separate drive, I run OS 9, so I can use Protools LE 7.3.1, an older version.
    Using Disk Utility, I recently did a Repair Disk routine on the OS 9 drive. There was nothing wrong with the disk, I was just trying to do some maintenance on it.
    But now, when I try to re-start from the OS9 drive, I get the Mac OS X Setup Assistant. The old files all seem to be still present on that drive.
    So how do I bypass the OS X Setup Assistant, and get it to boot up from OS 9?
    Thanks!
    Bruce

    Thanks Gary, Neville, and Jeff! I really appreciate the help.
    Jeff said the magic words:
    How were you running Mac OS 9 — with SheepShaver?
    Suddenly I realized--and this is embarrassing--that I was NOT running OS 9 on that drive, it was just an earlier version of OS X.
    What happened is that after I did that repair disk routine, I lost all my prefs on this drive, and so when I re-launched into it, it looked totally different than it used to look. You see, years ago, my Protools app wouldn't work in the then-current OS. And it seemed so long ago, that yesterday, I assumed that OS 9 must have been involved.
    Thanks again!

Maybe you are looking for