Jump to content

Stupid question for ya.


jesse steffen
 Share

7 posts in this topic

Recommended Posts

I hope I'm not giving bad advice but I think this is how you do it:

 

#1. In the terminal type sudo -s

then press enter.

 

It will ask you for your password,

type in your password and press enter.

 

#2. Open up three finders using the "open new finder window"

 

on one of the finders navigate to your desktop, make a new folder, and name something like original_files or old_files... or whatever you want to name it.

 

#3. In another finder, navigate to the new file you want to put in to replace another file.

 

#4. In another finder, navigate to the file you want to replace.

 

#5. In the terminal, type cp (which is the copy command),

 

then give it a space with spacebar,

 

then drag the old file that you want to replace from the finder (#4) into the terminal window and it will type out the path to that file,

 

give it another space with the space bar.

 

then drag the new folder you made from your desktop (or from the finder you used to make it) into the terminal and it will type the path to it.

 

(now you have copy command+space+what to copy+space+where to put that copy)

 

press enter.

 

check your new folder to see if it is in there.

 

#6 Type rm (which is the remove/delete command),

 

give it a space,

 

then drag that same you file you did before from the finder (#4) that has it's original location, into the terminal,

 

press enter

 

it's gone now... but you have a backup copy in your new folder.

 

#7. Now do the cp command again to place a copy of the new file into the old files location.

(copy command+space+what to copy+space+where to put that copy)

 

#8. Look around in one of these threads or the wiki it will tell you how to clear your cache, i have it written down but not here where I am right now. ( i really don't even know if you do that after replacing a kernel, but you do after changing kexts.)

 

#9 Now use disk utility to repair permissions.

 

 

Anyone who is skilled at the terminal, feel free to correct if I have any mistakes in there.

Link to comment
Share on other sites

I hope I'm not giving bad advice but I think this is how you do it:

 

#1. In the terminal type sudo -s

then press enter.

 

It will ask you for your password,

type in your password and press enter.

 

#2. Open up three finders using the "open new finder window"

 

on one of the finders navigate to your desktop, make a new folder, and name something like original_files or old_files... or whatever you want to name it.

 

#3. In another finder, navigate to the new file you want to put in to replace another file.

 

#4. In another finder, navigate to the file you want to replace.

 

#5. In the terminal, type cp (which is the copy command),

 

then give it a space with spacebar,

 

then drag the old file that you want to replace from the finder (#4) into the terminal window and it will type out the path to that file,

 

give it another space with the space bar.

 

then drag the new folder you made from your desktop (or from the finder you used to make it) into the terminal and it will type the path to it.

 

(now you have copy command+space+what to copy+space+where to put that copy)

 

press enter.

 

check your new folder to see if it is in there.

 

#6 Type rm (which is the remove/delete command),

 

give it a space,

 

then drag that same you file you did before from the finder (#4) that has it's original location, into the terminal,

 

press enter

 

it's gone now... but you have a backup copy in your new folder.

 

#7. Now do the cp command again to place a copy of the new file into the old files location.

(copy command+space+what to copy+space+where to put that copy)

 

#8. Look around in one of these threads or the wiki it will tell you how to clear your cache, i have it written down but not here where I am right now. ( i really don't even know if you do that after replacing a kernel, but you do after changing kexts.)

 

#9 Now use disk utility to repair permissions.

Anyone who is skilled at the terminal, feel free to correct if I have any mistakes in there.

 

More simple way of doing it is this

 

1) make a read/write dmg of it

2) load termnial

3) sudo -s

4) enter password

5) cd /blah/ (being where your read write dmg us)

6) hdiutil attach -readwrite blah.dmg -owners on

 

now you can close termnial and use the gui to replace what ever you like

 

Ben

Link to comment
Share on other sites

 Share

×
×
  • Create New...