Pages

Showing posts with label disk management. Show all posts
Showing posts with label disk management. Show all posts

Tuesday, January 3, 2012

How to Partition and Un-Partition your Hard Drive in Windows

Hard drive partitioning is useful for creating virtual drives and creating disk volumes that can be used for storing particular file types. For example, if you did not want to keep all of your media and documents on Drive (C:), you can create a hard drive partition that will be a new volume separate from (C:). Many users are already familiar with hard drive partitioning, but un-partitioning a hard drive is another issue that some may not be familiar with. In other words, if you have partitions and you want to remove them and merge them back into Drive (C:), how do you do that? This tutorial will take you through the steps of hard drive partitioning and then explain how to un-partition in the event that you need to gain space back on Drive (C:). This pertains only to Windows 7 and Vista, as other versions of Windows do not have a built-in utility for partitioning and require third party software for the task.

This demonstration is performed on Windows 7, but the instructions are the same for Vista. There are a few ways to open the Disk Management console. The easiest way is to go to the start menu search box and type “disk management”. At the top of the resulting list, you should see the Control Panel option clearly listed and highlighted.

Partition a hard drive

disk management

From here, press enter or click on “Create and format hard disk partitions”. This will open the Disk Management console. You will notice all drives displayed clearly. If you have never partitioned before, notice that there are already three partitions. This is normal for Windows and you never want to change these. The first is a recovery partition that is needed to recover the operating system if it becomes inaccessible. The second is called “System Reserved” and the third will be displayed as drive (C:). Essentially, these comprise the operating system except for the third which contains essential system files and free space.

hard drives

To create a new partition, right-click the (C:) drive and the context menu will list the option to “Shrink Volume”.

create partition

Click “Shrink Volume” and this will open a small pop-up that indicates that the utility is querying the volume for available shrink space. Essentially, you will be “shrinking” a portion of the drive and it will become a separate partition. You can begin doing this when the following window appears:

shrink volume

Specify the size for the new partition. In the highlighted blue field, you will see the full amount of space available to shrink next to “Enter the amount of space to shrink in MB”. Since you will be entering the size of the new partition (shrink) in MB, understand that 1GB is 1,024MB. If you want to create a new partition of 10GB, for example, you would enter 10,240. If you want to create a larger partition, you will need a calculator for odd sizes like 17GB or 183GB. In this case, we are going to create a 10GB partition.

shrink

After entering the desired size for the partition, click Shrink and shortly a new unallocated partition will be created. This is unallocated space and is not yet usable. It needs to be formatted to create a healthy partition. Right click on the new partition and select “New Simple Volume” from the top of the context menu. This opens the New Simple Volume Wizard, which allows you to set up the formatting and Drive path with an assigned letter. When the Wizard opens, click Next and the consecutive window will ask you to specify the size of the drive again. As long as you want it to be the size you originally specified, there is no reason to change the size, so click Next.

create new hard drive

Here you have the option to assign a drive letter and path. The default path will be the drive letter. Since this is a basic tutorial, the options of mounting to an empty NTFS folder or formatting to formats other than NTFS will not be explained. If this is the first partition you are creating, the default drive letter will be (E:). You may click the dropdown menu and select another letter if desired, but it is not necessary. Click Next and this will take you to the formatting options.

format hard drive

In this window, you can choose different file system types, specify a name for the partition and enable file and folder compression. To keep it simple, let the defaults remain as they are and click Next unless you would like to name the volume first. If you wish to name it, enter the desired name in the Volume label field and then click Next. The final window will open and all you have to do is click Finish and your new partition is formatted and ready to accept files or be used as a virtual drive.

You may do this for as many partitions as you may need. For example, when setting up a dual-boot, you may need to create up to three additional partitions for the second operating system to be installed. That is all up to you and it is a different subject entirely.

Un-Partitioning

Once you have gotten the procedure down for creating new partitions and you have used them, you may find at some point that you want to remove the partitions and merge the disk space back into drive (C:). In order to do this, you will need to open the Disk Management console again and choose the partition that you want to remove. Right click the partition and select Delete Volume from the context menu. This will erase all data on the partition, but that is fine because you want to have free space again.

remove drive letter

You will see that the partition is now free space. The next step is to right click the free space volume and select Delete Partition from the menu. This will change it to unallocated space, which is the only way to merge this space back into (C:).

Now you are ready to add the unallocated space back into (C:), so right click on volume (C:) and select Extend Volume from the context menu. The Extend Volume Wizard will open and you basically go through similar steps as you did to create the partition as outlined in the beginning of this tutorial.

extend hard drive

If you are only Extending from one partition, then continue to click Next through all of the prompts, clicking Finish at the end. This will remove the partition and you will no longer see it, as the memory has been put back onto Drive (C:).

Now you have successfully un-partitioned the drive and there is more memory available in Drive (C:). If you created multiple partitions and wanted to clear all of them, keep selecting Delete Volume and then Delete Partition for each one until you get a single unallocated space and follow the steps above to Extend Volume for Drive (C:).

The procedure is similar if you have multiple partitions and only want to delete a portion of them. For example, if you have four partitions like (E:), (204169762, M:), (204169762, L:), and (F:), you may want to delete just two. Let’s say that you want to delete (M:) and (F:). Perform the same steps as you would for single partitions. They will merge together as a single unallocated space. Then open the Extend Volume Wizard as described above. When the Wizard opens, select the unallocated space from the list of available disks and Add it to the remove list if it is not already there.

Regardless of how many partitions you are going to make or how many you want to delete and un-partition, the procedures are the same as detailed above. Just be careful to avoid deleting partitions that contain data you want to save. Backup your system before deleting multiple partitions. This will ensure that no data is lost if you do make the mistake of deleting the wrong partition(s).

You can always regain space on Drive (C:) using this method, thanks to the Disk Management Utility in Windows 7 and Vista. Usually, unless you have a higher capacity hard drive from 500GB – 3TB, you won’t be able to practically create many partitions at all. Removing multiple partitions will only be an issue for users with larger hard drives or users with smaller drives who have allocated too much space to partitions and are running out of space on Drive (C:).

If you are working with multiple virtual machines and dual boot systems, this information can be very useful. By learning all of these basic steps, you can easily progress to creating partitions with different formats such as FAT32 or ext2 and other formats used for different aspects of virtual machines and dual booted operating systems. This should give you the basic tools to master drive partitioning so that you can create any configuration you want. Once again, the customization beauty of Windows 7 and Vista shines through.


© Melanie Gross for gHacks Technology News | Latest Tech News, Software And Tutorials, 2012. | Permalink |
Add to del.icio.us, digg, facebook, reddit, twitter
Post tags: ,



Saturday, October 1, 2011

Your PC Doesn’t Support Virtualization? Dual Boot Windows 7 and Windows 8

The word is out: Microsoft released the Windows 8 Developer Preview recently and many users want to try it out. All it takes is a CPU that supports virtualization and virtualization software. Wait a second. What if your CPU does not support virtualization? Does this mean that you can’t try out Windows 8? As long as you have a hard drive capacity of 500GB or greater and at least 20GB of free space on the drive, there is a way to dual boot Windows 7 and 8 on the same computer. In fact, the Windows 8 Developer Preview looks much better on a dual boot than on a virtual machine like VirtualBox. As long as you know a little bit about hard drive partitioning and changing boot priorities in the BIOS, this will be easy.

You will need to download the Windows 8 Developer ISO disk image and burn it to a DVD or put it on a USB device. Here is the link for the ISO: http://msdn.microsoft.com/en-us/windows/home/. You can save it in the Downloads folder until later in the tutorial where we will demonstrate how to create the disk image and boot it.

Create a hard drive partition of at least 20GB. Open the disk management console in Windows 7 by going to the start menu and typing in “run” and press Enter. Type “diskmgmt.msc” in the Open field and click OK.

disk management

This opens the console. To create a new partition, right-click on a Healthy Logical Drive and select Shrink Volume. Enter the amount of space for the partition in MB. So, enter 20000. This will actually give you 19.53 GB and therefore you may want to allocate 21-30GB for the partition to ensure functionality. On the PC used in this demonstration, entering 20000MB worked out fine in the end. It is your call.

create disk partition

You can see from the screenshot below that a new partition exists for the Windows 8 Developer Preview. Now it must be formatted and given a name.

Right-click the empty partition and choose “New Simple Volume”. The Wizard will launch and you will be prompted to enter the amount of unallocated space to use. Use the original default to avoid wasting any space. You will be asked to assign a drive letter. Do so and click Next. The following window will present and the only thing you have to do is enter the Volume label, or name of the partition. Click Next.

format partition

This will format the partition and you are now ready to install Windows 8 Developer Preview.

You should have downloaded the copy of the Windows 8 Preview by now. You will have to burn the ISO disk image to a DVD or USB device. Right-click the ISO disk image and select “Burn to Disk” and choose the disk for burning. Restart your computer and configure to boot from the appropriate source as the primary boot option in the BIOS. When booting from a DVD, you should see “press any key to boot from CD or DVD”. Press any key immediately. It will take just a moment, but the installation will begin.

windows 8 dual boot

Simply follow all of the steps to install. Accept the license agreement and choose custom installation. Select the appropriate partition created earlier or you will erase all data on other hard drives and partitions. It may take some time for the installation to complete. This is normal. Wait patiently. It is worth it.
The installation will commence and you will be asked to name the PC. After this, you will be prompted to choose express settings or custom settings. You can log into the computer using a Windows Live ID or create a local account.
Restart the computer after logging on so that the default returns to Windows 7. Reconfigure the BIOS and the next time you log on, you have the option between the two operating systems.

dual boot windows

There it is! Now you are ready to preview Windows 8 without virtualization. Explore and have fun.


© Melanie Gross for gHacks Technology News | Latest Tech News, Software And Tutorials, 2011. | Permalink |
Add to del.icio.us, digg, facebook, reddit, twitter
Post tags: , , , ,