Jump to content

Noobs: Back up your kexts before upgrades !


  • Please log in to reply
8 replies to this topic

#1
marliwahoo

marliwahoo

    Marliwahoo

  • Members
  • PipPipPipPipPipPipPip
  • 604 posts
I have just helped several noobs get started with Leopard. None of them, like me when I was new to osx86, new to back up kexts, before updating.

Back up your kexts !! :D You have been warned.

#2
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
Hey, really help them, describe how can they do it. Or this is not a guide, just a sugestion.

#3
~pcwiz

~pcwiz

    InsanelyMac V.I.P.

  • Retired
  • 5,900 posts
  • Gender:Male
How about I do the guide :P

Here is the guide for you n00bs that wish to backup your kexts:

Open Terminal and type in these commands:

sudo -s
[enter password]
cp -r /System/Library/Extensions /System/Library/Extensions.backup
cp -r /mach_kernel /mach_kernel.backup

And thats about it -_- Here is how you restore the backup from Terminal:

sudo -s
[enter password]
cp -r /System/Library/Extensions.backup /System/Library/Extensions
cp -r /mach_kernel.backup /mach_kernel

If you are restoring from single user mode (-s at F8 prompt), its the same commands except type in this command before you do the above commands:

mount -uw /

Kindly correct me if I am wrong :)

#4
marliwahoo

marliwahoo

    Marliwahoo

  • Members
  • PipPipPipPipPipPipPip
  • 604 posts

Hey, really help them, describe how can they do it. Or this is not a guide, just a sugestion.



You are right. Thankfully a helpful person has done just that.

#5
marliwahoo

marliwahoo

    Marliwahoo

  • Members
  • PipPipPipPipPipPipPip
  • 604 posts

If you are restoring from single user mode (-s at F8 prompt), its the same commands except type in this command before you do the above commands:


Tiny change: I don't believe sudo is needed in single user mode. Because you are already root.

I hope that's not nit picking. If it is sorry.

#6
~pcwiz

~pcwiz

    InsanelyMac V.I.P.

  • Retired
  • 5,900 posts
  • Gender:Male
No, marliwahoo you are right :) -s puts you in #root command.

But I can't help thinking that single user mode is dangerous. Anyone could go near your computer and destroy everything from single user mode.

#7
Noom

Noom

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
  • Gender:Male
  • Location:Boulder, CO, USA.
Thanks again for your good guide, Pcwiz. :D

#8
davr0s

davr0s

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
I'd just like to say thanks for taking the time to explain how to do this, it's been very helpful :)

#9
garbage911

garbage911

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Thanks, this is helpful as every time I'm updating it's killing my install and I can't figure out how to roll back... gives me something else to try







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

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