Using System Rescue CD to Share a Mounted Folder

System Rescue CD is an essential tool for system and data recovery. I typically use it for recovering files off fail(ing) or damaged hard drives from multiple types of systems: Windows, QNAP and OSX etc.

System Rescue CD

Download System Rescue CD here.

Find the partition to mount with:

fdisk -l

or use the graphical application gparted from the GUI (use the command startx to switch to the GUI from the command line).

The following assumes we have a NFTS partition on /dev/sdc1

First mount the partition and make it fully accessible:

mkdir /mnt/sdc1

mount /dev/sdc1 /mnt/sdc1

chmod 777 /mnt/sdc1

At this point we should be able to access the files on the Windows drive e.g

ls /dev/sdc1

Now I want share this entire drive so I can access it from any machine on the local area network.

Create the file /etc/samba/smb.conf.default

** Check this maybe filename is just /etc/samba/smb.conf

nano /etc/samba/smb.conf.default

Add the following and save (CTRL+X):

path = /mnt/sdc1
public = yes
writable = yes
printable = no
browsable = yes

Next we need to give the root user a password using:

pdbedit -a -u root

Start the Samba server with:

service samba start

Find the IP address of the machine using:


Now you should be able to access the share from any client computer on the same network.

Assuming the computer running System Rescue CD is at ip address then drive should be available at the following UNC path:


or using “Connect to Server” option in Finder on the Mac:



Installing Ubiquiti Unifi Controller on Debian Linux

The Ubiquiti UniFi controller is pre-packaged for installation on Debian and Ubuntu.


Download the latest version from

At the time of writing this is “UniFi v4.8.15 Controller for Debian/Ubuntu Linux”

Using the command prompt:

cd ~/Downloads

Install the downloaded file:

sudo dpkg -i unify_sysvinit_all.deb

This will fail due to missing dependancies, fix with

sudo apt-get -f install

Then re-install with

sudo dpkg -i unify_sysvinit_all.deb

Check the Unify service is running:

sudo service unify status

Screen Shot 2016-04-30 at 07.13.10

You should now be able to access the controller from a web browser on the local machine (ignore security warnings due to self-signed certificate):


After completing the initial setup wizard you will be able to log in to the controller web interface as usual:

Screen Shot 2016-04-30 at 07.14.11


Installing Google Chrome on Debian Linux with Remote Desktop

Login as a normal user (who  as sudo rights).

Open the default Debian Iceweasle web browser and navigate to the Chrome Download site:


Click Download

Select 64bit .deb (For Debian/Ubuntu)


Click Accept and Install

This will actually download the installation file


Choose to save the file.

Open Terminal

cd ~/Downloads

sudo dpkg -i google-chrome-stable_current_amd64.deb

This will fail.. so next get the missing dependancies with:

sudo apt-get -f install

Now repeat:

sudo dpkg -i google-chrome-stable_current_amd64.deb

Chrome will now be installed (note that cannot use the browser when logged in as root??)


Install Chrome Remote Desktop on Debian

Open the Chrome browser and sign in to the account.

Add the “Chrome Remote Desktop” app into Chrome if not already installed.

Download the Chrome Remote Desktop from:

Open Terminal

cd ~/Downloads

sudo dpkg -i ~/Downloads/chrome-remote-desktop_current_amd64.deb

This will probably fail due to missing dependancies, fix with:

sudo apt-get -f install
sudo dpkg -i ~/Downloads/chrome-remote-desktop_current_amd64.deb

Next we need to create a file that defines the graphical environment. I’m using LXDE.

Create a file called .chrome-remote-desktop-session in your home directory.

cd ~
nano .chrome-remote-desktop-session

Add the following:

exec /usr/bin/startlxde

See for details of getting other desktop environment settings.

Reboot the computer.

Open the Chrome Browser a remote Desktop

Click the “My Computers” -> “Access your own computers from anywhere” -> “Get started”

Scroll down to the bottom of the page and you should see “Enable remote connections”


Click and enter the remote access PIN number.

You will now be able to access the machine from any other Chrome Remote Desktop app when signed into your Google Chrome account.