Twitter
Become an osx86.net member, click here to Register!
Results 1 to 9 of 9
Like Tree3Likes
  • 2 Post By kyndder
  • 1 Post By kyndder

Thread: [GUIDE]Creating a Lion Installer from Windows

  1. #1
    OSx86.net Crew kyndder's Avatar
    Join Date
    Dec 2010
    Location
    Sampa/Brazil
    Posts
    6,283
    Thanked
    0
    Downloads
    442
    Uploads
    8

    Default [GUIDE]Creating a Lion Installer from Windows

    Guys, sorry for make you waste your time!!!

    Like you can see on the Thread replies, theres a gap on the procedure...

    I tried different methods to fix this gap, I even found a few ways, but after each fix, became lots of
    new gaps, making the procedure extremely hard, so, I`m closing this Thread...

    I`m working on a new method using Linux instead of Windows, but this time, I`ll made tons of tests
    before post anything...

    Sorry again...






    BEFORE PROCEED, READ THIS > http://www.osx86.net/guides-tutorial...html#post96272




    WARNING: Only for Intel machines with supported processors.

    The tests where performed on a "Windows XP SP3 Virtual Machine" , but I think that works in later versions of Windows.

    During testing, I had problems using "MacDrive", so, I recommend "TransMac".

    If you have problems during the procedures or have suggestions to facilitate the procedure, please post here.




    Hello guys!

    I am here again to find out how to create an OS X Lion Installer through Windows ...

    Lot`s of people have turned to the Distros because many people said that is not possible to directly install
    Lion in our Hackintosh`es without a previous Snow Leopard installation, but, after some testing
    and research, I found a virtually foolproof way to get a retail installation of Lion
    without having a Mac or a Hack at hand ...

    What you will need...

    "OS X Lion Thumb Drive" > OS X Lion USB Thumb Drive - Apple Store (U.S.)

    or "Install Mac OS X Lion.app" (in this case you'll need at least someone to buy it through the App Store) ...

    MacDrive > Mediafour - MacDrive 9 Standard and Pro |

    or TransMac > TransMac Details

    7-Zip or some other unzipper to access Image files > 7-Zip

    USB Stick with at least 8GB > [memorage] 8G 8GB USB FLASH MEMORY STICK THUMB DRIVE / waterproof [QT-4008] | eBay

    Time > Time - Wikipedia, the free encyclopedia

    Patience > How to Be Patient: 12 steps - wikiHow



    In my example I will use the "Install Mac OS X Lion.app" from AppStore and TransMac...

    *NOTE 1: The folder structure it`s a bit different on the ThumbDrive and the App downloaded from AppStore,
    but as you can see in the picture below, the files exist in both cases ...



    **NOTE 2: Windows sees the file structure of OS X just like folders, enabling
    free browsing throug the files ...



    Install all the necessary programs if you don`t have, connect the USB Stick and go get to work ...



    Copy the **folder "Install Mac OS X Lion.app" to the Desktop ...

    Navigate to "Install Mac OS X Lion.app/Contents/SharedSupport" ...

    Click the right mouse button on the file "InstallESD.dmg", select "7-zip > Extract Files ..." and extract
    the file on your desktop ...





    In the folder "InstallESD" that appeared on your desktop, navigate to "InstallMacOSX.pkg", right-click
    on the file "InstallESD.dmg", select "Open With" and select "TransMac" ...





    Click the right mouse button on the file "BaseSystem.dmg", select "Copy to" and copy it to the Desktop ...





    Again with TransMac, click the right mouse button over the icon of your USB Stick in the left pane, select
    "Format Disk > Format with Disk Image", navigate to the file "BaseSystem.dmg" that are on your desktop and click OK on window that will open ...





    Wait till the end of the process ...

    After finishes, again using TransMac, navigate to the folder "SystemInstallation" of the USB Stick, delete the
    "Packages" file and copy the folder also called "Packages" on its place, the file is on
    "InstallESD/InstallMacOSX.pkg/InstallESD.dmg" that was extracted earlier on your Desktop ...





    And also copy "mach_kernel" to the root of the USB Stick ...






    You also will need the two files below inside of the folder "SystemLibraryExtensions" of your USB Stick...

    FakeSMC.kext > Fakesmc version 2.5 - Downloads - OSx86.net

    NullCPUPowerManagement.kext > NullCPUPowerManagement (32-/64-bit) - Downloads - OSx86.net



    Done, your Lion installer is ready!



    Now you will need a BootCD to start the installation ...

    You can use HackBoot Lion > olarila.com • View topic - HackBoot para Lion

    Or you can follow this guide and create your own Bootable USB Stick from Windows> http://www.osx86.net/guides-tutorial...b-windows.html



    If you need to install on disks with MBR partition scheme or if you receive the message "OS X could not be installed", you will
    need a modified OSInstall.mpkg , extract the file for the version of the installer you are using and replace the files on your
    USB Stick in their respective folders ...

    OSInstall.mpkg 10.7.2 > http://blog.nawcom.com/OSInstall_Fra...10.7.2.tar.bz2

    OSInstall.mpkg 10.7 > MBR patched OSInstall framework & mpkg for Lion GM - Downloads - OSx86.net



    Start the installation process using -f -v flag`s...



    Enjoy ...
    Last edited by kyndder; 26th February 2012 at 06:05. Reason: Added right path separations
    Rene and noname like this.
    MB - GA-P67A-D3-B3 / Processor - Core i5-2300 Sandy Bridge / RAM - Kingston 16Gb DDR3
    Hard Disk - SATA2 Samsung 1500Gb / SATA2 Samsung 500Gb / SATA2 Samsung 250Gb / SATA2 Maxtor 160Gb
    Drive DVD - SATA LG GH20NS15 / Lan - Realtek RTL8111E OnBoard / Audio1 - ALC889 / Audio2 - Audigy SB1394
    Video1 - NVidia Zotac GeForce GTS250 / Video2 - NVidia XFX GeForce 9600GSO
    Snow Leopard 10.6.8 x64 / Ubuntu 11.10 Beta2 x64 / OS X Lion 10.7.3 x64 / Playing with Android-x86
    Chameleon With Chameleon Wizard / DSDT With DSDT Editor and Patcher
    Previous Hack


  2. #2
    Junior Member
    Join Date
    Feb 2012
    Posts
    3
    Thanked
    0
    Downloads
    8
    Uploads
    0

    Default

    Hi,
    I think there's a problem with the guide. When I formatted the USB stick with BaseSystem.dmg using Transmac, the result is a HFS+ partition with merely 1.5, 1.6Gig or so. So I could not copy Packages to my USB stick because of the lack of storage.
    Could you clarify?

  3. #3
    OSx86.net Crew kyndder's Avatar
    Join Date
    Dec 2010
    Location
    Sampa/Brazil
    Posts
    6,283
    Thanked
    0
    Downloads
    442
    Uploads
    8

    Default

    Quote Originally Posted by Buddha123 View Post
    Hi,
    I think there's a problem with the guide. When I formatted the USB stick with BaseSystem.dmg using Transmac, the result is a HFS+ partition with merely 1.5, 1.6Gig or so. So I could not copy Packages to my USB stick because of the lack of storage.
    Could you clarify?
    Yes, it`s true...

    There`s another user with the same issue and I believe that by some reason, when I made the steps through the VM (maybe because the way that the application handle USB`s devices through the VM) I did not have this issue...

    My proposition to this user, as he are doing the tests also through a VM but from Linux, was use GParted to resize the HFS+ partition and after this, finish the copy of the "Packages" folder...

    I will made some more tests and try to find a fix for this issue...

    I believe that you can do the partition resize using MacDrive from Windows...
    MB - GA-P67A-D3-B3 / Processor - Core i5-2300 Sandy Bridge / RAM - Kingston 16Gb DDR3
    Hard Disk - SATA2 Samsung 1500Gb / SATA2 Samsung 500Gb / SATA2 Samsung 250Gb / SATA2 Maxtor 160Gb
    Drive DVD - SATA LG GH20NS15 / Lan - Realtek RTL8111E OnBoard / Audio1 - ALC889 / Audio2 - Audigy SB1394
    Video1 - NVidia Zotac GeForce GTS250 / Video2 - NVidia XFX GeForce 9600GSO
    Snow Leopard 10.6.8 x64 / Ubuntu 11.10 Beta2 x64 / OS X Lion 10.7.3 x64 / Playing with Android-x86
    Chameleon With Chameleon Wizard / DSDT With DSDT Editor and Patcher
    Previous Hack

  4. #4
    Junior Member
    Join Date
    Feb 2012
    Posts
    3
    Thanked
    0
    Downloads
    8
    Uploads
    0

    Default

    Quote Originally Posted by kyndder View Post
    Yes, it`s true...

    There`s another user with the same issue and I believe that by some reason, when I made the steps through the VM (maybe because the way that the application handle USB`s devices through the VM) I did not have this issue...

    My proposition to this user, as he are doing the tests also through a VM but from Linux, was use GParted to resize the HFS+ partition and after this, finish the copy of the "Packages" folder...

    I will made some more tests and try to find a fix for this issue...

    I believe that you can do the partition resize using MacDrive from Windows...
    I tried GParted but it did not recognize the file system on my USB stick. It worked well with other HFS+ partitions but with my USB stick it just said "unallocated" . So I could do nothing with it.

    Hope you can find a fix soon.

    P.S. I wonder how you could make it using Windows as in your guide? Do you need any special software?

    Thanks,

    Steve.

  5. #5
    OSx86.net Crew kyndder's Avatar
    Join Date
    Dec 2010
    Location
    Sampa/Brazil
    Posts
    6,283
    Thanked
    0
    Downloads
    442
    Uploads
    8

    Default

    Quote Originally Posted by Buddha123 View Post
    P.S. I wonder how you could make it using Windows as in your guide? Do you need any special software?

    Thanks,

    Steve.
    No...

    Totally on windows, but on a VM from VirtualBox...



    Did you installed all necessary files to handle HFS+ partition on Linux"???

    What Linux Distro you are using???
    MB - GA-P67A-D3-B3 / Processor - Core i5-2300 Sandy Bridge / RAM - Kingston 16Gb DDR3
    Hard Disk - SATA2 Samsung 1500Gb / SATA2 Samsung 500Gb / SATA2 Samsung 250Gb / SATA2 Maxtor 160Gb
    Drive DVD - SATA LG GH20NS15 / Lan - Realtek RTL8111E OnBoard / Audio1 - ALC889 / Audio2 - Audigy SB1394
    Video1 - NVidia Zotac GeForce GTS250 / Video2 - NVidia XFX GeForce 9600GSO
    Snow Leopard 10.6.8 x64 / Ubuntu 11.10 Beta2 x64 / OS X Lion 10.7.3 x64 / Playing with Android-x86
    Chameleon With Chameleon Wizard / DSDT With DSDT Editor and Patcher
    Previous Hack

  6. #6
    Junior Member
    Join Date
    Feb 2012
    Posts
    3
    Thanked
    0
    Downloads
    8
    Uploads
    0

    Default

    Quote Originally Posted by kyndder View Post
    No...

    Totally on windows, but on a VM from VirtualBox...



    Did you installed all necessary files to handle HFS+ partition on Linux"???

    What Linux Distro you are using???
    I used Ubuntu. I think I had everything I needed to have hfs+ working. I can mount my USB stick and read/write it. For gparted to work I also installed hfsprogs.

    Quote Originally Posted by kyndder View Post
    No...

    Totally on windows, but on a VM from VirtualBox...



    Did you installed all necessary files to handle HFS+ partition on Linux"???

    What Linux Distro you are using???
    Another thing, how could you read your usb stick as in this picture:

    http://i1186.photobucket.com/albums/...ach_kernel.png

    I tried to open my usb like that but it did not work??? because Windows itself cannot read hfs+ filesystem without installing any additional softwares??

    Thanks.
    Last edited by Buddha123; 9th February 2012 at 06:41.

  7. #7
    OSx86.net Crew kyndder's Avatar
    Join Date
    Dec 2010
    Location
    Sampa/Brazil
    Posts
    6,283
    Thanked
    0
    Downloads
    442
    Uploads
    8

    Default

    Quote Originally Posted by Buddha123 View Post
    I used Ubuntu. I think I had everything I needed to have hfs+ working. I can mount my USB stick and read/write it. For gparted to work I also installed hfsprogs.
    Yes...

    If you have read/write access you have all needed files...

    Quote Originally Posted by Buddha123 View Post
    Another thing, how could you read your usb stick as in this picture:

    http://i1186.photobucket.com/albums/...ach_kernel.png

    I tried to open my usb like that but it did not work??? because Windows itself cannot read hfs+ filesystem without installing any additional softwares??

    Thanks.
    Yes, windows itself cannot read HFS+ partition but I was using TransMac...

    [EDIT]

    I`m reinstalling Windows now, again on a VM to remade the steps and see what could be happening...

    I`ll update the thread sooner as I can...
    Last edited by kyndder; 9th February 2012 at 06:54.
    Buddha123 likes this.
    MB - GA-P67A-D3-B3 / Processor - Core i5-2300 Sandy Bridge / RAM - Kingston 16Gb DDR3
    Hard Disk - SATA2 Samsung 1500Gb / SATA2 Samsung 500Gb / SATA2 Samsung 250Gb / SATA2 Maxtor 160Gb
    Drive DVD - SATA LG GH20NS15 / Lan - Realtek RTL8111E OnBoard / Audio1 - ALC889 / Audio2 - Audigy SB1394
    Video1 - NVidia Zotac GeForce GTS250 / Video2 - NVidia XFX GeForce 9600GSO
    Snow Leopard 10.6.8 x64 / Ubuntu 11.10 Beta2 x64 / OS X Lion 10.7.3 x64 / Playing with Android-x86
    Chameleon With Chameleon Wizard / DSDT With DSDT Editor and Patcher
    Previous Hack

  8. #8
    OSx86.net Crew kyndder's Avatar
    Join Date
    Dec 2010
    Location
    Sampa/Brazil
    Posts
    6,283
    Thanked
    0
    Downloads
    442
    Uploads
    8

    Default The Bad Guy...

    Hy guys...

    Retracing the steps again in a virtual machine (but this time in Parallels Desktop instead of VirtualBox) I found the issue...

    Throughout the process, I had both applications installed on the system (MacDrive and TransMac) ...

    Somehow, the fact that MacDrive is installed in the system, influenced the final result ...

    As you can see in the image below, as he sees any HFS + partition as a partition of the system, that should have prevented the
    error of not enough space be presented to me...



    That plus the fact some sort of bug in the USB bus (most likely by incorrect configuration settings in VirtualBox) managed to
    do the copying of files with no problems...

    Well .. I've found the problem, now need to find a solution for it ...

    Once I get will update the main post with a permanent solution ...
    MB - GA-P67A-D3-B3 / Processor - Core i5-2300 Sandy Bridge / RAM - Kingston 16Gb DDR3
    Hard Disk - SATA2 Samsung 1500Gb / SATA2 Samsung 500Gb / SATA2 Samsung 250Gb / SATA2 Maxtor 160Gb
    Drive DVD - SATA LG GH20NS15 / Lan - Realtek RTL8111E OnBoard / Audio1 - ALC889 / Audio2 - Audigy SB1394
    Video1 - NVidia Zotac GeForce GTS250 / Video2 - NVidia XFX GeForce 9600GSO
    Snow Leopard 10.6.8 x64 / Ubuntu 11.10 Beta2 x64 / OS X Lion 10.7.3 x64 / Playing with Android-x86
    Chameleon With Chameleon Wizard / DSDT With DSDT Editor and Patcher
    Previous Hack

  9. #9
    Junior Member
    Join Date
    Feb 2012
    Posts
    1
    Thanked
    0
    Downloads
    171
    Uploads
    0

    Default

    give 2GB partiton to copy the files and one empty partition about 5 GB behand it, after then use the Partition Magic--delete the empty partition and use 'remove/resize the partition' to resize the 2GB partition to 7GB,


  • Advertising

    advertising
    OSx86.net
    has no influence
    on advertisings
    that are displayed by
    Google Adsense

      
     

Similar Threads

  1. [GUIDE]How Create a Lion Media Installer
    By kyndder in forum Guides & Tutorials
    Replies: 86
    Last Post: Yesterday, 02:51
  2. [GUIDE]Creating a Chameleon Bootable USB from Windows
    By kyndder in forum Guides & Tutorials
    Replies: 7
    Last Post: 24th April 2012, 11:36
  3. [guide] easyway to make "lion's usb installer"
    By sapikere in forum Desktops
    Replies: 0
    Last Post: 9th February 2012, 20:35
  4. Replies: 2
    Last Post: 21st October 2009, 03:08
  5. guide for creating your own dsdt
    By djsam in forum Guides & Tutorials
    Replies: 9
    Last Post: 8th October 2009, 21:53

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •