Ads

Showing posts with label boot. Show all posts
Showing posts with label boot. Show all posts

Changing the dual boot order using the boot.ini or BCDEdit.exe


The primary tool to edit Windows Vista boot configuration is BCDEdit.exe, a tool which is included in Windows Vista distribution in the;

C:\windows\system32 folder 
(C: being the windows vista system drive). 

BCDEdit.exe allows you to change and configure boot application data (files) in the BCD (Boot Configuration Data) stores which replace the settings in the boot.ini file in earlier versions of Windows.

BCDEdit basically replaces the BootCfg.exe tool that was used with earlier versions of Windows. BCDEdit provides much better and wider command line options and can do much more tasks than BCDCfg.

Here’s how you can use BCDedit to change the boot sequence and display order in the boot menu.

1. Start > Cmd > Right Click cmd> Run as Administrator

2. At the command prompt :

a. C:\> cd windows/system32

b. C:\windows\system32> bcdedit /?

c. C:\windows\system32> bcdedit /enum all

d. The output displays the boot configuration data of all the operating systems on the computer:

Windows Boot Loader

identifier {current}

device partition=C:

path \Windows\system32\winload.exe

description Microsoft Windows Vista

locale en-US

inherit {bootloadersettings}

recoverysequence {572bcd56-ffa7-11d9-aae0-007e994107d}

recoveryenabled Yes

osdevice partition=C:

systemroot \Windows

resumeobject {89b97029-9609-11db-bbfe-cfc7153012f0}

nx OptIn

e. Note the 128-bit GUID of the Windows XP system. You will have a similar entry for that.

f. C:\Windows\system32> bcdedit /default

E.g bcdedit /default {cbd971bf-b7b8-4885-951a-fa03044f5d71}

Where {cbd971bf-b7b8-4885-951a-fa03044f5d71} is the GUID of the Windows XP system.

In case you wish to delete the Windows XP entry from the boot menu:

g. c:\windows\system32> bcdedit /delete

You can also change the description of an entry using the following command:

h. Bcdedit /set ID description "The new description"


For example:

bcdedit /set {802d5e32-0784-11da-bd33-000476eba25f} description "My Favorite OS"

You can change the display order of the boot options using the following command:

i. bcdedit /displayorder ID1 [ID2] [ID3] [...]

For example :

bcdedit /displayorder {802d5e32-0784-11da-bd33-000476eba25f}

{cbd971bf-b7b8-4885-951a-fa03044f5d71}

This will change the diplay order of the entries the next time the system is turned on only.

In order to make permanant changes to the boot order you can use the following command:

j. bcdedit /bootsequence ID1 [ID2] [ID3] ...

For example:

bcdedit /bootsequence {802d5e32-0784-11da-bd33-000476eba25f}

{cbd971bf-b7b8-4885-951a-fa03044f5d71}

The following command sets the boot manager’s timeout to 30 seconds:

k. Bcdedit /timeout 30


How to change the boot sequence in the BIOS

Looking to change the boot order for your Windows XP or Vista machine? 

By changing the boot order, you can force your computer to boot from a CD/DVD drive, a floppy drive, or even off the network.

Changing the boot order on a PC is mostly done in order to boot from a recovery disk or from an OEM disk to run some kind of Windows repair software, such as the Recovery Console.

So here are the steps to change the boot sequence for a PC:

Step 1: The first thing you have to do is restart your computer and enter the BIOS. You can enter the BIOS when you see a message such as “Press FX to enter setup” or something similar.

On a Dell machine it’s usually F2, Toshiba is F1 or ESC, HP is F1 or F2, and IBMs usually require you to go to Start, Programs and then Thinkpad CFG to start up in the BIOS.

Step 2: Now that you are in the BIOS, the tough part is finding the boot order section. Note that there are not a ton of options in a BIOS, so just go through every page if you have to until you see something like First Boot Device, Boot Order, Boot Management, Boot Sequence, etc.




















It may also be under Advanced BIOS Features or Advanced Boot Options. In the above screenshot, it’s under Advanced BIOS Features. Use the arrow keys to navigate.











As you can see, there is a First, Second and Third Boot Device. Scroll down and use the arrow keys to change the device to HDD (hard drive), Floppy, CDROM, or Network. You could also have a BIOS that looks like this:



















The instructions for changing the boot order are in the sidebar, but usually it requires pressing the + or – buttons to move items up and down in the order list. The first item in the list is what will be scanned first when booting. 
If boot media is not found, it will try the second device and so on.

Finally, go to Exit and make sure you choose Yes to the Save configuration changes and exit now? question.



















That’s pretty much it!
If you have any questions or can’t get into the BIOS on your computer, post a comment here and I will try to help! Enjoy!


Source

What is the BIOS?

The Basic Input Output System, abbreviated as BIOS, is software stored on a small memory chip on the motherboard.

BIOS is sometimes incorrectly referred to as the Basic Integrated Operating System.


What is the BIOS Used For?:

BIOS instructs the computer on how to perform a number of basic functions such as booting and keyboard control.

BIOS is also used to identify and configure the hardware in a computer such as the hard drive, floppy drive, optical drive, CPU, memory, etc.


How is BIOS Accessed?:

The BIOS is accessed and configured through the BIOS Setup Utility. The BIOS Setup Utility is, for all reasonable purposes, the BIOS itself. All available options in BIOS are configurable via the BIOS Setup Utility.

How to Access the BIOS Setup Utility
How is BIOS Used?:


BIOS contains a number of hardware configuration options that can be changed through the setup utility. Saving these changes and restarting the computer applies the changes to the BIOS and alters the way BIOS instructs the hardware to function.


Source