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

Saturday, February 19, 2011

How To Boot and Install Windows 7 From USB Flash Drive

Usually, most people install or reinstall Windows operating system from DVD drive. But, since the USB become popular, we have an alternative to boot and install an operating system to a PC from USB flash drive.

Since most of windows installers come in DVD drive format, we have to copy it to a USB flash drive. Before that, I have to make the USB flash bootable. In this post, I will discuss the command prompt method. You can make the Windows 7 USB FLash installation Disk from any Windows computer. In this post, I use Windows 7 (the instruction is the same for Windows XP). Below are the steps:

Step 1: Format USB Flash Drive To NTFS format

In your Windows, go to Control panel -> system -> hardware -> Device manager. Under the disk drives section, right click on the USB storage drive and select Properties.



Step 2: Select USB Flash Drive To Be Bootable Disk

On Windows 7 Start Menu, navigate to command prompt entry (Start -> All Programs -> Accessaries) , right-click the Command Prompt and select Run as administrator.



Type "diskpart" & press ENTER. Then type "list disk", ENTER to list all disks attached to this computer.


From the disk list, identify the USB Flash Drive. In my case, Disk 1 (red rectangle) is my USB flash drive. Type "select disk 1" to select the disk (the command is "select disk X" where X is the drive number).

After selecting the disk, list the partition in the selected list by typing "list partition". Select the partition you want to make a bootable Windows 7 installation by typing command "select partition Y", where Y is the partition number of USB flash drive. Then, type "active" to make the selected partition to become an active partition.

You are done in preparing the disk for bootable. Type "exit" and Enter.

Step 3: Creating bootable USB flash drive

Copy the content from the Windows 7 Installation content to your computer desktop into a folder, I named is as win-7 (you can name it according to your preference).

Go into the windows folder, in my case win-7 by typing command "cd Desktop/win-7" (Change the destination to the folder that you have extracted). Then, "cd boot" to go into boot directory.

Type: bootsect /nt60 X: (X is the drive latter of your USB drive)


Then, copy all the files from the Windows 7 folder to the USB flash drive. Now, you should be able to use the USB Flash drive to boot and install Windows 7.

Note: You need to change the first boot device to your USB drive in the BIOS.

Friday, February 18, 2011

How To Use Windows 7 Disk Management To Partition Hard Disk

I just bought a new USB 2.5" 500GB SATA external hard disk. Since disk size is big. I am thinking of partition it to 2 partitions so that I can use one partition to install Operation System and the other one to store data.

Since my current operation system is Windows 7, I will use the Disk Management Tool that comes with Windows 7 to do the job. The built-in disk manager of Windows 7 allows you to create partitions, allocate unallocated space, change the driver letter or start other related tasks.

Below are the steps to partition an external hard disk:

1. If it is a USB external hard disk, just plug it into one of the USB ports at the PC.

2. Click Start and enter diskmgmt.msc into the search field.


3. Once you hit "ENTER" after entering the diskmgmt.msc into the search field, the "Disk Management" window will be launched. The new external hard disk is one of the listed hard disks.


4. With mouse, right-click on the disk you want to partition, in my case, the DISK 1. Then select "Delete Volume" and confirm to delete the partion. The Disk 1 will become an Unallocated disk.


5. Similarly, with mouse, right-click on the unallocated disk (in my case disk 1)and select "New Simple Volume" from the pull up menu.


Follow the simple Wizard to assign the size of new partition, specify the file system to complete the new Volume creation. In my case, my new hard disk size is 500GB, I allocate 200GB for the first partition. Repeat step 5 for another partition that takes the rest of size as the 2nd partition.

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | cna certification