Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

antoniomax

macrumors newbie
Original poster
Apr 2, 2009
4
0
hi

have mistaken performed a

sudo chown myuser /

on my macbook...
now it claims it cannot load several kexts like:
/system/library/extensions/system.kext/plugins/mach.kext
/system/library/extensions/system.kext/plugins/libkern.kext
/system/library/extensions/system.kext/plugins/unsuported.kext
/system/library/extensions/system.kext/plugins/bsdkernel.kext
/system/library/extensions/system.kext/plugins/iokit.kext
/system/library/extensions/autofs.kext

i need to repair the default permissions....but disk utility already said i cannot repair the disk due to this error:

the underlying task reported failure on exit

already tried to repair using the install dvd too.

found on the web this procedure:

Boot off the OS X CD (reboot, hold C while booting).
The installer will load up, go to Utilities in the menu and run Terminal.
Type df and look for the drive that has your Mac system mounted---you'll have to unmount this. On my MacBook Pro, it was /dev/disk0s2.
Type umount /dev/disk0s2, replacing disk0s2 with whatever disk your OS lives on.
Type fsck_hfs -r /dev/disk0s2. If you umounted the wrong thing, it will complain that you can't repair a mounted drive. Go back and umount the right thing and repeat this step.
(they forgot to add the step to re-mount...but its ok..)

and this one:

Single user mode (boot with -s) and then type
fsck_hfs -r /dev/volumename

will any of those save me from a archive and install?
HELP!! Those warnings cannot be good... but the system is booting and working fine till now.

thanks
 
Boot from DVD, go to disk utility, click on your disk and click repair permissions...
That should do it.
 
Already tryied that.
Doesnt work either...
Forgot something....ive used



sudo chown -R myuser /

was recursive :(
 
Either boot into single user mode (-s) if you can or boot into single user mode from dvd (-s rd=diskXsY).
Use:
mount -uw /
chown -R root:wheel /System/Library/Extensions
chmod -R 755 /System/Library/Extensions
touch /System/Library/Extensions

Hang on, you accidentally ran sudo chown?

Its pretty easy to do, I pressed enter after / accidentally before.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.