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

Accidental deletion of CoreWLAN


Post Reply New Thread Subscribe

 
Thread Tools
endaman

 
Member Since: Apr 07, 2014
Posts: 6
endaman is on a distinguished road

endaman is offline
I did something really dumb. I deleted this file.

/System/Library/Frameworks/Core.WLAN.framework/Versions/Current/CoreWLAN

This file is used for WiFi I believe. I know this was dumb, I did not realise this was a file I thought it was a folder...

Anyway, I can not log back into my mac. When I start in safe mode after a half day it does not get me to the login screen.

When I start using Ctrl-S, I can see my files on the command line but only have read access, so I cant copy it back in from another mac.

I can't connect to online recovery because this file is missing.

Does anyone have any help for a poor dumb soul who can get into his mac book pro. 10.8

Thanks.
QUOTE Thanks
ferrarr

 
ferrarr's Avatar
 
Member Since: Jul 16, 2011
Location: RI, US
Posts: 255
ferrarr has a spectacular aura about
Mac Specs: Late 2011 15" MBP Quad 2.2 I7 OS X.9 16GB 240GB SSD & 500GB (no Optical drive)

ferrarr is offline
Did you try your Recovery partition? Start up holding "Option".

iPod 5th gen 30gb, iPad 2 16gb WiFi iOS 7, iPhone 4s 16gb iOS 7.
QUOTE Thanks
endaman

 
Member Since: Apr 07, 2014
Posts: 6
endaman is on a distinguished road

endaman is offline
This looks helpful, I can get into the recovery partition using the Option key.

In there I can open a command prompt, but how can I copy the missing file that exists in the recovery partition into the real partition?
QUOTE Thanks
ferrarr

 
ferrarr's Avatar
 
Member Since: Jul 16, 2011
Location: RI, US
Posts: 255
ferrarr has a spectacular aura about
Mac Specs: Late 2011 15" MBP Quad 2.2 I7 OS X.9 16GB 240GB SSD & 500GB (no Optical drive)

ferrarr is offline
I don't believe the file is on the Recovery Partition, see this Article, OS X: About OS X Recovery.

Do you have a Time Machine backup or clone you can move the file from?

iPod 5th gen 30gb, iPad 2 16gb WiFi iOS 7, iPhone 4s 16gb iOS 7.
QUOTE Thanks
endaman

 
Member Since: Apr 07, 2014
Posts: 6
endaman is on a distinguished road

endaman is offline
I don't have any backup.

I can see the file I need when I boot into the recovery partition and I have the file also on a USB key. I just need to get it copied to here on my normal Machintosh HD partition..

/System/Library/Frameworks/Core.WLAN.framework/Versions/Current/CoreWLAN


I do also have the option of reinstalling the OS, but I see this as a last resort..

Last edited by endaman; 04-07-2014 at 11:04 AM.
QUOTE Thanks
endaman

 
Member Since: Apr 07, 2014
Posts: 6
endaman is on a distinguished road

endaman is offline
Maybe I should just do the re-install. According to these instructions I will not loose my user data, the install will just re-write my system files.

install - How can I reinstall Mac OS X (Lion) without erasing data? - Ask Different


Does this seem correct?
QUOTE Thanks
ferrarr

 
ferrarr's Avatar
 
Member Since: Jul 16, 2011
Location: RI, US
Posts: 255
ferrarr has a spectacular aura about
Mac Specs: Late 2011 15" MBP Quad 2.2 I7 OS X.9 16GB 240GB SSD & 500GB (no Optical drive)

ferrarr is offline
I found this, The Unix Command Line: Files & Folders, but I am not comfortable with Terminal that much.

You can wait for the more experienced Mac-Forums users to come by, or just do the reinstall. Sorry and good luck.

Yes, that does sound correct.

iPod 5th gen 30gb, iPad 2 16gb WiFi iOS 7, iPhone 4s 16gb iOS 7.
QUOTE Thanks
endaman

 
Member Since: Apr 07, 2014
Posts: 6
endaman is on a distinguished road

endaman is offline
The problem is not that I don't know the cp command it is that when I am using the terminal in recovery mode I cannot see the location on the main partition where I want to copy the file to. If I could get a terminal open on the main partition that is not read-only and I can mount a USB I am happy but this does not seem possible.
QUOTE Thanks
endaman

 
Member Since: Apr 07, 2014
Posts: 6
endaman is on a distinguished road

endaman is offline
Got it, your help def got me on the right track. Using terminal when booted into the recovery partition I was able to navigate to the corrupt file on the Macintosh HD partition via


/Volumes/Machintosh Hd/.....


Then I copied the file from the recovery partition to there.


Back in action again, thanks for the help.
QUOTE Thanks
ferrarr

 
ferrarr's Avatar
 
Member Since: Jul 16, 2011
Location: RI, US
Posts: 255
ferrarr has a spectacular aura about
Mac Specs: Late 2011 15" MBP Quad 2.2 I7 OS X.9 16GB 240GB SSD & 500GB (no Optical drive)

ferrarr is offline
This thread mentions linux mint live cd data recovery - How to copy files from an unbootable Mac? - Ask Different

Maybe this will help.

iPod 5th gen 30gb, iPad 2 16gb WiFi iOS 7, iPhone 4s 16gb iOS 7.
QUOTE Thanks
ferrarr

 
ferrarr's Avatar
 
Member Since: Jul 16, 2011
Location: RI, US
Posts: 255
ferrarr has a spectacular aura about
Mac Specs: Late 2011 15" MBP Quad 2.2 I7 OS X.9 16GB 240GB SSD & 500GB (no Optical drive)

ferrarr is offline
Very nice, glad you got it working.

iPod 5th gen 30gb, iPad 2 16gb WiFi iOS 7, iPhone 4s 16gb iOS 7.
QUOTE Thanks

Post Reply New Thread Subscribe


« Deleted OS X and now Macbook Pro only starts up in Windows XP | Drag and drop »
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

All times are GMT -4. The time now is 09:54 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?