четверг, 29 марта 2012 г.

Установка Mac OS X Lion на Acer Aspire 5750G

Дело было пару дней назад, пишу по памяти, отсеивая лишнее.

Модель ноута Acer Aspire 5750G
Спецификация:
- i5-2410M
- intel HD3000
- 4GB DDR3 1333Mhz
- GeForce GT 540M 2GD
- AR9287 Wireless Network Adapter
- NetLink BCM57785 Gigabit Ethernet PCIe
- Cougar Point High Definition Audio Controller
- NEC uPD720200 USB 3.0 Host Controller

Первое, что понадобится, обновить версию BIOS до 1.11. Это позволит в параметрах биоса выбирать активную видеокарту. После обновления выбираем интегрированную (intel HD3000). Вторую (GeForce GT 540M) заставить работать пока что не удалось, но все гугление к тому и сводится, что никому пока что не удается. Ну, да, ладно, и так чудесно железка работать будет.
Далее, идем сюда и качаем установочный образ. Востанавливаем скаченный образ на 8 гигабайтную флешку.
Дальше после востановления берем по ссылке Chameleon 2.0 RC5 r927.pkg и ставим на эту флешку. в корень флешки кидаем папку Extra, взять можно здесь. В Extra также кидаетм DSDT.aml
Качаем Aspire 5750G Extensions 1.1.zip и заливаем на флешку в Extra и в /System/Libraty/Extensions соответствующие кексты. Только не с заменой, а сначала удаляем одноименные, затем на их место копируем новые. К стати, дольше всего возился со звуком, из Aspire 5750G Extensions 1.1.zip кекст AppleHDA корректно работать отказался. Но нашлась альтернатива :)). Т.е. AppleHDA.kext берем именно этот.
Флеха готова, запускаем бук, грузимся с флехи. Стартанул установщик с параметрами -v -x -F GraphicsEnabler=No

Установка - процесс стандартый. После установки необходимо на раздел, на который производилась установка скопировать все те же кексты и папку Extra, которые закидывали на флеху, а также установить на этот раздел загрузчик Chameleon 2.0 RC5 r927.pkg, так же, как на флеху.
Для этих целей я снимал винт с бука, цеплял его к рабочей Mac OS и выполнял необходимые действия.
Все, теперь можно ставить винт обратно в бук и загружаться уже с него, для начала с параметром -v. После загрузки и первоначальной настройки необходимо установить и запустить KextUtility (ищется в гугде оч, легко) и добавить в файлик /Extra/com.apple.Boot.plist строки для использования кеша ядра при загрузке:
UseKernelCache
y

Теперь, все ок.
Ну, почти все :)

Не завелся USB 3.0(не работает один конкретный порт), скрол на тычпаде и внешняя видюха.
В остальном бук ведет себя стабильно.
Один раз, очень внезапно отказался загружаться, вывалился kernel panic со ссылкой на CPUPowerManagement...
Не знаю наверняка, откуда это взялось, несколько минут чесал репу, вспоминал, что ничего системного не обновлял. Откуда же взялась паника. В конце концов решил сбросить биос в дефолт. Когда открыл биос, увидел один интересный пункт, по-моему, D2B Recovery (или что-то очень похожее). Описалова в самом биосе не нашел, но решил отключить. Не знаю наверняка, это ли помогло, но в дефолт биос сбрасывать не стало, бук загружаться стал стабильно и на батарее и от внешнего питания.
Больше тестить нет возможности, пришла пора его возвращать владельцу, время покажет. Пока что все.


P.S.
А вот что по этому поводу пишут наши англоговорящие друзься с сайта http://www.tonymacx86.com

THE UNIBEAST procedure.

My experience with the Acer Aspire 5750G (bios 1.13) and Lion Installation (up to 10.7.2) using Unibeast. Of course you may as well follow any of the methods posted earlier here to have a first Lion installation on your laptop. But this one worked for me, so it's time to share it.

Requisites (what you'll need):
- Running Lion installation.
- Purchased Lion Install App.
- 8Gb USB flash.
- USB keyboard.
- Internet *wired* connection.

Installation:

1.- Using your current Lion setup and the USB dongle , make an Unibeast install (http://tonymacx86.blogspot.com/2011/10/ ... using.html). Leave the USB plugged. Name the USB Volume "DONGLE", for instance.

2.- Copy and unzip the Acer5750g kext pack (latest version 1.3 http://www.osx86.net/view/2004-aspire_5 ... k_1.3.html) to a temporary folder (named it TEMP) on the root of the usb dongle. You'll have a folder structure like /TEMP/Extra and /TEMP/S:L:E . Safely extract the usb drive.

3.- Plug the dongle in your ACER. Fire it up, press F2 to enter the bios and make sure you're using the integrated video card (Intel). Otherwise the installation will also proceed but you'll have to wait until the nvidia checking times out. You may also check the bios to see if the option to select the boot source is selected. After that, boot using your usb drive.

4.- Choose your language, accept the License , enter the Disk Utility and format your partition any size you like , OSPlus Journaled. In my case I made two partitions: One for the OS (named it "OSXVOL") , the other for Time Machine in order to have a quick rollback during this process.

5.- Install Lion. When it finishes, leave the USB dongle plugged and reboot.
6.- Press F12 , select boot from USB. Again boot from the DONGLE partition again, as if a new install. Select the language, accept the license.

7.- Run the Terminal app, copy the contents of the kext pack to the Lion Volume. But first create the /Extra folder.

# mkdir /Volumes/OSXVOL/Extra
# cp -R /Volumes/DONGLE/TEMP/Extra/* /Volumes/OSXVOL/Extra
# cp -R /Volumes/DONGLE/TEMP/S:L:E/* /Volumes/OSXVOL/System/Library/Extensions

8.- Also delete the AppleHDA kext. Sometimes the boot process panics with the voodoo sound kext. And then, reboot. Leave the dongle connected.

# rm -rf /Volumes/OSXVOL/System/Library/Extensions/AppleHDA*
# reboot

9.- Again, press F12, select the USB boot device and this time boot your Lion Volume (OSXVOL) using "cpus=2 maxmem=4096". Now plug your USB keyboard as well. The boot process might hang. Please take note of the offending kexts if any. Otherwise try again a couple of times.

NOTE: You might be presented with the "Before we begin" screen. There are cases I've seen where the system claims it cannot find a keyboard, some other cases (like mine) the mouse was nowhere to be found. Workaround here http://www.insanelymac.com/forum/lofive ... 66565.html . However this didnt work for me either. Only after I booted with the "cpus=2 maxmem=4096" switches , the keyboard was detected. No need to say that I tested several models before xD.

10.- Now complete the rest of the Lion setup process, create your username blahblablah.

11.- You'll notice you have support for audio , USB and the internal NIC (ethernet network). So plug your cable and hook it up to your router because we'll need an Internet connection to download Multibeast, the 10.7.2 upgrade combo and whatever other thing you need. After that, I performed a time machine backup.

12.- Backup made, fire Multibeast, accept, accept and wait when you get to the "what to install" screen. Now launch the 10.7.2 combo upgrade. Install it and DO NOT reboot. Go back to the Multibeast screen, select USB support (3.0 and rollback) , Chimera, Kext util. Finish it and do not reboot.

13.- Open a terminal window and delete the AppleHDA* kext , for it will be restored by the combo upgrade process.

$ sudo rm -rf /System/Library/Extensions/AppleHDA*

*Update* As per NaToo guidelines, I forgot to include here one more step.

14.- Reinstall the kexts from the 1.3 kext pack.

15.- Run the Kext Utility to fix perms or do it manually. Now reboot and boot from your local HD. This time your Lion is up to date. Congrats Hope this worked for you.

NOTES:

- Many thanks to the author of this thread. I would not have been able to proceed without his guidelines.

- After the upgrade you can select the use of the Nvidia card in the bios. The bootup process recognizes it though I havent been able to activate it inside Lion.
- Given you made a backup with time machine feel free to experiment with kext and customization installs. Most probably you'll ruin it all (as I did) but you need only to boot with your USB dongle and perform a time machine restore.
- Lots of corrections might be applied to this guide. Please, feel free to let me know.


What's missing so far.

- WiFi support. I havent been able to find the proper kext. Any hints?
- Bright control and trackpad. I've seen some guides in this same thread, havent had the time the check them out yet.


Have fun!