3507 Views 3 Replies Latest reply: Mar 14, 2010 8:48 PM by Kappy
If the file is on the Desktop then at the single-user mode prompt enter:
This will list the files on your Desktop.
Now you will need something to which you can transfer the file such as a disk drive or USB flash drive. For the sake of the commands I'll assume this disk is named "untitled" and your file is named "TheFile."
cp /Users/yourusername/Desktop/TheFile /Volumes/untitled/TheFile
This should copy your file to the other drive which you can then connect to your other computer.
As for the G4 you will need to reinstall OS X:
How to Perform an Archive and Install
An Archive and Install will NOT erase your hard drive, but you must have sufficient free space for a second OS X installation which could be from 3-9 GBs depending upon the version of OS X and selected installation options. The free space requirement is over and above normal free space requirements which should be at least 6-10 GBs. Read all the linked references carefully before proceeding.
1. Be sure to use Disk Utility first to repair the disk before performing the Archive and Install.
Repairing the Hard Drive and Permissions
Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then quit DU and return to the installer.
2. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
3. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
4. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
5. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
6. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update.
First and foremost, thank you so much for the detailed help.
I was able to list all the files on my desktop and have located the file I need. However, I am still having trouble copying it to my usb drive using the command: cp /Users/yourusername/Desktop/TheFile /Volumes/untitled/TheFile
is there a way to find out the exact name of my usb drive?
also if my file is called say 'class notes.doc'.. how should I enter it in the command? I've tried class_notes, class notes, classnotes, and all of the previous with and without the .doc ... still no success.
As for reinstalling OS X:
I was wondering if there was a way to find out how much free space you have from the single-user mode. Nonetheless, I will try what you suggested and update you as soon as my OS X cd comes in the mail.
At the prompt enter:
This will list all connected devices with their names.
Enter all filenames completely including the extension exactly as it is listed. Because there are spaces in the name you must enclose the filename in quotes (single or double.)
The "df" command above provides the information on disk space.