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.
Download System Rescue CD here.
Find the partition to mount with:
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
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
Add the following and save (CTRL+X):
[public] 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 192.168.1.100 then drive should be available at the following UNC path:
or using “Connect to Server” option in Finder on the Mac: