How to Back Up Files with Ubuntu LiveCD to Another Computer Using Ethernet
Obtain the Ubuntu LiveCD., Start the computer from Ubuntu LiveCD and choose "Try Ubuntu"., Go to "User Accounts" and create a user with administrative rights., Logout and login as this new user. , Mount the hard drive., Install samba., Set up the...
Step-by-Step Guide
-
Step 1: Obtain the Ubuntu LiveCD.
To do that, you need to download the image file from Ubuntu official website and burn it to a blank CD, or write to USB flash drive using WinImage or a similar program. -
Step 2: Start the computer from Ubuntu LiveCD and choose "Try Ubuntu".
Probably, you would need to adjust the computer's BIOS settings to make it load from CD/USB.
Don't worry, "trying Ubuntu" does not affect the files stored on a computer. , Don't forget to set a password, or you might not be able to login as this user. ,, Use the following terminal commands: //will add them a bit later , If your computer has a working Internet connection, connect and use the following terminal command: sudo apt-get install samba .
Otherwise, go to (for Ubuntu
12.04.1) to download the samba package, and use the following terminal commands: 1) to change the working directory: cd /home//Downloads ; 2) to get the list of files inside this directory and find out the package filename: ls ; 3) to install the samba package: sudo dpkg
-i , Connect two computers using Ethernet wire Check the ip and netmask of the second computer (using ipconfig or ifconfig command) setup the first computer with the same netmask and ip address as the start of this range.
Network Connections
-> Wired
-> Edit
-> IPv4 Settings
-> Manual
->
169.254.1.1 ,
255.255.0.0 , Use the following terminal command to open smb.conf: sudo gedit /etc/samba/smb.conf.
Insert the following lines somewhere near the : comment = shared read only = No path = /media/force user=admin guest OK = yes.
Then, restart the smbd service: sudo service smbd restart , That's all! Now you're able to backup your files. -
Step 3: Go to "User Accounts" and create a user with administrative rights.
-
Step 4: Logout and login as this new user.
-
Step 5: Mount the hard drive.
-
Step 6: Install samba.
-
Step 7: Set up the Ethernet.
-
Step 8: Force share the mounted hard drive.
-
Step 9: Connect from a second computer and choose this share.
Detailed Guide
To do that, you need to download the image file from Ubuntu official website and burn it to a blank CD, or write to USB flash drive using WinImage or a similar program.
Probably, you would need to adjust the computer's BIOS settings to make it load from CD/USB.
Don't worry, "trying Ubuntu" does not affect the files stored on a computer. , Don't forget to set a password, or you might not be able to login as this user. ,, Use the following terminal commands: //will add them a bit later , If your computer has a working Internet connection, connect and use the following terminal command: sudo apt-get install samba .
Otherwise, go to (for Ubuntu
12.04.1) to download the samba package, and use the following terminal commands: 1) to change the working directory: cd /home//Downloads ; 2) to get the list of files inside this directory and find out the package filename: ls ; 3) to install the samba package: sudo dpkg
-i , Connect two computers using Ethernet wire Check the ip and netmask of the second computer (using ipconfig or ifconfig command) setup the first computer with the same netmask and ip address as the start of this range.
Network Connections
-> Wired
-> Edit
-> IPv4 Settings
-> Manual
->
169.254.1.1 ,
255.255.0.0 , Use the following terminal command to open smb.conf: sudo gedit /etc/samba/smb.conf.
Insert the following lines somewhere near the : comment = shared read only = No path = /media/force user=admin guest OK = yes.
Then, restart the smbd service: sudo service smbd restart , That's all! Now you're able to backup your files.
About the Author
Teresa Robinson
A seasoned expert in lifestyle and practical guides, Teresa Robinson combines 13 years of experience with a passion for teaching. Teresa's guides are known for their clarity and practical value.
Rate This Guide
How helpful was this guide? Click to rate: