Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown   Email 



DISKDRAKE Part 1
New Paritions


There is a choice of partition tools available in Linux. In my opinion there is one program that is best suited for new Linux users: Diskdrake, the graphical partition tool that is included in the PCLos and Mandriva Control Center.
Diskdrake has an easy interface with many options to create and resize partitions and can even restore a lost partition table.

Diskdrake can run from a Live CD, so even if you want to install another distro you still can do the partitions with Diskdrake.

In this first part we will see how to create new partitions starting from an empty hard disk. In the second part we will see how to resize an existing ( Windows ) partition in order to make space for your Linux distro.

So, let's get started: You will find Diskdrake in the Mandriva Control Center ( in PCLos the "PCLos Control Center" ) but you can also start the program by typing "diskdrake" in a root terminal. It will look like this:


image


You see 2 tabs in the left top . . sda and sdb . . . representing the 2 hard disks I have in this computer. On sda you see in a dark red color the existing linux partitions ( the swap partition in green ) / is 21GB and /home is 39GB.
On sdb, pictured below, you see that the 2nd hard disk has a windows partition and a large empty space ( the white part ).


image


Click on that empty space and you will see that you get a button in the right panel with the text: "Create" press the button:


image


In the popup you will get a few things that are very important:
1). The size: grab the slider and make it large enough, minimum 7 to 10 GB for a Linux install.
2). The Filesystem Type: make it "Journalised FS Ext3"
3). The Mount point: make it look empty . . . so no mount point ! see picture below:


image


. . . . . yes, there is a "blank" option and that is the one to use !!

Next press the "format" button and it will format the newly made partition.

In general it is good practice to have a separate /home and swap partition so repeat the above to make additional partitions. ( 1 GB for the swap will do fine, the "Filesystem Type" is swap ) )
Also here, assign no mount points, this will only be done later when installing the distro of choice.

Finally press "Done" and you will see:


image


Press OK . . . close the main window and reboot to write the new partition table to disk.


Bruno


Additional info to read:
Primary, Extended and Logical Partitions
Partitioning Tools ( And which ones not to use )




-- Jan 12 2009 --


Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown   Email