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!

Router Charts

Click for Router Charts

Router Ranker

Click for Router Ranker

NAS Charts

Click for NAS Charts

NAS Ranker

Click for NAS Ranker

More Tools

Click for More Tools

NAS How To

Introduction

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)
p
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.

More NAS

Wi-Fi System Tools
Check out the new Wi-Fi System Charts, Ranker and Finder!

Featured Sponsors



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!

Over In The Forums

Hiwhat is a chance that quite new repeater as RP-AC87 will get a firmware upgrade enabling create a mesh system? (I already have router RT-AC88U)ThnxL...
Hi. My usb3 flash drive is not working on the usb 3.0 port.I read on this forum that disabling this parameter can solve my issue :https://www.snbforum...
Hi everyone,I'm looking to set up a LAN at my parents house using the following gear:-Netgear D200 ADSL Modem RouterASUS RT-AC66U_B1 Router running la...
Since the last couple of versions (now on 384.5) my 5G wireless clients don't show as 5G clients in the "view list" windowIn fact the "view list" seem...
I have two DIR-655 routers, one is my main router with wireless disabled and the other is setup as a wireless AP only. Been working great for years.Re...

Don't Miss These

  • 1
  • 2
  • 3