- This topic has 10 replies, 4 voices, and was last updated 13 years, 8 months ago by
88gb525dxQK4gt6u.
-
AuthorPosts
-
August 2, 2011 at 4:54 pm #381026
bostonmacosx
ParticipantJust downloaded the SVN using the HTTP on the google code site.
So I copied out the InstallESD.dmg into the BaseOS folder.
Then Ran
[code]sudo ./instadmg.bash -s -b ./InstallerFiles/BaseOS/ -n “Macintosh HD” -m 110802_LionTest
12:53:16 ###### InstaDMG build initiated ######
InstaDMG version 1.6rc1 (svn revision: 420)
Host OS: Mac OS X Server 10.6.8
Host Hardware: MacPro3,1
Output file name: 110802_LionTest
Output disk name: Macintosh HD
12:53:17 ###### Finding main MacOS X installer disk ######
###### Unable to find primary installer disk ######
12:53:17 ###### Cleaning up ######
Ejecting images[/code]So I’m a little confused at this point. The path for the DMG is correct.
Help appreciated.
Rob
August 2, 2011 at 5:10 pm #381027bostonmacosx
ParticipantOK UPDATE:
Changed to:
[code]sudo ./instadmg.bash -s -I ./InstallerFiles/BaseOS/InstallESD.dmg -n “Macintosh HD” -m 110802_LionTest
Password:
13:06:26 ###### InstaDMG build initiated ######
InstaDMG version 1.6rc1 (svn revision: 420)
Host OS: Mac OS X Server 10.6.8
Host Hardware: MacPro3,1
Output file name: 110802_LionTest
Output disk name: Macintosh HD
13:06:26 ###### Finding main MacOS X installer disk ######
13:06:26 ###### Looking for a Cached Image ######
No cached image found
13:06:26 ###### Mounting Mac OS X installer image ######
###### Trying to install a newer os (7) while running on an older os (6), this does not work ######
13:06:29 ###### Cleaning up ######
Ejecting images
[/code]so you have to be running on LION to make the LION IMAGE?
August 2, 2011 at 5:42 pm #381028Allister Banks
ParticipantHave to? No, that error is in the bash script, you can comment it out. Should you? Yes, it’s a good idea. BTW, you’ll need a new create user as well, please see previous threads about it(or join us in IRC/message me through this forum).
Allister
August 2, 2011 at 8:40 pm #381029nobrainer
Participant[QUOTE][u]Quote by: bostonmacosx[/u][p]OK UPDATE:
Changed to:
[code]sudo ./instadmg.bash -s -I ./InstallerFiles/BaseOS/InstallESD.dmg -n “Macintosh HD” -m 110802_LionTest[/code]
[/QUOTE]Thank you for posting the command line 🙂
It’s creating an image for me, but I’m running Lion.August 3, 2011 at 1:13 pm #38103388gb525dxQK4gt6u
Participantto make it simplier just comment ( add # ) to the following lines of instadmg.bash to make it run in 10.6
[code]line 665
line 667
line 668
line 669
line 697
line 699
line 701[/code]then save and run the command [code] sudo ./instadmg.bash -s -I ./InstallerFiles/BaseOS/InstallESD.dmg -n “Macintosh HD” -m my_LionTest[/code]
August 3, 2011 at 2:00 pm #381034Allister Banks
ParticipantThat’s great news, pardon me I didn’t have proof it worked myself.
It’s open source, patches accepted, but I would rather leave that requirement in the repo just in case. Running installer on the platform(=OS) that the package is built for has to be the more supportable state of affairs.
Allister
August 3, 2011 at 3:59 pm #381037bostonmacosx
ParticipantIn my 10.6.8 server build machine the 10.7 lion build threw errors with the commented out lines.
It also seemed to fail on empty numbered folders and think it was done.
In my experience with it up to this point it would just skip empty folders and move onto the next one.August 3, 2011 at 4:12 pm #381038Allister Banks
ParticipantWhile it’s no longer the case in Lion, 10.6.8 Server is enough of a different platform that building from that software is not recommended. Just a reminder, YMMV.
Allister
August 3, 2011 at 5:15 pm #381041bostonmacosx
ParticipantShould just post as well.
Multiple installers in a single folder do no longer work as well.
Rob
August 3, 2011 at 5:29 pm #38104288gb525dxQK4gt6u
Participant[QUOTE][u]Quote by: Allister[/u][p][code]but I would rather leave that requirement in the repo just in case[/code][/p][/QUOTE]
I agree with you there, the repo should get stable only. I added the lines for anyone that is not really confident.
btw I tried and I’m getting a dmg of 857Kb 🙄
August 6, 2011 at 6:48 am #38106188gb525dxQK4gt6u
ParticipantWell I just tested the latets build on a Lion computer and it does build a proper image. My guess is that you cannot build Lion on SnowLeopard
Now the question is how should I make the catalog file to call instaup2date to install all the applications? because I don’t know how to reference the installer disk aka InstallESD.dmg
in other words, the instaup2date cannot find the installer disc
any suggestions??
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed