Results 1 to 5 of 5
I've been maintaining my own Ubuntu server for about 2 years now. Recently, my old hard drive failed to boot and I decided to replace the drive. Replacing the drive ...
- 08-28-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 7
Mounting Old Drive
I've been maintaining my own Ubuntu server for about 2 years now. Recently, my old hard drive failed to boot and I decided to replace the drive. Replacing the drive now allows the system to boot. I am currently running Ubuntu Server 10.4. I also decided that I would like to try and recover my lost files from the other drive as I had some interesting PHP projects that I had been playing around with stored in my /var/htdocs from the old drive. The old hard drive is connected via SATA and is able to be mounted. The issue I am currently experiencing is the folders and files I am currently able to view does not fulfill what I am looking for. I am only capable of seeing /var/run and /var/lock. How do I configure this to allow me to access my old /var/htdocs?
- 08-28-2010 #2
umount the old drive and run fsck on it, to begin with.
- 08-28-2010 #3Just Joined!
- Join Date
- Aug 2010
- Posts
- 7
I've already mounted it with mount and unmounted it with umount multiple times, and I'm able to see some files and directories, but I'm wanting to access additional folders, for instance I can see what appears to be system files but I'm trying specifically to get in to /var/htdocs. I will try an fsck but I don't really think that will make a difference.
Last edited by adabard; 08-28-2010 at 11:50 PM. Reason: Typo
- 08-29-2010 #4Just Joined!
- Join Date
- Aug 2010
- Posts
- 7
Ran a fsck, there are definitely errors on the disk, I can't do it with -a.
- 08-30-2010 #5
Then try it with -r and launch a good prayer to the gods? In case it doesn't work, store things in safe places like RAID arrays or across multiple machines. That most of the times safes you from data loss and may help you in the future.


Reply With Quote