Like every other website on the planet, SmallNetBuilder uses cookies. Our cookies track login status, but we only allow admins to log in anyway, so those don't apply to you. Any other cookies you pick up during your visit come from advertisers, which we don't control.
If you continue to use the site, you agree to tolerate our use of cookies. Thank you!

Wi-Fi Router Charts

Click for Wi-Fi Router Charts

Mesh System Charts

Click for Wi-Fi Mesh System Charts



Updated 11/23/2011: System prompts removed from commands to prevent line truncation.

Virtual Windows Time Capsule

Welcome back. In Part 1, we gave you a turnkey Linux-based virtual appliance to turn any Windows machine into a Time Machine backup target. We also started to provide the details on how to make your own appliance. We're going to finish that up this time.

Debian Installation

We assume that you have followed Part 1 and have installed VirtualBox and created your VM. Now start up your VM and after a couple of seconds you should see the Debian installation screen.

Debian Installation Screen
Debian Installation Screen

Despite being in the UK, I am going to be creating this for my American cousins since I figure this is the largest SNB audience. But if you reside elsewhere, you can make the appropriate selections on the installation screens.

  1. Installation Screen: Install
  2. Select a language: English
  3. Select your location: United States
  4. Select a keyboard layout: American English
  5. Hostname: MyTimeCapsule
  6. Domain name: blank
  7. Root Password: tmroot
  8. New user’s name: tmuser
  9. User name: tmuser
  10. User password: tmuser
  11. Timezone: Eastern
  12. Partition disks: Guided Use entire disk
  13. Select Disk: SCSI1 (should be 1.1 GB)
  14. Partitioning Scheme: All files in one partition
  15. Partition disks: Finish Partioning and write changes
  16. Write changes: Yes

Now the system should start to extract and install packages.

  1. Kernel to install: linux-image-3.0.0-1-486 (or whichever package you downloaded)
  2. Scan another CD or DVD: No
  3. Use a network mirror: Yes
  4. Debian Archive mirror country: United States
  5. Proxy: none
  6. Participate in usage Survey: yes
  7. Choose Software to Install: Select Standard system utilities, SSH Server
  8. Install Grub on partition
  9. Reboot!

Once the system reboots you should be presented with a login. We are going to log in as root because we are going to be a bit of initial administration. However, in general, you should not remain logged in as root.

You could just type the commands contained in this article into the VirtualBox window. However, it doesn’t supporting pasting to a terminal and there are some long commands. So even though we don’t really need it, we installed SSH.

Once you have rebooted and logged in as root, type in ifconfig to find your IP address. You are looking for inet addr:X.X.X.X where the Xs represent your IP address.

Once you have this use Putty to connect to it via SSH, logging in again as root.

I have shown the full prompt in the commands below. So be sure to omit root@MyTimeCapsule:~# in each command when copy and pasting

Mount the data volume

We need to partition, format and mount the 100 GB data volume we created earlier. Commands that you must type have been italicized and bolded. System prompts have been removed to prevent line truncation.

fdisk /dev/sdb
Command (m for help):  n
Command action
  e  extended
  p primary partition (1-4)
Partition number (1-4): 1
First cylinder (1-13054, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-13054, default 13054):
Using default value 13054

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

Now you need to format it.

mkfs.ext4 /dev/sdb1

Now you need to create a place for it to be mounted and then mount it. (Prompts have been removed to prevent command truncation.)

mkdir /mnt/MyTimeCapsuleData
chmod 777 /mnt/MyTimeCapsuleData/
echo /dev/sdb1 /mnt/MyTimeCapsuleData ext4 defaults 0 0 >> /etc/fstab
mount /mnt/MyTimeCapsuleData

If you receive no errors, your drive will now be mounted.

Support Us!

If you like what we do and want to thank us, just buy something on Amazon. We'll get a small commission on anything you buy. Thanks!

Don't Miss These

  • 1
  • 2