This means that it has read and write permissions which is what we wanted. This command command tells the folder HDD that it has all permission. We can do this by using this command: sudo chmod 777 /media/HDD So once we have made this folder we need to give it read write permissions. What this command does is makes a folder called HDD in the media directory. You can do that by using this command: sudo mkdir /media/HDD To do this we are going to need to make a folder to mount it to. We need to have our media drive to be mounted on startup so that we can access its contents. You are going to need to know the name of your drive and the format of your drive in the following steps so it is probably a good idea to write them down somewhere. In red I have circled the format of the drive which we will need in the next step. I know this because where I have circled in green says that the drive /dev/sda has 1000 GB which is the size of my drive. In the picture I have circled the name of my drive in white. What this does is it shows use important information about the drives that are connected to our raspberry pi. Once you have done this we need to go back to putty or whatever SSH client you are using and type in: sudo fdisk -l Make sure you plug it into the powered USB hub and not directly into the raspberry pi because sometimes that can cause problems. To do this the first thing we need to do is plug in our media drive. So what we are going to do is make it so that our media hard drive is mounted on start-up. Before we can start our media server we need some media of course.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |