Jump to content
harrydeo

Mac OS X Lion (Developer Preview) Released

1,573 posts in this topic

Recommended Posts

I made an AnVAL (5.1.4) for Lion.

It boots like PC EFI 10.6 for Lion from Netkas.

It supports lots more features though...

 

Download source patch:

http://rapidshare.com/files/455493508/valv..._Patch.diff.zip

 

Download boot loader:

http://rapidshare.com/files/455493526/AnVAL_Lion.zip

 

1 step closer to a booter, just need someone to point us to how to use AnV's work. I tried adding AnV's files to Chameleon3, but no go. I guess someone can do a let me google that for you. It sucks to not be able to find an answer, and not know where to search for it. But at least we have xpc and [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url].

Share this post


Link to post
Share on other sites
Advertisement
DHP Returns

Good to see you back

Yeah I am back (had a funny name for a while). Now with a 5.5GHz water cooled screaming eagle under my desk :)

 

 

1 step closer to a booter, just need someone to point us to how to use AnV's work. I tried adding AnV's files to Chameleon3, but no go. I guess someone can do a let me google that for you. It sucks to not be able to find an answer, and not know where to search for it. But at least we have xpc and [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url].

No disrespect, but anything using open source code and not being open, even after (broken) promises should not be used / supported at all.

 

Wait for say this instead. That is open source. That is the way to go.

 

Anyone else getting this error when logging into the Mac App Store?

LOL You didn't know? You don't read blog posts much?

 

Do not use the Apple store (et all) without having an Apple Mac developer account and running Lion on a real Mac, or you will be in for a surprise one day soon.

Share this post


Link to post
Share on other sites
I made an AnVAL (5.1.4) for Lion.

It boots like PC EFI 10.6 for Lion from Netkas.

It supports lots more features though...

 

Download source patch:

http://rapidshare.com/files/455493508/valv..._Patch.diff.zip

 

Download boot loader:

http://rapidshare.com/files/455493526/AnVAL_Lion.zip

 

Doesn't work here, I get "Can't perform kext scan" error. :)

Guess I will have to wait for the patched Atom/Celeron kernel :)

Share this post


Link to post
Share on other sites
Here's a modified OSInstall.mpkg for Developer Preview 2

 

Instructions for decompiling the mpkg for those who are curious:

http://www.insanelymac.com/forum/index.php?showtopic=181287

 

This is untested, as I can't get either XPC or [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] to work with my GA-P67A-UD3-B3 Sandy Bridge system even though Lion kernel apparently works for the new architecture (MBR Start!, then black screen). Those who did get a working Sandy Bridge install- Did you have to set the multiplier to 29 like in Snow Leopard?

 

EDIT: New version should work now

 

I was having the same problem with my X58A-UD3R, it was driving me crazy, i ended up going into the bios, and disabling eveything i don't need, sata3, usb3 etc. Finally, [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] and XPC booted past the MBR start! & the Black screen!

Share this post


Link to post
Share on other sites
I made an AnVAL (5.1.4) for Lion.

Good job Andy.. it's just booted my system here. :)

Even though I still get a df sometimes with it, same as I would with Netkas' modded RC3.

 

Yeah I am back (had a funny name for a while).

Good to see you have your name back.

Share this post


Link to post
Share on other sites

you have to see the anv post when he announced the anval bootload..

it is NOT a bootloader like chamaleon.... is an EFI method.. in EFI partition.. so if you format a disk in GPT.. the EFI is the one you have to work with.

 

so this fit lion because the behaviour is different..

Share this post


Link to post
Share on other sites

A lot different than DP1. First off, both [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] 15a and XPC .082.29 boot DP2 OK.

My ATI 5450 no longer works! At first I checked the new kexts that came with DP2, and they are different than those of DP1. I tried replacing, one by one, those that I thought would be relevant to my card.

But that did not work either. SO I changed all the kexts to DP1 kexts. It made no difference. No QE/CI. WHat's up with this? anyone have ideas?

Share this post


Link to post
Share on other sites
Do not use the Apple store (et all) without having an Apple Mac developer account and running Lion on a real Mac, or you will be in for a surprise one day soon.

 

 

Can you be be a little more specific?

Share this post


Link to post
Share on other sites
I made an AnVAL (5.1.4) for Lion.

It boots like PC EFI 10.6 for Lion from Netkas.

It supports lots more features though...

 

Download source patch:

http://rapidshare.com/files/455493508/valv..._Patch.diff.zip

 

Download boot loader:

http://rapidshare.com/files/455493526/AnVAL_Lion.zip

 

Can you post also the newest options / keys for that new AnVAL version ?

 

 

 

you have to see the anv post when he announced the anval bootload..

it is NOT a bootloader like chamaleon.... is an EFI method.. in EFI partition.. so if you format a disk in GPT.. the EFI is the one you have to work with.

 

so this fit lion because the behaviour is different..

For my knowledge ANV bootllaoder works with both MBR+GPT/GUID part types. I used anv on my MBR system and never used GUID/GPT.

Share this post


Link to post
Share on other sites
Yeah I am back (had a funny name for a while). Now with a 5.5GHz water cooled screaming eagle under my desk ;)

 

 

 

No disrespect, but anything using open source code and not being open, even after (broken) promises should not be used / supported at all.

 

Wait for say this instead. That is open source. That is the way to go.

 

 

LOL You didn't know? You don't read blog posts much?

 

Do not use the Apple store (et all) without having an Apple Mac developer account and running Lion on a real Mac, or you will be in for a surprise one day soon.

 

Thanks, Slice has helped me a lot. I get your point. I appreciate being pointed in the right direction, as I usually get insulted. Take care, johnm

Share this post


Link to post
Share on other sites
Here's a modified OSInstall.mpkg for Developer Preview 2

 

Instructions for decompiling the mpkg for those who are curious:

http://www.insanelymac.com/forum/index.php?showtopic=181287

 

This is untested, as I can't get either XPC or [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] to work with my GA-P67A-UD3-B3 Sandy Bridge system even though Lion kernel apparently works for the new architecture (MBR Start!, then black screen). Those who did get a working Sandy Bridge install- Did you have to set the multiplier to 29 like in Snow Leopard?

 

EDIT: New version should work now

 

Thank's a lot for posting. ;)

I could install preview 2 like preview 1 with iBoot4 on Zotac Geforce 9300 my DSDT is as is so not very performant.

No sleep and sound crunchy. Again Thank's

;)

Share this post


Link to post
Share on other sites
Can you be be a little more specific?

I'm not saying that Apple will go after you but I'm also not saying that this can't happen. More like that Apple is going to block certain individuals from using certain services. Stuff you and I may want to use (in the near future) but then it is POOF. Busted!

Share this post


Link to post
Share on other sites

That modded OSInstall.mpkg for Developer Preview 2 (fixed) also didnt allow install on MBR volumes.

I think with Lion something changed - i before also tried to modd the .mpkg and got same non working (MBR) result.

I know used an USB Stick (8 GB) GUID to install and cloned that afterwards to my MBR volume (with CCC).

Share this post


Link to post
Share on other sites

ok ive been following this topic, and have read the whole thing at least twice... i just want a bit of clarity here..

correct me if any of this is wrong...

1.) you can install dev 2 on a partitioned hard drive, but you must use a bootloader from a usb stick, the bootloader will not run from the hd..

2) you can install dev 2 on a usb stick and run it

3) the only bootlaoders that will work are chameleon rc3 with netkas (sp?) boot file, xpc, [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] (not tony's), or the new anval.

4) do not open app store (unless your a dev.)

5) 10.7 dev will run on my computer (see specs in signature)

6) in order to boot from usb stick, you must format it from windows (was dreading this cause if u see my signature i dont have windows installed, but i just realized as im typing this that i take care of 4 windows pc's in this house... duh...)

 

just wanna make sure i have all the facts i can find before i try, im sure theres quite a few people out there with my setup that would love to know it works and how... sorry if im annoying anyone...

Share this post


Link to post
Share on other sites
ok ive been following this topic, and have read the whole thing at least twice... i just want a bit of clarity here..

correct me if any of this is wrong...

1.) you can install dev 2 on a partitioned hard drive, but you must use a bootloader from a usb stick, the bootloader will not run from the hd..

2) you can install dev 2 on a usb stick and run it

3) the only bootlaoders that will work are chameleon rc3 with netkas (sp?) boot file, xpc, [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] (not tony's), or the new anval.

4) do not open app store (unless your a dev.)

5) 10.7 dev will run on my computer (see specs in signature)

6) in order to boot from usb stick, you must format it from windows (was dreading this cause if u see my signature i dont have windows installed, but i just realized as im typing this that i take care of 4 windows pc's in this house... duh...)

 

just wanna make sure i have all the facts i can find before i try, im sure theres quite a few people out there with my setup that would love to know it works and how... sorry if im annoying anyone...

 

you can use a MBR harddrive partition in fat for the bootloader except for Chameleon/boot file (GUID) ... and you can prepare harddrive/stick from OSX with "XPC Boot Prepare Tool" ...

Share this post


Link to post
Share on other sites
you can use a MBR harddrive partition in fat for the bootloader except for Chameleon/boot file (GUID) ... and you can prepare harddrive/stick from OSX with "XPC Boot Prepare Tool" ...

 

ok cool ty very much, i hate booting from a usb stick, and im formatted to guid, and its a laptop so i have only one drive... think im stuck with a usb stick or i wont be able to boot 10.6.7.. its cool, im gonna try and get another drive, and do everything with lion on its own drive and usb stick, that way i wont take the chance of not being able to boot anything..

 

im very curious to know if my dsdt is going to work for the x3100 card... it runs on factory kexts, but i was a victim or the "sleep display" problem, (fixed in the dsdt, hence my fear :()so im hoping it will work right... :) anyone know how the performance of lion is with this video card? i play cod 4 regularly (doesnt play "amazing" but good enough;)), so im thinking it will be ok :D

Share this post


Link to post
Share on other sites
Does this mean that the Chameleon source tree is officially dead now? I mean this is yours, correct?

 

http://forge.voodooprojects.org/p/chameleo...anches/andyvand

 

So if that's a no - yes then why don't you use it?

 

BTW: You don't need all this:

+extern void   __bzero(void * dst, size_t len);

+void __bzero(void * dst, size_t len)
+{
+    memset(dst, 0, len);
+}
+#endif
+
+#if 0

+void __bzero(void * dst, size_t len)
+{
+    asm volatile ( "xorl %%eax, %%eax    \n\t"
+         "cld                  \n\t"
+         "movl %%ecx, %%edx    \n\t"
+         "shrl $2, %%ecx       \n\t"
+         "rep; stosl           \n\t"
+         "movl %%edx, %%ecx    \n\t"
+         "andl $3, %%ecx       \n\t"
+         "rep; stosb           \n\t"
+       : 
+       : "c" (len), "D" (dst)
+       : "memory", "%eax" );
+}
+

At least not when you fix md5c.c like I did. And may I suggest to move the include (new boot.h) to boot.h?

The original source code came from valv's branch over at the Chameleon SVN server.

I modified it and will take your tips into consideration....

Thanks for the info...

 

Doesn't work here, I get "Can't perform kext scan" error. ;)

Guess I will have to wait for the patched Atom/Celeron kernel ;)

If you need a patched Atom/Celeron kernel for DP2, upload the mach_kernel and kernelcache files for me.

I'll modify them the same way as I did the DP1 kernel.

Next I'll upload the results...

Share this post


Link to post
Share on other sites
The original source code came from valv's branch over at the Chameleon SVN server.

I modified it and will take your tips into consideration....

Thanks for the info...

 

 

If you need a patched Atom/Celeron kernel for DP2, upload the mach_kernel and kernelcache files for me.

I'll modify them the same way as I did the DP1 kernel.

Next I'll upload the results...

 

I'm not sure how this stuff works, but is it possible to install Lion on a AMD processor yet? I've seen tutorials and feedback messages, but all those hardware features a Intel processor, I know why it would be easier to make it work with Intel, because Apple computers are Intel.

 

//I feel really dumb for asking this// heh.

Share this post


Link to post
Share on other sites
I'm not sure how this stuff works, but is it possible to install Lion on a AMD processor yet? I've seen tutorials and feedback messages, but all those hardware features a Intel processor, I know why it would be easier to make it work with Intel, because Apple computers are Intel.

 

//I feel really dumb for asking this// heh.

None of the OsX versions works with the vanilla kernel, so until it will be relesased and the source made pubblic I see it hard to find Ptched kernel that boots on amd systems.

 

 

Abuot the CrApp Store... don't use it at all on your Mac either. Even if it is really collecting info about all our stuff just for finding out what we need to upgrade.

First your CrApps will work only on the Mac that downloaded them, no more usb with a lot of useful portable apps on it to use on other Macs. Even the free ones.

 

Actually it's a monopoly that put a lot of question about how it works and cost to users and developers (not only in terms of money), for now it has duplicated the work of all the already on the market developers offering apps that are using not permitted frameworks (they now have almost all a lite version on CAS), there is no way for upgrade an app without redownloading it all (that's not nice for an app that need to stay uptodate with web services that can change quickly and have a lot of small updates to keep the compatibility).

Also the revision process on the updates will slow down the time to have a system safe and working after a security issue is discovered and fixed.

List goes on but I'm going OT...

Share this post


Link to post
Share on other sites
None of the OsX versions works with the vanilla kernel, so until it will be relesased and the source made pubblic I see it hard to find Ptched kernel that boots on amd systems.

 

That's one of the things I'm mainly confused about, normally Nawcom releases a Kernel for AMD systems (correct?), so we'll just have to wait for him to release one compatible with Darwin 11.0.0 / 10.7.0.

Share this post


Link to post
Share on other sites
That's one of the things I'm mainly confused about, normally Nawcom releases a Kernel for AMD systems (correct?), so we'll just have to wait for him to release one compatible with Darwin 11.0.0 / 10.7.0.

Yes this is correct,

but usually is needed the source that Apple publish after an official release, and do not for the dev release, so there will be no source from Apple that can be patched until Lion official release i guess.

Share this post


Link to post
Share on other sites

I found a way to run Lion's kextcache tool (patched) under Snow Leopard by:

sudo chroot /Volumes/Mac\ OS\ X\ Base\ System

and next executing the patched kextcache tool (attached below).

kextcache_sl -K /mach_kernel(_atom) -L -c /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache /System/Library/Extensions

Just thought I'd share ;)

Put kextcache_sl under /usr/sbin.

It probably works native under SL too if you copy over some additional libraries and frameworks (present in Lion, absent in Snow Leopard).

kextcache_sl.zip

Share this post


Link to post
Share on other sites

I can not get DP2 to update my DP1 of Lion.

Tried it with the Netkas infos:

But I only get a grey Desktop + spinning circle in the left upper corner. When I boot the Partition with my modified Base install (+ copied packages)...

 

Is there a way to update from within DP1 to DP2 ?

Here I get from the modified installer no files to copy...the normal installer doesn't work.

Share this post


Link to post
Share on other sites

Thank you, Andy, for your never ending support !

I tried your build, but it seems old-known Double-Fault kernel picnic appears again :hysterical:

Hardware is :

- GA-X48T-DQ6

- Intel Core 2 Quad Q9550

- Corsair Dominator DDR3 8GB

- Gigabyte Nvidia GTX285 1 GB

 

Lion was installed on second SATA-II channel, on second partition in the MBR-part,

the disk structure is GPT/Hybrid MBR.

 

Test build - Mac OS X Lion DP 2. Hope this would help, greetings !

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×