New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.5 - Snow Leopard kernal on current Leopard install?


Thread Closed

 
Thread Tools
adriangb

 
Member Since: Apr 05, 2009
Location: Argentina
Posts: 65
adriangb is on a distinguished road

adriangb is offline
I got my hands on a copy Snow Leopard, and have a interesting question: Could I replace my current Leopard kernel with the one in Snow Leopard? Ive tried with no success: Darwin version is still 9.7.0, which I think was my Leopard version. The match_kernal file did change (was like 8mb, know is like 17, same as Leopard Server).
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,020
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
I would highly highly recommend against doing that. That can spell disaster very quickly as all kernel modules on that machine would have been compile for Darwin 9, not Darwin 10. There is a good chance that hardware will begin to cease working or worse, your computer won't boot. If you replace a kernel, for instance in Linux, you have to recompile the modules as well so everything is built for the same version. I would highly suggest you heed this advice and restore any system files on your Leopard install that you replaced with files from your SL install.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
adriangb

 
Member Since: Apr 05, 2009
Location: Argentina
Posts: 65
adriangb is on a distinguished road

adriangb is offline
I would also recommend not doing it, but, since I have a close backup, I did it. Anyways: result 0. I have not seen any trouble so far thou so I'll keep the SL kernel for know. Worst case is I re-install the system and restore the users and prefs only. If I run into any trouble I'll report back.
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,020
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
I'm pretty sure just copying files over doesn't constitute replacing the kernel. You may replace a few files but the kernel consists of various files working in unison. This includes kernel modules and unless those where rebuilt, you could very well be running some sort of hybrid system at the core. It would be very hard to completely run a system where you have a Snow Leopard kernel and a Leopard userland. There would be conflicts abound.

I can also imagine files were renamed over moved - I find it very hard to believe that all operating system calls remained the same. If they did, there would be very little difference - too little to justify a new major version. As much as I think it might be interesting to try (I love tinkering), I get the feeling you aren't running an SL kernel. Exactly what files did you copy?

Someone with more intimate knowledge of XNU (not Darwin, that is my mistake) will be better able to explicate the problems associated with such an undertaking.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
Copying the another kernel over the existing kernel does not activate it. You must reboot the system to see the new kernel. I that is when you will see the problems.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,020
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
Quote:
Originally Posted by rman View Post
Copying the another kernel over the existing kernel does not activate it. You must reboot the system to see the new kernel. I that is when you will see the problems.
This is very true. Copying over an old kernel does not change your running kernel on-the-fly because the original kernel is loaded into memory. Have you rebooted the machine?

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
adriangb

 
Member Since: Apr 05, 2009
Location: Argentina
Posts: 65
adriangb is on a distinguished road

adriangb is offline
Quote:
Originally Posted by rman View Post
Copying the another kernel over the existing kernel does not activate it. You must reboot the system to see the new kernel. I that is when you will see the problems.
Obviously. I did reboot. No issues.
Agreed, I don't think I got a full kernel at all. Only copied match_kernel. Probably missed out half the stuff.
I have only noticed one thing out of place, the firewall went nuts (can't even connect to the local server). I'm going to try going back to the old kernel, I'll report back soon (maybe tomorrow if my dad kicks me off the computer).
Note: I'm DST -3.
adriangb

 
Member Since: Apr 05, 2009
Location: Argentina
Posts: 65
adriangb is on a distinguished road

adriangb is offline
Rebooted...OK. Know lets try the stuff. WIERD, still not connecting. Wierdest of all, I'm getting the dammed "Self Assigned IP", so Fierwall still shot. I'll fully restore to a backup and tomorrow I'll se whats up.
adriangb

 
Member Since: Apr 05, 2009
Location: Argentina
Posts: 65
adriangb is on a distinguished road

adriangb is offline
In my opinion, your right, the combination of SL and LS (the short names are weird together) userland and kernal is not going to work. Too bad, would be cool to just copy a few files and get all cool code work in LS.
adriangb

 
Member Since: Apr 05, 2009
Location: Argentina
Posts: 65
adriangb is on a distinguished road

adriangb is offline
New idea: installing the "BaseSystem.pkg" from SL, and the rest (being careful not to replace half of the files) from Leopard Server?
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,020
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
First off, and I should have asked this earlier, where did you get the SL disc from?

I'm all for tinkering but this spells nothing but disaster. Mixing and matching components integral to the OS can only spell doom.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
harryb2448

 
harryb2448's Avatar
 
Member Since: Nov 28, 2007
Location: Nambucca Heads Australia
Posts: 17,729
harryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond reputeharryb2448 has a reputation beyond repute
Mac Specs: iMac i5 2.7GHz, 16GB memory, OS X.10

harryb2448 is offline
He did not say he got the disc. Pirates have it everywhere alas!
adriangb

 
Member Since: Apr 05, 2009
Location: Argentina
Posts: 65
adriangb is on a distinguished road

adriangb is offline
I got SL from a apple store (actually apple service representative) around my house. I spend some time in the store, talking and stuff, and one day he told me that he got SL from apple (I guess he is a dev), so I asked him for a me a copy.
I know, thats where the fun is. If there is no problems, there is nothing to solve, so we would still be back in the 60's. At least thats how I see it.
adriangb

 
Member Since: Apr 05, 2009
Location: Argentina
Posts: 65
adriangb is on a distinguished road

adriangb is offline
Yes, I have a copy. So you could say It's "illegal" but I don't see it that way:
1) It is not pirated.
2) Im not uploading it anywhere, just using it for stuff like this.
Plus, I'm pretty sure that even if I wanted to register to be a apple dev, I couldn't (dammed age).
Kash

 
Kash's Avatar
 
Member Since: Dec 03, 2006
Location: Irvine, CA
Posts: 9,385
Kash has a brilliant futureKash has a brilliant futureKash has a brilliant futureKash has a brilliant futureKash has a brilliant futureKash has a brilliant futureKash has a brilliant futureKash has a brilliant futureKash has a brilliant futureKash has a brilliant futureKash has a brilliant future
Mac Specs: Black Macbook C2D 2GHz 3GB RAM 250GB HD iPhone 4 iPad 3G

Kash is offline
I fail to see what the purpose of this is. What do you intend to achieve with this tinkering?


June 2007
July 2009

Thread Closed


« How do I burn backups without ending up with aliases | Mac/PC Hard Drive format problem »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Dual Boot / Virtual Windows XP Machine on Mac OS X 10.5 Leopard in 20 Steps applesanity Running Windows (or anything else) on your Mac 3 03-22-2009 11:38 AM
Leopard DVD files do not appear in windows (for driver install) dgmaccoon Running Windows (or anything else) on your Mac 3 12-13-2008 09:28 PM
Windows XP install + Leopard Boot Camp = blue screen error Pelican18TQA4 Running Windows (or anything else) on your Mac 5 09-27-2008 05:10 PM
Leopard will not install mac_stupid OS X - Operating System 10 04-10-2008 07:05 PM
Leopard Install woes... blacstarr7 OS X - Operating System 3 01-23-2008 11:32 AM

All times are GMT -4. The time now is 10:39 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?