3

I moved some kext files from /System/Library/Extensions to ~/DisabledExtensions and now my Mac doesn't boot giving me "kernel panic" error related to some ATAPI driver.

I want to copy these kext files back on their place. How do I do this?

Is there some kind of Live-CD or Live-USB which will allow me to copy files?

Note:

  1. This is on macbook, so removing HD would be troublesome.

  2. I don't have another mac nearby

  3. Internet recovery doesn't work giving -2002F error

  4. There is no Recovery Partition on this macbook

  5. Single user mode and verbose mode doesn't work giving same panic error

  6. There is no Mac Os X installation DVD

Macbook Pro 15 Late 2011

1

2 Answers 2

2
  1. I solved this using Mac Os X Lion install DVD.

    • Boot your Mac from Mac Os X Lion install DVD by holding Option key at startup
    • When a window appears go to menu and find Terminal and run it
    • From inside terminal you can copy any files ( I used commands: df, ls, cd, mv ) This works for Macbook Pro late 2011 but will not work for 2012 and later models because Apple prevented them from being able to boot from install DVD or USB. Thus all recovery tools like DiskWarrior Boot DVD, Drive Genius and similar will not work on 2012 and later macs.
  2. The other option is to ask a friend with Mac to make a Recovery USB using OS X Recovery Disk Assistant v1.0 and make a DMG file from it using Disk Utility and send you over internet. Then use the TransMac application under Windows and burn DMG on your USB stick. You will be able to boot from this USB stick into Recovery Mode and from there you can run Terminal to copy\move files or do whatever you need.

Apple should distribute some bootable ISO or DMG image which can be downloaded from their website and burned on disk or USB and used to recover Mac offline.

1
  • Apple does provide bootable images, the Mac App Store installer app includes one if you right click and view package contents and their developer website has them in the downloads section. Neither is commonly advertised because internet recovery mode is the preferred option for most users. Commented Nov 16, 2018 at 3:12
0

Can you start up in Internet recovery mode by holding option-command-R on startup? If you can, try to reinstall OS X over the existing installation. Internet recovery mode is supported by all Macs that came with 10.7 or later and by some older Macs after a firmware update. It is different from the normal recovery mode and does not require a recovery partition.

If others got here searching for how to copy files to an external drive and you are able to start up in recovery mode or Internet recovery mode, you can create a disk image from Disk Utility. Hold command-R on startup, open Disk Utility, select either the OS X volume or the drive of the OS X volume, press the New Image button on the toolbar, and save the image on an external drive. Or if you can start up in single user mode, you can mount an external drive in single user mode by running

mount -uw /
launchctl load /System/Library/LaunchDaemons/com.apple.notifyd.plist
launchctl load /System/Library/LaunchDaemons/com.apple.kextd.plist
mkdir /tmp/a
mount_hfs /dev/disk1s2 /tmp/a

where /dev/disk1s2 is a disk identifer shown by diskutil list.

1
  • As I've said, Internet Recovery doesn't work giving -2002F error
    – Dmitriy
    Commented Jun 29, 2014 at 11:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .