Reason of Error:
Most of the time this error appears because of bad sectors in hard disk or because of any physical damage.
Solution:
In this case you can not repair the hard disk at your home. Unfortunately if you stuck in such situation, you should not keep trying installing windows again and again in same hard disk. It may damage your hard disk fully and you will not be able to even backup your important data anymore.
The best option is to connect this hard disk with working windows computer as secondary storage using extra SATA & power cable, and backup your data first. If you want to backup large amount of data from the disk, try using disk clone software to backup the entire hard disk, this can save your time too.
Once you done with the backup process, you can try running diagnose and repair tool to check the health of your disk or if your hard disk is in warranty period then prefer to send it back to manufacturer, they will repair it for you or else they will replace it with new hard disk.
]]>
What is SAMBA:
SAMBA is Linux based free tool which is widely used for file sharing in Windows PC, Apple Computers, and Unix-based operating systems. It is re-implementation of SMB/CIFS standard networking protocol and was developed by Andrew Tridgell. This tool is written in C,C++ and Python programming language and licensed under GPLv3.
How to Setup SAMBA in Raspberry Pi
1.Update apt
pi@raspberrypi ~ $ sudo apt update
2. Install SAMBA on your raspberry pi,
pi@raspberrypi ~ $ sudo apt-get install samba
(adsbygoogle = window.adsbygoogle || []).push({});
3. After finishing installation, configure SAMBA by editing configuration file /etc/samba/smb.conf
pi@raspberrypi ~ $ sudo nano /etc/samba/smb.conf
In this configuration file, you will need to add the workgroup name of the computer which you are going to connect with the raspberry pi. To find workgroup name in windows 7 :- Right click on My Computer and enter properties -> Full computer name is your workgroup name (Example =>).
workgroup = MYWORKGROUP wins support = yes
Replace MYWORKGROUP with your workgroup name. Save & exit the file by pressing ctrl+X , Y, Enter. Change wins support to yes.
4. Create shared folder in raspberry pi directory and give read, write & execute permission for this folder to all users.
pi@raspberrypi~ $ mkdir /home/pi/shared pi@raspberrypi~ $ chmod 777 /home/pi/shared
5. Define the behavior of shared folder. For that purpose we will net to edit configuration file again. /etc/samba/smb.conf
pi@raspberrypi ~ $ sudo nano /etc/samba/smb.conf
Add following lines in this file. Save & exit by pressing ctrl+X, Y, Enter.
[pishare] comment = pi shared folder path = /home/pi/shared browsable = yes guest ok = yes writable = yes
6. Restart SAMBA,
pi@raspberrypi ~ $ sudo /etc/init.d/samba restart
How to setup shared folder in Windows:
Telnet is a protocol that helps you to connect to remote computers and local network computers over a TCP / IP ports or networks. In windows operating system, telnet client is disabled by default. So, you need to enable it from windows features.
Steps: