General Mac OS X Discussion General Apple and Mac OS X Discussion

Reply
 
LinkBack Thread Tools Display Modes
  (#1) Old
Expert Member
 
Posts: 962
Join Date: Dec 2008
Default New OSX Install solution of Dell Mini - 06-18-2009, 01:15 AM

Good night folks!

I want to rethink the whole installation solution for OSX on the Mini 9 and 10v. What I mean by that is going back to the drawing board and make the solution even easier than it is now.

What I have in mind is to use an installation package that would do all it need without the user intervention. This might mean splitting DellEFI in two main product. The 1st would be the core boot loader, driver and custom dsdt.aml installer. The second product (or maybe multiple) would be for individual packages. For example, one installer for the touchpad, one for remote CD, one for hibernation, etc.

This way we could modularise the whole thing and focus development on individual aspects instead of trying to cram everything in one solution.

What do you think?

Also, Dell will send me a free Mini 10v evaluation unit so I can continue to support the Mini 10v users. Talk about a nice company!

The goal would be to build an installation package (dellefi.pkg) that could be run from a terminal at the end of the OSX installation process... similar to what the dellefibootmaker solution does but in a much nicer way. So you would essentially:

1. Install OSX from a USB key
2. Possibly apply the desired combo patch
3. Run the dellefi.pkg installation
4. Reboot
5. Enjoy OSX on the Mini
6. Install individual customization packages

I know Merklot wanted to convert DellEFI into an installer at some point. I am not sur if he went anywhere with that.

Cheers and looking forward to your comments


Dell Mini 9
8GB SSD, 1GB RAM
OS X 10.5.6
Reply With Quote
  (#2) Old
Member
 
Posts: 39
Join Date: May 2009
Default 06-18-2009, 01:32 AM

This definitely sounds like a great idea...I'm all for it
Reply With Quote
  (#3) Old
Guru
 
meklort's Avatar
 
Posts: 1,353
Join Date: Feb 2009
Location: Colorado, USA
Send a message via AIM to meklort Send a message via MSN to meklort Send a message via Yahoo to meklort
Default 06-18-2009, 01:53 AM

I tried converting it to a package, however I was unable to make certain aspects of it work, specifically some of the hardware detection code.

Since most of what DellEFI does is patching files, I don't believe it would be best to have a dellefi.pkg do the installation as it would essentially be a package of scripts.

So basically, what I'm saying is to not make dellefi a package (but still make some changes to it), and instead concentrate on the initial install via the boot maker.
What I would like to see is instead of a (manual) post install script, add something that will install automatically (yes, it may have to be a package with the script even though I just said otherwise) or add a startup menu item for it.

Also, take a look at the latest commit in svn, hopefully you like it.


Dell Mini 9 | Mac OS X 10.6.5 | 2 GB RAM | 32 GB Buffalo SSD | BIOS A05
Dell Mini 10v | Mac OS X 10.6.5 | 1 GB RAM | 160 GB HDD | BIOS A06
My Blog | NetbookInstaller code repository | NetbookInstaller Website | Want a Lockerz.com invite? message me.
Reply With Quote
  (#4) Old
Member
 
Casper's Avatar
 
Posts: 39
Join Date: May 2009
Location: Toronto, Canada
Default 06-18-2009, 02:04 AM

That sounds like a great idea although I wonder if making it too easy will be like waving a red flag at a bull (apple).
It may actually force their hand into producing a netbook of their own. I guess they cant complain too much since it helps their software sales and gets more windows users like myself using their products.
Reply With Quote
  (#5) Old
Expert Member
 
Posts: 962
Join Date: Dec 2008
Default 06-18-2009, 02:52 AM

Quote:
Originally Posted by meklort View Post
What I would like to see is instead of a (manual) post install script, add something that will install automatically (yes, it may have to be a package with the script even though I just said otherwise) or add a startup menu item for it.
I have redone the bootloader installation portion of DellEFI as a package. You are right that it is essentially a package that essentially put the /Extra folder on the desired volume and then run a smart script that install the boot loader on the selected volume.

I just ran it from my iMac and selected a USB drive as the destination volume and the bootloader got installed in the right destination! So this is essentially a great proof of concept and is looking good for a simple installation package that will essentially replace "postinstall" with something nicer and much smarter ;-)

Now I need to add the custom DSDT generator and the kext patching section.

After running the DellEFI.pkg you should get a fully functional Mini.


Dell Mini 9
8GB SSD, 1GB RAM
OS X 10.5.6
Reply With Quote
  (#6) Old
Expert Member
 
Posts: 962
Join Date: Dec 2008
Default 06-18-2009, 04:50 AM

OK, good news. I now have a functional DellEFI.pkg that does:

1. Install the /Extra folder in the selected volume (hidden option)
2. Install the boot loader
3. Install the kext and build the ext cache
4. Install a custom DSDT.aml

2 - 4 are selectable so you ma or may not chose to install them.

So far the OSX 10.5.6 + 10.5.7 patch + this boot like a champ with audio/video and is 100% fully functional!

I guess I could convert the other options as other install choices and be done with the whole thing ;-)


Dell Mini 9
8GB SSD, 1GB RAM
OS X 10.5.6
Reply With Quote
  (#7) Old
Expert Member
 
Posts: 962
Join Date: Dec 2008
Default 06-18-2009, 12:28 PM

Converting DellEFIBootMaker into a package will also allow for an easier installation of all that is required on a USB key a package allow for picking the installation location. This way one can name his USB key partition whatever he want.

The installation sequence I have in mind is:

0. Restore Installation CD to an 8+ GB USB key
1. Use DellEFIBootMaker.pkg to prep the USB key
2. Install OSX from USB key
3. Install combo 10.5.x update
4. Install DellEFI
5. Reboot
6. Enjoy a fully functional OSX installation


Dell Mini 9
8GB SSD, 1GB RAM
OS X 10.5.6
Reply With Quote
  (#8) Old
Expert Member
 
Posts: 962
Join Date: Dec 2008
Default 06-18-2009, 12:33 PM

Quote:
Originally Posted by meklort View Post
Also, take a look at the latest commit in svn, hopefully you like it.
Wow, I see you have been busy. I have not downloaded the source yet as I just looked at the trunk this morning and saw all the work you did! Hopefully we can combine both our effort to make for a smooth installation process for all the platforms out there.

If the NetbookInstaller app could be pure Objective-C and shell scripts it could be possible to use it instead of the DellEFI.pkg installer I was working on... this would be the best solution as it would do all that is required independently of which Netbook you have...


Dell Mini 9
8GB SSD, 1GB RAM
OS X 10.5.6
Reply With Quote
  (#9) Old
Guru
 
meklort's Avatar
 
Posts: 1,353
Join Date: Feb 2009
Location: Colorado, USA
Send a message via AIM to meklort Send a message via MSN to meklort Send a message via Yahoo to meklort
Default 06-18-2009, 01:47 PM

I can definitely make it command line easily since everything it put inside classes. Making it run shell scripts is already possible too. making it command line would let you embed it in a package and have it run during the installer automatically and do all of the detection and /Extra and bootloader installation.

The main problem I had with a .pkg file is that I was unable to modify the choices users had for installing packages (you might have better luck though). I could detect what hardware was available, but I could not have it show any choices based on that (at least not easily).


Dell Mini 9 | Mac OS X 10.6.5 | 2 GB RAM | 32 GB Buffalo SSD | BIOS A05
Dell Mini 10v | Mac OS X 10.6.5 | 1 GB RAM | 160 GB HDD | BIOS A06
My Blog | NetbookInstaller code repository | NetbookInstaller Website | Want a Lockerz.com invite? message me.
Reply With Quote
  (#10) Old
Expert Member
 
Posts: 962
Join Date: Dec 2008
Default 06-18-2009, 04:37 PM

Quote:
Originally Posted by meklort View Post
I can definitely make it command line easily since everything it put inside classes. Making it run shell scripts is already possible too. making it command line would let you embed it in a package and have it run during the installer automatically and do all of the detection and /Extra and bootloader installation.

The main problem I had with a .pkg file is that I was unable to modify the choices users had for installing packages (you might have better luck though). I could detect what hardware was available, but I could not have it show any choices based on that (at least not easily).
Since this installer is to be run right after installing the OS and the combo update (if desired) it does not matter what the user can and can't install since we should only install the minimum required things to get OSX to boot properly and be stable.

The other things (like trackpad, etc) could be added afterward via some sort of NetbookUtils that the installer could drop in the Applications/Utilities section.

The NetbookBootMaker installation package could let users select which Netbook they want to install on and it could drop a netbook specific installer on the USB key... or we simply make a netbook specific NetbookBootMaker for each and not have to worry about user selection.


Dell Mini 9
8GB SSD, 1GB RAM
OS X 10.5.6
Reply With Quote
Reply

« DVD/CD sharing in OSX | 8Gb SSD filling up »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.mydellmini.com/forum/general-mac-os-x-discussion/9597-new-osx-install-solution-dell-mini.html
Posted By For Type Date
Netputing » New Netbook OSX Installation Method on it’s Way This thread Refback 06-27-2009 09:49 PM

Copyright © 2008-2011 MyDellMini.com.