Jump to content

Virtual Box and Snow Leopard *SUCCESS*

Oracle VirtualBox Snow Leopard

  • Please log in to reply
73 replies to this topic

#21
ZackehSoul

ZackehSoul

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
  • Gender:Male
  • Location:Leeds, UK
Try using Chimera, I don't particularly like using those tools because they're basically rebranded versions of others tools but it might work for you.

And no problem :)

#22
Mr.D.

Mr.D.

    There are those who call me...

  • Local Moderators
  • 543 posts
  • Gender:Male
  • Location:Wyoming
  • Interests:Music editing/Remixing, hiking, orienteering, 4 wheeling, reading (yes like books and such), and...
any other ideas? EPIC fail! Worse than any other product!

Attached File  after chimera.PNG   63.02KB   24 downloads

#23
ZackehSoul

ZackehSoul

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
  • Gender:Male
  • Location:Leeds, UK
Is that directly from the snapshotted version ?

#24
Mr.D.

Mr.D.

    There are those who call me...

  • Local Moderators
  • 543 posts
  • Gender:Male
  • Location:Wyoming
  • Interests:Music editing/Remixing, hiking, orienteering, 4 wheeling, reading (yes like books and such), and...
yup... I restored to the point right after the 10.6.8 upgrade and ran it.

That is what I did every time I installed different bootloaders.

ooops - no it wasnt.

I have two images both labled the same thing and I must have done something to the second. The one that is older I just ran that on... but its not much better... just the grey apple
screen

and of course it doesn't support the wait=yes flag like chameleon does so when I do -v, it goes by superman fast and I cant see what its hanging on

#25
ZackehSoul

ZackehSoul

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
  • Gender:Male
  • Location:Leeds, UK
Odd. Try using this bootloader. (Might not be zipped correctly since I'm doing this via mobile, so if it's not bear with me.)

Attached Files



#26
Mr.D.

Mr.D.

    There are those who call me...

  • Local Moderators
  • 543 posts
  • Gender:Male
  • Location:Wyoming
  • Interests:Music editing/Remixing, hiking, orienteering, 4 wheeling, reading (yes like books and such), and...
just tried it - got that boot1: error that I received before. and yes this is on the snapshot right after 10.6.8 was installed.

Attached File  after your chameleon pkg.PNG   39.35KB   8 downloads

I'll try to find that version of Chameleon in case it is a zip error...

Attached File  with the redownloaded but same version of chameleon and flags.PNG   129.78KB   20 downloadsAttached File  with the redownloaded but same version of chameleon and flags 2.PNG   56.93KB   24 downloads

Those are with the redownloaded version in your zip file... I had to RDP to my desktop and run VB just to capture that stupid screen!

#27
ZackehSoul

ZackehSoul

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
  • Gender:Male
  • Location:Leeds, UK
Let's try something different; from CMD run the following:

VBoxManage modifyvm "<yourvirtualmachinename>" --firmware efi64
VBoxManage setextradata "<yourvirtualmachinename>" VBoxInternal2/SmcDeviceKey "ourhardworkbythesewordsguardedpleasedontsteal©AppleComputerInc"

Then retick the EFI box in the settings and try booting again.

#28
Mr.D.

Mr.D.

    There are those who call me...

  • Local Moderators
  • 543 posts
  • Gender:Male
  • Location:Wyoming
  • Interests:Music editing/Remixing, hiking, orienteering, 4 wheeling, reading (yes like books and such), and...
brings me to the same place as the screenshots above. the commands executed successfully, then went back in and deselected the efi in the vm.

still hangs at starting darwin x86_64

#29
ZackehSoul

ZackehSoul

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
  • Gender:Male
  • Location:Leeds, UK
Wait you deselected it? I thought it already was. :P

Try it renabled

#30
Mr.D.

Mr.D.

    There are those who call me...

  • Local Moderators
  • 543 posts
  • Gender:Male
  • Location:Wyoming
  • Interests:Music editing/Remixing, hiking, orienteering, 4 wheeling, reading (yes like books and such), and...
it reenabled it with those commands you gave me... it was deselected before. I have reenabled it and the boot is SUPER slow - and doesnt get past the oracle VirtualBox splash screen - just like it hasn't every time I have selected the efi option. It stays at the splash screen for a minute, then to the black screen of suck.

well - perhaps I have been impatient before because this just popped up:

Attached File  after enble efi.PNG   87.9KB   22 downloads

it took three minutes to get there, but something finally happened. I have to step away for 90min to 2 hours, so I'll let it stew and see if anything else pops up.

#31
ZackehSoul

ZackehSoul

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
  • Gender:Male
  • Location:Leeds, UK
If that breaks or freezes, go into it afterwards and

rm /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext

then reboot and see what happens

#32
Mr.D.

Mr.D.

    There are those who call me...

  • Local Moderators
  • 543 posts
  • Gender:Male
  • Location:Wyoming
  • Interests:Music editing/Remixing, hiking, orienteering, 4 wheeling, reading (yes like books and such), and...
Booted with BL.
The rm command failed.
Then I tried sudo rm - success, but...
... when I booted the same thing happened, in the same location.
*head scratch*
So I rebooted with the BL, and went tot the directory and moved the file to the trash. I noticed the mod date for the file was yesterday, so I knew it hadn't be rebuilt from the time that I suposedly rebuilt it till the reboot.
I rebooted, switched the VM stuff back...
... and after a really long time I got this:

Attached File  unknown4 of getvar called.PNG   69.98KB   16 downloads

#33
ZackehSoul

ZackehSoul

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
  • Gender:Male
  • Location:Leeds, UK
What have you installed in your VM so far? (summary will do)

#34
Mr.D.

Mr.D.

    There are those who call me...

  • Local Moderators
  • 543 posts
  • Gender:Male
  • Location:Wyoming
  • Interests:Music editing/Remixing, hiking, orienteering, 4 wheeling, reading (yes like books and such), and...
Well - nothing. I did have SRWare Iron as my browser because its the cat's ass, but I had been reading some things online about peoples issues with VB, and two of them came up a lot - one was 32 vs 64 and the other was a downgraded version 4.1.8 of VB. SO I decided to try both. First, I created a new VM but not selecting the 64bit part when creating it. No luck, all bad. So then I decided to start over - from the beginning. I uninstalled VB 4.1.22 and went with .8 but, I got the same damn errors. In both cases. So I knew that wasn't MY issue at least. I then re-installed the newer version of VB (choose 4.2 this time) and installed the VM. For some reason I had a hell of a time getting a bootloader to not give me the OS VERSION NOT YET SET error, but I finally got it to work with (NawCom) OSX86_ ModCD-031111-171757. I previously used just the generic nawcomModCD, but for some reason, it wasn't happening last night - at like 2 am.

I have it installed now, just the bare system with NOTHING else on it. But I cant get it to map an SMB server to get my files. I'm thinking something about that particular bootloader wasn't playing nice and now its disabled. I am burning a CD now, and I'll play with SMB later. My idea is to get the files copied to the machine (by files I mean my 1001 different versions of Chameleon), take a snapshot so I don't ever have to do that again - then muck around with getting some flavor of Chameleon installed. With your tips, I feel confident that I can get 10.6.8 installed at any time. I want the SMBios to work so I can then go get MountainLion and start this whole clusterfƱ¢Җ all over again!

I was warned this would be painful - and they were right. I think I'd rather play with this then do this all over again.

#35
Mr.D.

Mr.D.

    There are those who call me...

  • Local Moderators
  • 543 posts
  • Gender:Male
  • Location:Wyoming
  • Interests:Music editing/Remixing, hiking, orienteering, 4 wheeling, reading (yes like books and such), and...
after failed chameleon 2 rc3 r658, which looks like its specifically for snow leopard, I tried Chimera 1.11.1 (against my better judgment) and it failed, then tried myHack 3.1.2 and I was able to pull these screen shots - there were more screens, but these seemed important. I can capture every screen if that would help.

Attached File  after myHack 1.PNG   101.94KB   15 downloadsAttached File  after myHack 2.PNG   88.38KB   21 downloadsAttached File  after myHack 3.PNG   88.7KB   27 downloads


here is the log file from my most recent version of chameleon to install...

Attached File  chameleon 2.1svn-r2064 log.PNG   648.14KB   27 downloads

and it stops in exactly the same place.

I dont think this is a chameleon issue, and I dont think its a VB issue. The only two variables that have NOT changed are me and my hardware.

SO now the question is: is it a PEBCAK error, or is it that my machine is too new/awesome to do this? The last option would be bittersweet - because I cant even GET ML w/o being able to upgrade this VM to 10.6.8 and have the app store be able to verify it.

Is it me? What did I do wrong? Why do you hate me VirtualBox and SnowLeopard? WHY?? WHY???

#36
dmazar

dmazar

    InsanelyMac Sage

  • Coders
  • 256 posts
  • Gender:Male
Some time ago I have installed Lion following pippox0's guide from here. Did not have any issues. Installed Chameleon to VBox drive and all works fine. EFI mode also. Have SnowLeo and ML there also for tests, but those were installed by copying my existing disk images from real disks, did not try to install inside VBox. Maybe to check VM parameters from pippox0's guide?


Edit: For debugging bootloader problems use DarwinDumper. Just check "Disk, partitions and loaders option" and post resulting file here.

#37
Mr.D.

Mr.D.

    There are those who call me...

  • Local Moderators
  • 543 posts
  • Gender:Male
  • Location:Wyoming
  • Interests:Music editing/Remixing, hiking, orienteering, 4 wheeling, reading (yes like books and such), and...

What we need
a) an Intel Core Duo2 Host computer ( mine Optiplex 760)
Windows XP or win7 (I use WinXp 32bit to run Virtualized OSX Lion 64bit on VB)
Needed (VT-x) enabled on Bios PC
2GB of phisical Ram or more
VirtualBox 4.0.4 or later

B) Hackintosh running Mac Os X to create Lion.dmg and iso

Look at my New Post [Easy Guide] more over on this discussion....

0. Create OSX Lion DVD
------------------------
Follow any guide here in the forum
I followed MalD0n Guide
http://www.insanelym...howtopic=256729

To boot Lion in VMM OSinstall.mpkg must be patched ... because inside there is a check for virtualization ...

->Copy OsInstall.mpkg from /System/Installation/Packages to Desktop
open it with Flat Package Editor
drag the file "distribution" somewhere (Desktop will do)
open "distribution" in a text editor and find "virtualization Check" inside

Find this ...
-----------
function isVirtualMachine(){
var cpuFeatures = system.sysctl( 'machdep.cpu.features' );
cpuFeatures=cpuFeatures.split(" ");
for( var i = 0; i &lt; cpuFeatures.length; i++ ){
if( cpuFeatures[i] == "VMM" ){
return true;
}
}
return false;
-------------

-> Change from true to false
if( cpuFeatures[i] == "VMM" ){
return false;

and save "distribution"
drag back the file "distribution" in Flat Package Editor
Save mpkg and drag back to /System/Installation/Packages

Remember that, if you have only 2 Gb Ram on Host computer , also to modify MinimumRAM needed from 2048 to 1024 or lower in the file "distribution" before you copy back )

that's all !


00) Create ISO from DMG
Inside DMG copy olso Mach_kernel and KernelCache
Hint : You have to recreate DVD Hybrid ISO using terminal and
hdiutil makehybrid -iso -joliet -hfs -o OSXLion.iso Lion.dmg



1. Create virtual machine:
--------------------------
VM Name and OS Type

* Name: OSX Lion
* Operating System: Mac OS X
* Version: Mac OS X Server (64 bit)
* enable virtualization in BIOS HOST computer (VT-x)
* Memory 1024 MB (minimum)
* Virtual Disk Size: 20GB (or more)
* Boot Order: CD/DVD-ROM, Hard Disk
* Extended Features: Enable IO APIC
* Extended Features: Enable EFI

2. Set Option in VM
-----------------------
Enable Hardware clock in UTC time
Enable absolute pointing device

Display Video Memory: 32 MB
Extended Features: Enable 3D Acceleration

Storage SATA controller for HDD image Type: AHCI
IDE Controller for CD/DVD device Type: ICH9

Audio Host Audio: Windows Direct Sound
Audio Controller: Intel HD Audio

Network
* Enable Network Adapter
* Attached to: NAT
* Adapter Type: Intel PRO/1000 MT Server (82545EM)
* Cable connected


3. Installation
---------------
Download HackBoot.iso from Mald0n guide to boot Lion ( we needed it later)
http://www.insanelym...p...st&id=94070

Link osxLion.iso to DVD emulation and run Virtual Machine
- Choose the language you want
- Choose Disk Utility in the menu Utilities
- Choose the VBOX Hard Disk, put the name OSXLion and press Erase button
partition scheme GUID and HFS+ journaled
- When finished close the Disk Utility and continue
- Now you should be able to choose the formated drive and then choose install button

- Now it should install OSX Lion on your volume (Notice that it will take ~15 min to finish!)


4. Post Installation
--------------------
To be able to start Lion you have to use “Hackboot.iso”
remove Enable EFI flag from VB
Boot HacBoot on DVD emulation

- Choose OSXLion HD and press Enter
- Create user ....

- Now we have to delete /System/Library/CoreServices/PlatformSupport.plist file.
- now using Kexthelper install these Kexts

* fakesmc.kext
* nullCPUPowermanagenent.kext

- Shutdown VM ( if it does'nt close VM)

- Re Enable EFI flag , that you find under Settings - System
- remove HackBoot.iso from DVD emultation
- Start OSXLion

Greetings to every geek on this forum

Enjoy your lion on VB!

PippoX0



Note:
------------------------------------------------------------------------------
everything works !! :Audio OK, networl OK , video OK ( No Qe/CI - i have tested ..)

Appstore Works ..., LaunchPad works , ecc. i also tested Server.app and works ..

You can also choose to update your OSX Lion (downloaded last Apple patches and works ...)


What I dont have is:

an Intel Core2 duo processor - I have an i5-3570k IvyBridge. This may be a big issue.
A working hackintosh to create the .dmg file
the ability for the VM to boot from a USB stick - which is what is required using the referenced guide by MalDOn in topic 256729.

HackBoot.iso FAILS to load at all in VB for me - stuck at Boot Args: bootuuid=1ca47655-13E3-3073-A102-7B9CEC98BFEC rd=*uuid -v

By the way - I tried HackBoot.iso, HackBootv7.iso and HackBootv5.iso



Some time ago I have installed Lion following pippox0's guide from here. Did not have any issues. Installed Chameleon to VBox drive and all works fine. EFI mode also. Have SnowLeo and ML there also for tests, but those were installed by copying my existing disk images from real disks, did not try to install inside VBox. Maybe to check VM parameters from pippox0's guide?


Edit: For debugging bootloader problems use DarwinDumper. Just check "Disk, partitions and loaders option" and post resulting file here.


How do I use the darwindumper app on my darwin that fails to load? all this will tell me is about the bootloader .iso that IS working, not the one that fails to boot. Unless I am missing something and it will generate a file even w/o successful boot, then I can re-enable the iso chameleon bootloader and view the file?? This app seems more for somebody with config issues, not with outright FAIL issues.

I can definately NOT get the EFI to work. I have tried several ways, including those listed above and NONE work at all. I dont understand why it works for other but not on my system.


If the problem truly is SnowLeopard/my hardware - how do I get a legit copy of Lion, or even ML to run with w/o being able to upgrade my SL install to 10.6.8 and have the app store read my system specs correctly?

I appreciate the suggestions!! Have any more??

#38
Mr.D.

Mr.D.

    There are those who call me...

  • Local Moderators
  • 543 posts
  • Gender:Male
  • Location:Wyoming
  • Interests:Music editing/Remixing, hiking, orienteering, 4 wheeling, reading (yes like books and such), and...
I am at a total loss here. I started over and it just seemed to make things even more flaky. I have 2 VMs installed. One is my testing, and the other was generic. I'm using the afore mentioned nawcom ModCD to boot, but sometimes - and only sometimes - it hangs here:

Attached File  why.PNG   108.19KB   12 downloads

Why? it makes no sense that this isn't even a CONSISTENT error... much less so why its hanging at that particular spot.

I am nearly ready to say forget it and stop with this project completely.

#39
Mr.D.

Mr.D.

    There are those who call me...

  • Local Moderators
  • 543 posts
  • Gender:Male
  • Location:Wyoming
  • Interests:Music editing/Remixing, hiking, orienteering, 4 wheeling, reading (yes like books and such), and...
so I decided to try installing 10.6.8 again - using the previous successful methoud. This time it failed here:

Attached File  new error after 10.6.8 upgrade.PNG   121.56KB   17 downloads

I dont even know what to say. I did EVERYTHING the same as I did before. Last time it worked, this time it fails. Now I cant even do the upgrade that gets me nothing in the first place.

... just one more thing to add on to the pile of crap that doesn't make any sense at all.

I am about 24 hours away from resolving myself to never getting better than 10.6.3.

#40
Mr.D.

Mr.D.

    There are those who call me...

  • Local Moderators
  • 543 posts
  • Gender:Male
  • Location:Wyoming
  • Interests:Music editing/Remixing, hiking, orienteering, 4 wheeling, reading (yes like books and such), and...
Just for a recap of what I have learned I CANT do:

I cant integrate any version of Chameleon/Clover into my vanilla 10.6.3 VM
I cant reliably upgrade to 10.6.8
I cant get the App Store to recognize my machine specs (or fake specs for that matter) on the one instance that was successful
I cant download 10.(greater than)6.8 to try for a new VM
I cant use EFI
Use 64bit kernel

Here is what I can do:

Install 10.6.3 in 32bit mode and forever boot with a bootloader.

Unless anyone else has some suggestions - this work in progress is halted.





Also tagged with one or more of these keywords: Oracle, VirtualBox, Snow Leopard


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy