For this task, we had to put into practice the theory of the last post. It was about how to recognise the different types of partitions and knowing what they can be used for. In this post we will focus on how to divide the HDD and learning which programs we need to develop this.
We will show you different examples we developed thanks to the program GParted. First of all you should know that when creating a new partition, the other one is erased. Another problem is that as soon as you do a new partition all the data that is inside the computer will not be accessible, so be careful and make a backup of your computer before, because it is going to be very hard to recover everything.
For this partition we had to create only one partition with a file system called “ntfs”. This type of partition let us save information, but it isn’t recomendable with any linux distribution and allows access to files and folders using permissions (you may also have some problems to write any command).
Another thing we had to do to finish this partition is to make a right click on the partition and on flags press boot. Its primary function is to indicate to a MS-DOS/MS Windows type boot loader which partition it has to boot.
For this second task, we have to make 2 different partitions:
- The first one must be the same as the last partition. It must have a file system “ntfs” and its flag must be bootable. (You may not have this problem, but this partition must have more than 400MB because if not, you might have problems)
- The second one must be an extended partition of the ntfs file system. For itself this extended partition doesn’t have a space in the HDD, but we have put a fat-32 file system (this one is used for old microsoft OS)
For this partition we have to create a primary partition in which the file system is a ext4 (this file system is used for linux operating systems). You may have noticed a partition called “linux-swap”. This one is used as a RAM memory (I recomend you to put a size of the half of your RAM memory) but uses space of the HDD.
This last partiton is a mix of the last 3 ones. We will have an “ext4” file system to run a linux OS as well as a linux-swap in an extended partition to have no problems with the RAM memory. We can also see an “ntfs” file system to run Microsoft OS and to share information between linux and windows. And the last partiton is in the extended partition and it is the “fat-32″(as I have said before, is used in old microsoft OS).