Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

kopfpilot

Members
  • Content count

    6
  • Joined

  • Last visited

About kopfpilot

  • Rank
    InsanelyMac Protégé
  1. Engrish: i would suggest to use Atkios L2 for your first Hackintosh installation. Just boot straight from Atkios L2 dmg and go for it. After installation you have a modified 10.7.2 which can be updated to 10.7.4 without any problem. If you prefer vanilla installation. You can create you own 10.7.4 installation parition using a vanilla dmg and myhack 3.1
  2. Could you describe the benefit?
  3. Yesterday i managed to complete the build chain I'm using a lion 10.7.4 64Bit vanilla installation in VirtualBox 4.1.18 running on Win7 64Bit / CPU: Intel Core i5 - M240 Prerequirements 1. xcode_4.3.3_for_lion.dmg (~2GB, includes 10.7 OSX SDK,http://developer.app...tools/download/, needs apple-ID, registration is free) 2. command_line_tools_for_xcode_june_2012.dmg (~200MB, http://developer.apple.com/tools/download/, needs apple-ID, registration is free) 3. MacPorts 2.1.1 (~2MB, https://distfiles.ma...1-10.7-Lion.pkg, free download) 4. Qt 4.8.2 OpenSoure Mac Binary (~168MB, http://qt.nokia.com/...ent-on-mac-os-x, free download) 5. VirtualBox OSE Sourcode from SVN (there are some free svn-client available for mac, if you are firm with Xcode - use the build in svn-client) Precondition: Install Xcode and Xcode command line 1. mount xcode dmg image, open dmg and drag&drop Xcode to Application folder. Install on first run! 2. mount xcode command line and install Precondition: Install Qt 3. install Qt 4.8.2 OpenSoure Mac Binary Precondition: Install MacPorts and needed libraries 4. install MacPorts 2.11 5. shell: sudo port selfupdate 6 shell: sudo port install libidl +universal Precondition: create needed smylinks for OSX SDKs 7. shell: mkdir -p /Developer/SDKs shell: ln-s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk /Developer/SDKs/MacOSX10.7.sdk shell: ln-s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk /Developer/SDKs/MacOSX10.6.sdk Build VirtualBox 8. change to vbox folder 9. shell: ./configure --disable-hardenening --disable-docs 10. shell: source env.sh (otherwise kmk is not available) 11. shell: kmk Run VirtualBox 12. shell: change to vbox folder/out/darwin.x86/release/dist 13. shell: ./loadall.sh 14. shell change to vbox folder/out/darwin.x86/release/dist/VirtualBox.app/Contents/MacOS 15. shell: ./VirtualBox Needed Kext are load in Step 12/13 Seems to be important to have both symlinks from step 7, otherwise strage compile errors appear. I compiled revision 40987 that way which seems to be build 4.1.51 if i check the about dialog. The GUI seems much more modern that in VB-4.1.18 for Windows When i tried to use HEAD revision, which was 41961, i noticed that open watcom is missing. Unluckily it is not availabe to Mac OSX yet - but they annouced a possible future release without ETA. Anyhow i was able to build r41941 aswell and it's up and running. After succesfull OSE is compiled without problems, next step is to compile the patched sourcecode... Hope there will be any benefit at all! Todays HEAD revision is 42003, which builds perfect aswell, just VBoxUSB.kext is not working.. means no usb support.
  4. After strugling arround with missing guest addition in Virtualbox 4.1.18 for Lion 10.7.4 i've decided to tryVMWare Workstation Techpreview June 2012 for Windows. Precodition 1. VMware-workstation-full-e.x.p-754035.exe (~490MB, found here free: http://communities.vmware.com/community/vmtn/beta/workstationtp2012 , licence is valid till Ocotober) 2. VMware unlocker 1.1 (~4MB found here: http://www.insanelymac.com/forum/index.php?showtopic=267296 ) 3. Retail 10.7.4 dmg image (~4,3GB, buy online or get from somewhere else) 4. MagicISO 5.5 (~3MB, found here: http://www.magiciso.com/download.htm ) 5. 7-Zip 9.2 (~1MB, found here: http://www.7-zip.org/) Installation 1. Install Techpreview 2. Run VMWare unlocker 1.1/VMware 8.x Series (run as admin: install.cmd), Techpreview should not run 3. Extract dmg image with 7-Zip 4. Start MagicISO and use Menuitem Tools/Convert dmgExtractFolder/InstallMacOSX.pkg/InstallESD.dmg to InstallESD.iso 5. Run Techpreview and create new vm: - at least 2GB RAM - at least 20GB SCSI HD - at least USB, otherwise mouse/keyboard will not work! - keep other settings as the are - mount InstallESD.iso as iso-file for the virtual dvd/cd-rom 6. Start VM: - vm will start in EFI-mode and boot the dvd, installer will start after a while - use diskutil to delete harddisk to have a fresh installation disk for lion - pick lion harddisk for installation of pre install files - continue - after restart, choose harddisk for final installation and finish installation with needed settings 7. Installation finished Post Installation 1. mount darwin.iso to the virtual dvd/cd-rom which is located in the tech preview install folder (c:\Program Files (x86)\VMware\VMware Workstation\darwin.iso) 2. Run Lion, start finder, browse to dvd, start installation of guest additions 3. Reboot 4. Done Summary Installation of Lion 10.7.4 on efi vm is working like a charm. No need to modify the installation files or use Chamelon or any other type of MBR bootloader. Just Extract your vanila dmg image, convert your InstallESD.dmg to iso and start installing. The vm runs bloody fast with guest additions. Great work VMWare, great work creater of VMWare unlocker!
  5. Installation Installation of Lion 10.7.2 iAtkos L2 is working in Virtualbox 4.1.18 without having a mac at all (not even a hackintosh). Just mount the dmg image and boot without efi - no need to prepare own installer, all modification are allready included. Sound is working out of the box in ear phone mode, which still passes audio to line-out from host computer Just graphic hardware accelleration is still missing. I updated the system to 10.7.4 and ran myHack 3.1 to ensure that my system still works after a reboot... worked like a charm Only drawback, efi boot is not working out of the box. Afterwards i created my own 10.7.4 from vanilla image using myHack 3.1 - installation went fine aswell. Graphics seem to be a tad faster on the vanilla image... sound also worked directly. Enable efi boot 1. Boot Lion 2. sudo rm /System/Library/CoreServices/PlatformSupport.plist 3. Google, find and download PlattformUUID.key, extract it to /Extra/Extensions/ 4. If exists rebuild Extension.mkext for the "/Extra/Extensions" direcotry $ sudo kextcache -m /Extra/Extensions.mkext /Extra/Extensions 5, Rebuild Extension.mkext for the “/System/Library/Extensions” directory: $ sudo kextcache -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions Efi Boot Args Virtualbox has hardcoded nvram which is set to boot args: keepsyms=1 -v -serial=0x1 The arguments can't changed in Lion in any way (same for freebsd) File: \src\VBox\Devices\EFI\Firmware2\VBoxPkg\VBoxAppleSim\VBoxAppleSim.c static const CHAR8 vDefBootArgs[] = "keepsyms=1 -v -serial=0x1"; If one could recompile virtualbox with removed arguments i believe we could set the arguments inside osx! I believed they change the compiled binary files VBoxEFI32.fd and VBoxEFI64.fd, which could be easily spread afterwards Change Resolution without EFI-Boot Either use the method mentiond before using vboxmanage or directly eddid vbox file (mine is MACOSX.vbox) <VirtualBox xmlns="[url="http://www.innotek.de/VirtualBox-settings"]http://www.innotek.d...ualBox-settings[/url]" version="1.12-windows"> <Machine uuid=... name="MACOSX" OSType="MacOS_64" > ... <ExtraData> ... <ExtraDataItem name="CustomVideoMode1" value="1440x900x32"/> <ExtraDataItem name="CustomVideoMode2" value="1600x900x32"/> ... </ExtraData> ... </Machine> <VirtualBox> Then the reflecting setting to Lion sudo vi /Extra/com.chameleon.Boot.plist ... <plist> <dict> ... <key>Graphics Mode</key> <string>1600x900x32</string> ... </dict> </plist> VirtualBox guest-addition at MacPorts See http://www.macports....bstr=virtualbox I installed MacPorts, then installed xcode 4.4 from apple developer programm (free registration and download), then i used port install virtualbox-guest-addition, which installed some hundreds of megabyte sourcecode from macports and compiled it afterwards. Though the guest-addition.iso DID NOT include any Mac OSX guest Installations. I am a little curious because on freebsd the guest addition package is used to install freebsd guest addition (see http://wiki.freebsd.org/VirtualBox). While MacPorts is a port of FreeBSD port i assumed it should be the ported version to OSX (even though maybee just with acceleration/clipboard for x11), including all necessary Kext to enable SharedDirectory and probalby Kext for Graphics and Sound? Unluckily there is no documentation about that package :/ If you are going to try it be patiend, this will take a while (~3h?) <EDIT> It is just a copy of the guest-additions.iso which is shipped with the common extension-package. FreeBSD has an addition package called virtualbox-ose-additions, which does not exist at MacPorts </EDIT> <EDIT2> I found a patch here: https://forums.virtualbox.org/viewtopic.php?f=10&t=43330 I tried to apply the patch to the latest sources from svn and to the given revision 40897, both failed in osx. Then i used TurtoiseSVN in Windows and appied the patch in there. Next step is to compile it using xcode 4.4 in osx - i'll keep you people informed about my progress. Dunno what dependencies are needed to have the full compile tool chain... If someone has hints, you're welcome! </EDIT2> Virtualbox in FreeBSD 64 Bit mode Efi boot arguments use the same implementation like osx does. Actually i just found the difference, that ear phone sound is not available anymore and shutdown/reboot are not stuck at the powerdown screen anymore. While rebooting no reset is needed (ctrl+r), on shutdown no manual shutdown is needed (ctrl+q). Prefering sound of comfort made me change back to Mac OSX Server Mode
×