Jump to content

[GUIDE] Scripted Yosemite/Mavericks Install on Gigabyte Mobos


4,696 posts in this topic

Recommended Posts

Why did you run the Lion updater?

The Lion install process is remarkably different from any other previous install.

 

All running the Lion updater within SL is going to do is install the Base System onto the existing SL drive. This Base System is just a bare-bones pre-boot setup designed for booting into and installing the main Lion OS on a different partition. Yes, it contains all the packages that would need to get installed once booted into.

Now, you could install this Base System (via Lion updater in SL) onto a scratch HD (USB or other), then run the script on it to build a /Extra directory, install kexts, etc. But, there are a lot of things you will be missing, like the modified distribution script that bypasses the hardware checks. Without it, you may get the "OS cannot be installed on this computer" message.

 

To install Lion on our Hackintoshes, the Packages directory at /System/Installation/Packages (which is a alias) has to be replaced with the actual packages within the "OS Install.dmg", so that they are accessible within the Base System.dmg. That way, all necessary files are now within the Base System.dmg, which is all we need to have and boot into.

 

The only way I know of to update SL to Lion, is build the boot disk like the script does. Once booted into that installer, then select the partition you wish to upgrade.

 

best regards,

MAJ

Link to comment
Share on other sites

If you don't have the option to create a combo cache or any other kext cache, then you are probably in the /Extra/Extensions mode. No cache in /Extra is created in this mode. Switch to "Boot cache" mode after selecting the drive.

After that, the combo cache option will be available.

 

BTW, the kernel cache setup doesn't work in RAID, either. Not until the Chameleon developers fix this issue, which I believe is the same KP in the single kext cache KP in RAID.

 

MAJ

 

THANK YOU DD, Lion on a RAID is just awesome :rolleyes:

Link to comment
Share on other sites

Hi,

 

I have a small problem

The script cannot see my AppleRAID setup

I tried everything but nothing work althought everything is ok with the RAID array $Setup in GUID

 

DO you have an idea ?

In the Terminal, what does the following command produce:

diskutil listRAID

or

diskutil AppleRAID list

(same commands, but the first one is being depreciated)

 

Then this:

diskutil list

 

MAJ

Link to comment
Share on other sites

Thank you for your answer :)

 

mmmprods-mac-pro:~ mmmprod 2$ diskutil AppleRAID list

AppleRAID sets (1 found)

===============================================================================

Name: BosT

Unique ID: EACC56B0-FECD-4D8B-9BFB-BFADABC8F581

Type: Mirror

Status: Online

Size: 749.8 GB (749812318208 Bytes)

Rebuild: automatic

Device Node: disk6

-------------------------------------------------------------------------------

# Device Node UUID Status

-------------------------------------------------------------------------------

0 disk5s2 AD8A7975-8B06-47E2-B3AC-76908B438C58 Online

1 disk0s2 3780FBAB-3503-4D5A-952B-AE8FA21B00F5 Online

=================================

 

 

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *750.2 GB disk0

1: EFI 209.7 MB disk0s1

2: Apple_RAID 749.8 GB disk0s2

3: Apple_Boot Boot OSX 134.2 MB disk0s3

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *320.1 GB disk1

1: Windows_NTFS ALIEN 320.1 GB disk1s5

/dev/disk2

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *320.1 GB disk2

1: Windows_NTFS FOX 320.1 GB disk2s1

/dev/disk3

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *750.2 GB disk3

1: EFI 209.7 MB disk3s1

2: Apple_HFS Mac Disk 2 749.8 GB disk3s2

/dev/disk4

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *750.2 GB disk4

1: EFI 209.7 MB disk4s1

2: Apple_HFS Snow Leopard 749.8 GB disk4s2

/dev/disk5

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *750.2 GB disk5

1: EFI 209.7 MB disk5s1

2: Apple_RAID 749.8 GB disk5s2

3: Apple_Boot Boot OSX 134.2 MB disk5s3

/dev/disk6

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS BosT *749.8 GB disk6

/dev/disk7

#: TYPE NAME SIZE IDENTIFIER

0: Apple_partition_scheme *4.2 GB disk7

1: Apple_partition_map 30.7 KB disk7s1

2: Apple_Driver_ATAPI 2.0 KB disk7s2

3: Apple_HFS Mac OS X Install ESD 4.2 GB disk7s3

/dev/disk8

#: TYPE NAME SIZE IDENTIFIER

0: Apple_partition_scheme *1.5 GB disk8

1: Apple_partition_map 30.7 KB disk8s1

2: Apple_Driver_ATAPI 2.0 KB disk8s2

3: Apple_HFS Mac OS X Base System 1.5 GB disk8s3

mmmprods-mac-pro:~ mmmprod 2$

 

 

Pretty strange, my Mac recognize the RAID ensemble and it's fully working without problems ...

Link to comment
Share on other sites

On every boot up after a "shutdown" or "restart", during the chameleon screen :

Read HFS+ File ....

Read HFS+ File ....

Read HFS+ File ....

Read HFS+ File ....

 

are always being loaded, i thought this only occurs once unless you update boot cache?

 

is this normal?

Link to comment
Share on other sites

I've tried many many thing all the night nothing works...

Something which is strange is that the script do recognize the RAID volumes as when I pointed on that disk there is some new features in the script menu ...

 

Don't know why it does not appear when I want to create a Boot Disk ....

Link to comment
Share on other sites

Has anybody eles tried the applertc kext patch from this thread?

 

http://www.insanelymac.com/forum/index.php...t&p=1701885

 

I have applied it and it does seem to make sleep work for lion 100% on my ex58-ud5...

 

I have also been using this patch on the lion developer previews. The patch isn't for enabling sleep but to prevent the CMOS being reset when you restart after using sleep.

Jon

Link to comment
Share on other sites

On every boot up after a "shutdown" or "restart", during the chameleon screen :

Read HFS+ File ....

Read HFS+ File ....

Read HFS+ File ....

Read HFS+ File ....

 

are always being loaded, i thought this only occurs once unless you update boot cache?

 

is this normal?

This happens when the boot loader doesn't find a boot cache and must load each next. You don't happen to have the "-f" flag in the boot plist, do you?

If you are using the "boot cache" method, the script should create one in both places for you and this shouldn't be happening.

However, if you are using the kernel cache method with the "UseKernelCache" flag, I think they (developers) consider it normal. I don't like it myself. If you want to get by it quickly, use the "GUI=No" flag in the boot plist. You won't have any fancy graphics, but that log will go by quickly. I don't use the kernel cache method anymore due to this reason and the fact that kexts must be in /System to work.

I do believe the developers intend to "fix" this issue, but they got their hands full the way it is.

 

I've tried many many thing all the night nothing works...

Something which is strange is that the script do recognize the RAID volumes as when I pointed on that disk there is some new features in the script menu ...

 

Don't know why it does not appear when I want to create a Boot Disk ....

Oh, I see what you are trying to do. I did not intend that a RAID volume be used for a boot disk, so left that implementation out.

Do you really want the boot disk to be on a RAID volume? The boot disk is generally some small, temporary storage. Most of us use the RAID for the actual, finished OS install location.

 

Looking at your disk list, perhaps you're planning on using the RAID volume to install Lion on "Mac Disk 2"?

Don't have any other drive options?

For the time being, you can use "Mac Disk 2" as your boot disk, install on the RAID, then Carbon Copy back to "Mac Disk 2". Sounds convoluted, I know.

 

MAJ

Link to comment
Share on other sites

you are right ...

I was just trying to install Lion using the RAID array because I did not have any Drive left (even USB ,... )

I should have created a small partition to put the BootDisk insisde ... but I wanted to try something else for the fun

 

But it's true I will certainly use a normal Drive and install the Boot on it

Glad to hear that you shut this feature off, because we would experienced many problem during the install

 

Thank you for your answers

Cheers

Link to comment
Share on other sites

I also installed LION today. Everything is working. Expect Sound. Just having my 2 soundflower devices in system preferences ;)

AgentMac,

It was intended that the two audio files, Platforms.xml and Layout885.xml, be installed by the Kext Installer only. It's only that installer that contains the routine used to install those two files within the vanilla AppleHDA.kext in S/L/E.

 

My only reason for scripting in that routine was because many of the audio files released were just two xml files and a legacy next. This required that the user manually install those xml files themselves. I merely scripted that in so the user could just include them along with the other audio kexts and have them installed correctly.

 

Normally, those xml files are already installed inside a AppleHDA.kext and that kext is supplied with the legacy kext for the complete audio solution.

 

So, just remove those xml files from S/L/E and let the kext installer install them properly, or you could install them manually inside the AppleHDA.kext in S/L/E.

 

regards,

MAJ

Link to comment
Share on other sites

They're already installed inside the kext.

I just put them there for the screenshot :(

 

In Systemprofiler it shows me hardware. But not in System Preferences ;)

 

I'm having this exact same problem, I need sound :-(

GA-EX58-Extreme

Link to comment
Share on other sites

Well I guess I've sat complacent long enough my SL has been running without any hiccups for the past year or so. I'm currently using CruiSAr's DSDT, and have minimum kext's currently. I was wondering if anyone using CruiSAr's DSDT has made the switch over.

 

Also I've been trying to keep up but since I havent installed Lion on my RAID I don't fully get what the main issues are.

I have my system boot to my Time Machine drive (which houses a chameleon bootloader) I then select my RAID drive to boot into. I did this to get around the issues Chameleon created with letting a windows computer sleep. Anyways, what are the main issues/things to watch out for? Whats gonna be the easiest way to keep all my current files and then reinstall back onto my RAID?

Link to comment
Share on other sites

Hi Guys,

 

Sorry for the silence. I have been busy with my new job so I hardly have time to visit the forums.

 

I just want to announce that my DSDT works effortlessly with LION. I purchased the OS from the app store and followed the usual install method just as DD posted on the first page.

 

I am using minimal kexts just as in SL and sound as well as internet works.

 

@ Sidewinder, I think the main issue with raid here is that it will only boot successfully if you use the combo cache option. DD stated this on the first page of this thread.

 

With regards to backing up your data, I guess that is pretty much straight forward :-)

 

DD, I love the animation of the text in the script, pretty slick..thumbs up for yet another great job.

 

Let me know if you guys have any questions regarding my install.

post-371855-1311497141_thumb.png

Link to comment
Share on other sites

I am using minimal kexts just as in SL and sound as well as internet works. have any questions regarding my install.

Hey Cruisar -Your method working perfectly here.

 

Can you confirm what kexts you're using? Is it just fakesmc and IONetworkingFamily?

 

Also did you apply the RTC CMOS fix?

 

Cheers

Link to comment
Share on other sites

Hey Cruisar -Your method working perfectly here.

 

Can you confirm what kexts you're using? Is it just fakesmc and IONetworkingFamily?

 

Also did you apply the RTC CMOS fix?

 

Cheers

No I haven't applied the RTC Cmos fix via DSDT as this is currently not possible at the moment.

 

There are currently 3 work arounds.

 

1. Replace the AppleRTC.kext with the one from snowLeo and rebuild caches.

2. Install ElliottForceLegacyRTC.kext to /Extra

3. Bin Patch the AppleRTC.kext in lion via terminal

http://www.insanelymac.com/forum/index.php...t&p=1715551

 

I have 3 kexts in /Extra, FakeSMC, IONetworking and AppleRTC

 

CMOS reset only happens when I restart without the AppleRTC kext present.

 

System wakes up from sleep without any issues.

Link to comment
Share on other sites

They're already installed inside the kext.

I just put them there for the screenshot :)

 

In Systemprofiler it shows me hardware. But not in System Preferences :huh:

 

What motherboard and BIOS version are you running?

Link to comment
Share on other sites

Hello,

 

I am reading the instructions for installing lion and I think I am missing something:

 

  1. Select a boot drive from the list of the storage devices and create the boot disk, skipping EFI strings setup. No other steps are needed to prepare this boot drive. However, you may install a DSDT patch file, if you wish.
  2. Restart and boot into new drive, "Mac OS X Base System."
  3. Install Lion on drive of your choice.
  4. Boot back into your current Snow Leopard system.
  5. Run HackInstaller and select your Lion install drive as your target drive (menu #12)

The instructions all seem straight forward, but, what if someone wants to use the install to upgrade to lion? If they select the drive they have snow leopard on, they won't be able to boot back into the current Snow Leopard system. Is this only for installing to a different drive then the existing one?

 

Thanks,

Link to comment
Share on other sites

No I haven't applied the RTC Cmos fix via DSDT as this is currently not possible at the moment.

 

There are currently 3 work arounds.

 

1. Replace the AppleRTC.kext with the one from snowLeo and rebuild caches.

2. Install ElliottForceLegacyRTC.kext to /Extra

3. Bin Patch the AppleRTC.kext in lion via terminal

http://www.insanelymac.com/forum/index.php...t&p=1715551

 

I have 3 kexts in /Extra, FakeSMC, IONetworking and AppleRTC

 

CMOS reset only happens when I restart without the AppleRTC kext present.

 

System wakes up from sleep without any issues.

Cruisar, do you have any network issues on wake from sleep with just IONetworking kext? On wake I lose connectivity (via wifi - not tested ethernet) although after a few mins it appears to reconnect!?

Link to comment
Share on other sites

I want to say very very thank you, your script is great and it make me able to install the lion in my raid0 :)

 

Better work of discover hot water :D

 

Many many thanks man!

Gabriele.

Link to comment
Share on other sites

Hello,

<SNIP>

The instructions all seem straight forward, but, what if someone wants to use the install to upgrade to lion? If they select the drive they have snow leopard on, they won't be able to boot back into the current Snow Leopard system. Is this only for installing to a different drive then the existing one?

 

Thanks,

This is where having a small, maintenance drive really pays off, whether it be a separate partition on a HD or a USB drive.

I have a portable 160GB LaCie Little Disk and a 20GB partition on one of the 1TB drives reserved for maintenance.

There's really no other way to run the Lion installer for our systems other than create a separate boot disk. The same setup applies to updating SL to Lion.

Even Apple has conceded that this is the best approach, as Lion will create a 800MB "Recovery HD" on Apple Macs to use for "disc-less" recovery.

 

Cruisar, do you have any network issues on wake from sleep with just IONetworking kext? On wake I lose connectivity (via wifi - not tested ethernet) although after a few mins it appears to reconnect!?

Are you using DHCP or a manual IP? I heard that a static IP doesn't have the wake from sleep issues as DHCP, as a new IP must be retrieved from the router upon wake in DHCP setups, thus creating this delay. However, it may be that I didn't get all the details and that this is a apples vs oranges case.

 

best of wishes,

MAJ

Link to comment
Share on other sites

 Share

×
×
  • Create New...