Repartition your hard drive
From MEPIS Documentation Wiki
Contents |
Preparations
- Repartition your drive only after you backed up your important data.
- Check the drive for errors. WinXP use "chkdsk", Win98 use "scandisk".
- Then defragment the drive before you repartition it.
Repartitioning (except for MS Vista)
- Click "Run GParted" from Mepis Install, or start it via MEPIS Menu -> System -> Filesystem -> GParted, or simply right-click on the desktop, chose "Run Command" (shortcut: Alt+F2) and type gparted (alternatively, if for some reasons GParted doesn't work right, you can try a similar program QTParted that's also available in MEPIS, a good terminal utility is cfdisk)
- In GParted select the drive then select the partition. Note that you only resize the partition where MEPIS itself is installed by using the Live-CD.
- Right-click on the partition and select "Resize". Choose the new size of the partition. The free space that will remain will be used for MEPIS installation; make sure the "free space after" resizing is larger than 2.5 GB for 32 bit SimplyMEPIS and larger than 3GB for 64 bit SimplyMEPIS. Click "OK".
- Right-click on the "free" partition and select "Create".
- Select Partition Type: linux-swap. Select size: 128MB if you have small disk space, 512MB to 1GB if you have plenty of space (more than 1GB is probably wasteful). Click "OK".
- Right-click on the "free" partition and select "Create".
- Select Ext3 and use the 100% of unallocated space. Click "OK".
- Click on the disk icon or go to File -> Commit, respond "Yes" to the dialog. GParted will now repartition your drive; at the end you should get a message that the operation was completed successfully.
Resizing a drive with MS Vista
MS Vista now has basic partition re-sizing abilities in the Disk Management Console and you would be well advised to use this to alter Vista install partitions. Right click on the partition to be altered and select 'Shrink Volume' - more here:
windowshelp.microsoft.com detail
Resizing a Vista drive with screen shots (routes via ad page - sorry!)
If Vistas volume manager won't shrink the volume
Bear in mind that many new PCs come with an additional hidden repair partition to enable restoration of damaged operating system, used in conjunction with a restore CD. It is possible that the Grub boot loader installed by Mepis may point to this rather than the Vista (or other Windows) operating system partition.
Additional Info
- You can't create more than 4 primary partitions; To make more partitions, instead of the last Primary Partition, create an Extended Partition in all the remaining free space available. Within that Extended Partition you can add many more Logical Partitions.
- Make sure when you create a Logical Partition you leave space for the rest of the Logical Partitions that you plan to create.
- Depending on version, in Linux filesystem reckoning, the first partition on the first IDE drive will be hda1, the second, hda2, etc. or sda1, sda2, etc. If you have 3 Primary Partitions and make the fourth an Extended Partition, the next visible Logical Partition will be hda5, then hda6, etc. In your installed Mepis filesystem, "hda4" will not appear, since it is the "container" for all the subsequent Logical Partitions.
- Linux Partitions: A Primer
- Pictorial guide
- Parted Magic live CD partitioning tool (successor to GParted Live CD)
- You can backup using K3b on the Live CD if you boot with Fromiso cheatcode. (Before resizing partitions, reboot without this cheatcode.)
Getting and Installing Mepis | Quick fixes | FAQ | Main Page

