Talk:Custom Partitions on the LS Pro

=
================================================================================== Transcript of an fdisk session: This shows the deletion of all partitions on a hard drive, and the creation of new partitions, using fdisk. You could pretty much follow this guide keystroke for keystroke to do it. It is suggested that you read the man pages for fdisk & read up on it, as well. $ fdisk /dev/sda Command (m for help): d Partition number (1-6): 1 Command (m for help): d Partition number (1-6): 2 Command (m for help): d Partition number (1-6): 3 Command (m for help): d No partition is defined yet! Keep deleting partitions until there are no more left to delete.

Now create new partitions. n means new partition, p & e primary and extended. Command (m for help): n Command action e  extended p  primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-30401, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-30401, default 30401): +1GB Command (m for help): n Command action e  extended p  primary partition (1-4) p Partition number (1-4): 2 First cylinder (124-30401, default 124): Using default value 124 Last cylinder or +size or +sizeM or +sizeK (124-30401, default 30401): +10GB Command (m for help): n Command action e  extended p  primary partition (1-4) e Partition number (1-4): 4 First cylinder (1341-30401, default 1341): Using default value 1341 Last cylinder or +size or +sizeM or +sizeK (1341-30401, default 30401): Using default value 30401 Command (m for help): n Command action l  logical (5 or over) p  primary partition (1-4) l First cylinder (1341-30401, default 1341): Using default value 1341 Last cylinder or +size or +sizeM or +sizeK (1341-30401, default 30401): +512MB Command (m for help): n Command action l  logical (5 or over) p  primary partition (1-4) l First cylinder (1404-30401, default 1404): Using default value 1404 Last cylinder or +size or +sizeM or +sizeK (1404-30401, default 30401): +10GB Command (m for help): n Command action l  logical (5 or over) p  primary partition (1-4) l First cylinder (2621-30401, default 2621): Using default value 2621 Last cylinder or +size or +sizeM or +sizeK (2621-30401, default 30401): Using default value 30401 The default type of partition is Ext3 (83), so we only need to change the type on partition 5, to Swap (82). Command (m for help): t Partition number (1-7): 5 Hex code (type L to list codes): 82 Changed system type of partition 5 to 82 (Linux swap) Print the partition map to see that it is what we want. Command (m for help): p Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot     Start         End      Blocks  Id System /dev/sda1              1         123      987966  83 Linux /dev/sda2            124        1340     9775552+ 83 Linux /dev/sda4           1341       30401   233432482+  5 Extended /dev/sda5           1341        1403      506016  82 Linux swap /dev/sda6           1404        2620     9775521  83 Linux /dev/sda7           2621       30401   223150851  83 Linux Write the partitions to the hard drive. Command (m for help): w The partition table has been altered! Calling ioctl to re-read partition table $

We are done creating the partitions, and later the filesystems must be created.

=
==========================================================

This is a great, clear explanation. Before customizing my partitions, I have a question. Can you tell me why you recommend partitioning the extended partition with LBA (W95) instead of Linux?

Thanks for your reply.

Larry