Dual booting Windows 7


Uploaded by itfreetraining on 23.08.2011

Transcript:
Welcome back to IT Free training free training series for Windows 7, our gift to you. We
have already looked at how to install a fresh copy of windows 7 using the DVD. Using the
DVD works well when you don't want to make any changes to the media and you only have
a few computers to installed Windows 7 on. In this video I will look at installing Windows
7 using a USB thumb drive onto a virtual hard disk. This allows you to set up windows 7
for the main topic of this video, dual booting.
Dual booting allows you to have many operating systems installed on the same hard disk. This
includes non Microsoft operating systems like Linux. In the old days dual booting was the
only choice when you wanted to run more than one operating system on the same hard disk.
When you start a computer that uses dual booting you will be given a menu like this. From the
menu you can select the operating system that you want to boot to.
This computer contains 3 operating systems. When you boot the computer you will be presented
with this menu. The top option, "earlier version of windows" will load windows XP. The second
option will load windows 7 and the last option will load Windows Server 2008 R 2.
The problem with dual booting is that to change operating systems you require a reboot. This
is often inconvenient for the user and time consuming. Dual booting also allows you to
boot into a non Microsoft operating system like Linux.
Now days, dual booting is not as common due to the use of virtual machines. Now days if
you wanted to try out Linux for example, you would simply install it to a virtual machine
rather than using dual booting. However there are still times you may want to use dual booting.
If you are upgrading and want to perform a clean install rather than upgrading your old
OS. You may decide to install the new OS on a separate drive to give you roll back options
to the old operating system. This is common when upgrading to a new OS that does not support
an application installed on the old operating system.
Even with the low price of RAM, the computer you are using may not have enough RAM to run
more than one operating system at a time. Low RAM is another reason to use dual booting.
Lastly dual booting is often used with special hardware needs. Hardware support for virtual
machines is improving, but if you have hardware that won't work in a virtual machine, dual
booting may be your only option. To use dual booting, you require a separate
hard disk or partition. You can in theory install multiple operating systems to the
same partition, but this is a risky configuration, difficultly to get working and not supported
by Microsoft. With Windows 7 and Windows Server 2008 release
2 bring support for virtual hard disks. If you are using either of these operating systems,
you can dual boot to a virtual hard disk. With Windows 7 you need to be running the
enterprise or ultimate editions to support booting to a virtual hard disk. The advantage
of this is you don't need to install a new hard disk or repartition and existing hard
disk. Also if you decide you no longer want the additional operating system you simply
remove the virtual hard disk from your computer and then remove the operating system from
the boot menu. In moment I will show you a dual booting scenario
in which I will install a second operating system to a virtual hard disk. Also in the
demo I will install windows 7 using a USB thumb drive. Before I can start I first need
to configure my USB thumb drive to install windows. To do this, first I need to open
a command prompt from the start menu. Make sure you right click the command prompt and
select run as administrator. From the command prompt, run the utility disk
part. This is console version of disk management. First of all I need to identify which disk
is my USB thumb drive is connected to. To do this, type list disk. From the list of
disks shown I can determine that my USB thumb drive is disk 2 as it is the only drive listed
that is 4 gigabytes in size. Before I can do anything to the disk, I need
to select it using the command select disk 2. Once selected, you can run other commands.
For example, if you needed to create a partition on the drive you could run the command create
partition primary. In this case, I will get an error message
as the drive already contains a partition. To see which partitions exist on the drive,
run the command list volume. Here you can see my thumb drive is volume 4.
Once I know the number of the volume I need to select it using the select command. The
USB thumb drive needs to be formatted with fat 32. This thumb drive is already formatted
with fat 32. Most USB thumb drives on the market should be formatted with fat 32 by
default. If you do need to format it, run the command format with the switch fs followed
by equals fat 32 and finally I like to add the switch quick. This will perform a quick
format of the drive. If you leave the quick switch out, you will be waiting a long time
for your USB flash drive to format. Once the format is complete, you need to run
the command active. The active command makes the USB thumb drive bootable. If you do not
run this command, the bios will not be able to boot from the USB thumb drive.
The USB thumb drive is now formatted and bootable, if I now exit out of the disk part utility,
I now need to copy the source files from my windows 7 DVD. I can do this by using the
x copy command with the source and destination switches followed by the slash s switch to
include sub directories. This process does take a long time to complete,
but once done I can switch to my Window 7 computer to perform the install. For this
install I want to use the USB thumb drive rather than the DVD. The USB thumb drive is
ready to go, but I need some where to install the operating system to. To make some room,
I will run computer management from the start menu.
From computer management, select disk management. If I right click on my hard disk I can select
shrink volume. This will allow me to change the size of the partition on the hard drive.
You will only be able to shrink the hard disk according to how much free space you have.
If you find that you can't shrink the hard disk down as much as you thought you could,
you may need to defrag the hard disk first. Defragging the hard disk will make all the
free space for the drive in one spot at the end of the drive. In order for the shrink
command to work, the free space much be at the end of the hard disk.
Before you shrink a partition, you should back up your data. Once you shrink your hard
disk, you can create a new partition to install windows on to. In this case, I will install
windows to a virtual hard disk. This means that partition on the hard disk will not be
affected. To create the virtual hard disk, right click on disk management and select
create V H D. From here you need to enter in the name and path for the V H D file and
select the size of the virtual hard disk. By default, the hard disk will be a fixed
size and the drive space will be allocated when you create the hard disk. You can also
select the option, dynamically expanding. This means that the hard disk will grow in
size as the data is written to the virtual hard disk. The performance of a dynamic expanding
hard disk is not as good as a fixed sized hard disk. However the advantage is that a
dynamic expanding hard disk is smaller in size and is created immediately while a fixed
size virtual hard disk may take a while to create. In this example I will create a dynamically
expanding hard disk. Once created, the hard disk will appear in
disk management like any other hard disk. Now that it is created, I will reboot my computer
to perform the install from the USB thumb drive.
Assuming your bios is setup correctly, the bios will boot off the USB thumb drive automatically.
If not, you will need to change your boot order or press a key to access the boot menu
during start up. Common keys to access the boot menu include F10, F12 and escape.
Booting from USB thumb drive will be exactly the same as booting from the DVD. Also if
you were to run the setup from a network share the setup would essentially be the same. Once
booted you will get the welcome screen and the license screen like the DVD setup. Just
like the DVD setup I will skip past these. On this screen you will need to decide where
you want to install windows. You will notice that the virtual hard disk has not appeared.
To get it to appear I need to run disk part. To access disk part, press shift F10 to open
a command prompt. From the command prompt run disk part. If
you wanted to, you could create the virtual hard disk using the create command inside
disk part. It is your choice how you create it, but it is generally easier to use the
graphical disk management tool if it is available. Regardless of how you create it ,you need
to select it using the select v disk command. Once selected, run the command attach v disk.
If I now exit disk part and the command prompt, you will notice that when I press the refresh
option, my virtual hard disk will now appear. If I now select the virtual disk I can install
windows to it. Windows will now install to the virtual hard disk. If I pause the video
now and then un pause when the install is complete, you will notice that on the boot
menu now you have the choice of two different windows 7 operating systems.
In this video I looked at dual booting your computer. installing from a usb thumb drive
and installing to a virtual hard disk. This is great if you want to install a fresh copy
of windows 7. if you are running windows already you many want to consider an upgrade which
is the topic of our next video.