ukahmet87 Posted August 16, 2009 Share Posted August 16, 2009 Hey guys, whats happening here is that when i load up Terminal within Mac OS, i can backup the relevant folders using this method.. sudo -s [enter password] cp -r /System/Library/Extensions /System/Library/Extensions.backup cp -r /mach_kernel /mach_kernel.backup and i was of the thought that people back these folders up just incase they cat boot into mac no more, which therefore would mean that in order to replace the current folders with the backup ones, we would have to use terminal within the Darwin bootloader. Which is what im doing to test out whether it works but: When i use the below commands to restore the folders i get a message which says no such file or directory?????????? sudo -s [enter password] cp -r /System/Library/Extensions.backup /System/Library/Extensions cp -r /mach_kernel.backup /mach_kernel What am i doing wrong here? ive also tried to do the same procedure in (-S F8 mode at boot) Link to comment https://www.insanelymac.com/forum/topic/180180-i-cant-backuprestore-kext-folder/ Share on other sites More sharing options...
ukahmet87 Posted August 16, 2009 Author Share Posted August 16, 2009 shall i use capital R when backing up as well? Link to comment https://www.insanelymac.com/forum/topic/180180-i-cant-backuprestore-kext-folder/#findComment-1227678 Share on other sites More sharing options...
SticMAC™ Posted August 16, 2009 Share Posted August 16, 2009 You can use.. you can do this command in the terminal.. 1. sudo -s 2. type your password after 3. cp -R /System/Library/Extensions/* /Backup /Backup will be the directory in the root where all your kexts will be! REMEMBER: Its the TARGET Folder you want to backup first then the DESTINATION! I see you have yours the otherway round on the second post! Link to comment https://www.insanelymac.com/forum/topic/180180-i-cant-backuprestore-kext-folder/#findComment-1227689 Share on other sites More sharing options...
ukahmet87 Posted August 16, 2009 Author Share Posted August 16, 2009 ok but then how would i recover those backup files incase i have an error? Link to comment https://www.insanelymac.com/forum/topic/180180-i-cant-backuprestore-kext-folder/#findComment-1227817 Share on other sites More sharing options...
stooovie Posted December 13, 2009 Share Posted December 13, 2009 Exactly - how do I restore the backuped kexts via, say, DVD terminal? Link to comment https://www.insanelymac.com/forum/topic/180180-i-cant-backuprestore-kext-folder/#findComment-1357758 Share on other sites More sharing options...
stooovie Posted December 13, 2009 Share Posted December 13, 2009 Yes, I have noticed that. And I have also noticed that the issue wasn't solved. So what's your problem? Google searches point me right back here. Link to comment https://www.insanelymac.com/forum/topic/180180-i-cant-backuprestore-kext-folder/#findComment-1358548 Share on other sites More sharing options...
Recommended Posts