Sep 06
This post is more for my own use, though other geeks may also find it handy. I recently had to do a hard restart of my work-issued Windows laptop. On reboot, Windows 2000 complained it couldn’t find \winnt\system or some such important file. Doh!
Using an Ubuntu Desktop CD, I was able to get the files transfered over to a substitute laptop before the sickly laptop went off for repair. Here are the steps I went through:
- Bootup from the CD
- Mounted the NTFS volumes as read-only for all users (this assumes that /dev/hda1 is the location of Windows partition; see “How to mount/unmount Windows partitions (NTFS) manually, and allow all users to read only”):
sudo mkdir /media/c
sudo mount /dev/hda1 /media/c -t ntfs -o nls=utf8,umask=0222
- This step is optional if you are not behind a proxy. Setup apt-get to work through an authenticated proxy by adding the following to /etc/apt/apt.conf:
Acquire::http::Proxy "http://USERNAME:PASSWORD@PROXY.URL.COM:PORT";
- Installed vsftpd
sudo apt-get install vsftpd
- Configured vsftpd to allow local users by enabling the following lines in /etc/vsftpd.conf:
local_enable=YES
- Restart vsftpd (note: I had to manually kill the already-running vsftd process first; for some reason the restart processes didn’t stop it):
sudo /etc/init.do/vsftpd restart
Once those steps were complete, I was able to FTP into the sickly laptop (after discovering the IP address via ifconfig) and login as “ubuntu”, no password. Once logged in, I could change directory to /media/c and begin transferring files over to the substitute laptop.
Resources
-
Kyle
-
jeremy
-
Eric
-
Kyle
-
Chris





