Copying directories via terminal whilst in the install DVD?

Hi


I am not exactly sure what how this happened but I was in OS X yesterday, and when I shut it down as to do a restart, it wouldn't boot up. I went into verbose mode and it got stuck at "still waiting for root device".


I went into Linux that I have installed on my external HDD, and I looked around, and it seems like that my system/library/extensions folder is completely empty.

All the kexts are missing.

I searched online, and came across this tutorial

http://www.iclarified.com/entry/comments.php?enid=1119

Which is saying I'm able to just copy the whole extensions folder from on the install DVD to the installation so I get the kexts back.


So I am trying to do what the tutorial shows, go into the terminal into the install DVD and type this:


cp -pr /Volumes/Mac OS X Install DVD/System/Library/Extensions/*ATA* /Volumes/Macintosh HD/System/Library/Extensions/.


(Replacing the names with the correct names of the DVD and HDD, but I then have this appear:


usage: cp [-R [-H |-L | -P]] [-apvX] source_file target_file

cp [-R [-H |-L | -P]] [-apvX] source_file ... target_directory


Which is showing that it obviously weren't successful.


What am I doing wrong? I have tried without the dot at the end and without the *ATA* but still no luck.


Any help will be appreciated :)


I know that tutorial is for an install of OS X on a PC, but I've used that article because copying the kexts from the DVD to the installation is what I need to do.


Thanks

iMac, Mac OS X (10.6.3)

Posted on Aug 28, 2013 6:06 AM

2 replies

Aug 28, 2013 9:11 AM in response to Linc Davis

I worked out what I had down wrong.


I was writing it like this "/Mac OS X Install DVD/", but the terminal will not register all of that, it will only register "Mac", so you've got to put in "\" before each space

So it'd be "/Mac\ OS\ X\ Install\ DVD/". That way, the terminal registers the spaces and registers the words as whole name of that directory.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Copying directories via terminal whilst in the install DVD?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.