Windows 7 Forums


Reply
Thread Tools

Dual boot in Windows7

 
 
Dabbler
Guest
Posts: n/a
Thanked:
 
      01-25-2010
I am pretty much familiar how dual boot works in XP but I am clueless
how Windows7 does it. I don't see any boot.ini file in the root
directory, so it must be a different method. Can anybody give me a hint?

 
Reply With Quote
 
 
 
 
Conor
Guest
Posts: n/a
Thanked:
 
      01-25-2010
In article <hjku5k$nab$>, Dabbler says...
>
> I am pretty much familiar how dual boot works in XP but I am clueless
> how Windows7 does it. I don't see any boot.ini file in the root
> directory, so it must be a different method. Can anybody give me a hint?


bcdedit

--
Conor

I'm not prejudiced. I hate everybody equally.
 
Reply With Quote
 
Jolly Polly
Guest
Posts: n/a
Thanked:
 
      01-25-2010
Conor wrote:
> In article <hjku5k$nab$>, Dabbler says...
>> I am pretty much familiar how dual boot works in XP but I am clueless
>> how Windows7 does it. I don't see any boot.ini file in the root
>> directory, so it must be a different method. Can anybody give me a hint?

>
> bcdedit
>


EasyBCD at http://neosmart.net/dl.php?id=1

 
Reply With Quote
 
R. C. White
Guest
Posts: n/a
Thanked:
 
      01-25-2010
Hi, Dabbler.

Dual-boot with which other OS? Another Windows? Or with Linux or some
other non-MS OS?

The only time that Win7 (or Vista) uses boot.ini (or NTLDR or NTDETECT.COM)
is when you are dual-booting with WinXP (or Win2K).

Be sure to follow the Golden Rule of dual-booting: Install the newest
Windows LAST. Win7 Setup.exe knows what to do when it finds WinXP already
installed, but WinXP has no idea how to handle Win7, which didn't exist when
WinXP Setup was written. If you install WinXP after Win7, then you'll have
to run Win7 Setup again to let it re-write the startup files that WinXP's
Setup will have overwritten.

The Windows boot process always starts in the System Partition (typically -
but no necessarily - the first partition on the first HDD) and then branches
to whichever partition on whichever HDD holds the Windows installation that
we choose from the opening menu. WinXP uses NTLDR and NTDETECT.COM to start
and boot.ini to hold the menu of OSes. Win7 uses the file bootmgr and the
Boot Configuration Data (BCD) held in the Boot folder. In either system,
all these startup files and folder must be in the Root of the System
Partition and they all have the System and Hidden attributes.

When Win7's bootmgr presents the OS menu, the first option is to boot a
"Previous version of Windows" - previous to Vista. When you select that,
bootmgr backs out of the way and turns control over to NTLDR, which uses
boot.ini to present the pre-Vista options, such as WinXP Pro, WinXP 64,
Win2K, etc. Just like when dual-booting in WinXP, once the OS selection is
made, that OS starts and all the other options are forgotten - except as
files and folders taking up space on the disk.

One difference is that Win7 Setup.exe, when booted from the DVD, assigns the
letter C: to its own Boot Volume, even if that is the third partition on the
second HDD, which probably means that the System Volume will be seen as
Drive D:. This doesn't confuse Windows, but it does confuse a lot of users!
To make Win7 "inherit" the drive letters previously assigned by WinXP, you
must boot into WinXP and run Win7's Setup from the WinXP desktop. As with
WinXP, you can use Disk Management to change the drive letter for any volume
EXCEPT the System and Boot volumes; those can be changed only by running
Setup again.

Win7 comes with a command-line program to manage the BCD; it is called
BCDEdit.exe. It is about as user-friendly as LinEdit.com and other such
apps that we used in MS-DOS long ago. :>( Most users prefer to use a
third-party app, such as EasyBCD, mentioned by another poster, to manage the
BCD.

RC
--
R. C. White, CPA
San Marcos, TX

Microsoft Windows MVP
Windows Live Mail 2009 (14.0.8089.0726) in Win7 Ultimate x64

"Dabbler" <> wrote in message
news:hjku5k$nab$...
> I am pretty much familiar how dual boot works in XP but I am clueless how
> Windows7 does it. I don't see any boot.ini file in the root directory, so
> it must be a different method. Can anybody give me a hint?


 
Reply With Quote
 
Dabbler
Guest
Posts: n/a
Thanked:
 
      01-27-2010
"R. C. White" <> wrote in message
news:...
> Hi, Dabbler.
>
> Dual-boot with which other OS? Another Windows? Or with Linux or
> some other non-MS OS?
>
> The only time that Win7 (or Vista) uses boot.ini (or NTLDR or
> NTDETECT.COM) is when you are dual-booting with WinXP (or Win2K).
>
> Be sure to follow the Golden Rule of dual-booting: Install the newest
> Windows LAST. Win7 Setup.exe knows what to do when it finds WinXP
> already installed, but WinXP has no idea how to handle Win7, which
> didn't exist when WinXP Setup was written. If you install WinXP after
> Win7, then you'll have to run Win7 Setup again to let it re-write the
> startup files that WinXP's Setup will have overwritten.
>
> The Windows boot process always starts in the System Partition
> (typically - but no necessarily - the first partition on the first
> HDD) and then branches to whichever partition on whichever HDD holds
> the Windows installation that we choose from the opening menu. WinXP
> uses NTLDR and NTDETECT.COM to start and boot.ini to hold the menu of
> OSes. Win7 uses the file bootmgr and the Boot Configuration Data
> (BCD) held in the Boot folder. In either system, all these startup
> files and folder must be in the Root of the System Partition and they
> all have the System and Hidden attributes.


Thanks for explaining what BCD stood for because when I was young it
stood for Binary Coded Decimal numbers. What a difference, huh? ;-)
Anyway, when I installed Win7 on my laptop that had Vista in one
partition, the installer automatically set me up for dual boot. So I was
wondering what I would have to do to eventually remove Vista and
allocate the whole drive to Win7 that is the first partition on the
drive right now. I might even replace Vista with a Linux distro to play
with, at least temporarily, but in that case I should be able to dual
boot into Win7 and Linux.

 
Reply With Quote
 
R. C. White
Guest
Posts: n/a
Thanked:
 
      01-27-2010
Hi, Dabbler.

> Thanks for explaining what BCD stood for because when I was young it stood
> for Binary Coded Decimal numbers. What a difference, huh? ;-)


That BCD was a part of EBCDIC, right? I had only a passing acquaintance
with that because it was mostly for computers much bigger than the ones that
I was interested in. ;^}

> I might even replace Vista with a Linux distro to play with, at least
> temporarily, but in that case I should be able to dual boot into Win7 and
> Linux.


I know nothing of Linux except what I read in NGs like this.

I've been dual-booting since Win95/NT4.0 in about 1998, but always with
Windows versions only.

> Anyway, when I installed Win7 on my laptop that had Vista in one
> partition, the installer automatically set me up for dual boot.


Right. When we follow the Golden Rule that I mentioned, the latest Setup
handles all that automatically.

> So I was wondering what I would have to do to eventually remove Vista and
> allocate the whole drive to Win7 that is the first partition on the drive
> right now.


Most users - even veterans - don't realize that Windows always installs
itself in TWO segments. The large segment (maybe 10 GB or more in Win7)
goes into the \Windows folder tree on the partition where we tell Setup to
install it. That partition becomes the Boot Volume and the \Windows folder
the Boot Folder. But there is a very small (< 1 MB) segment that ALWAYS
goes into the System Partition. As I said earlier, this is NOT ALWAYS the
first partition on the first HDD, but it usually is. The actual location is
the Active (bootable) primary partition on the HDD currently designated in
the BIOS as the boot device. But any primary partition or any logical drive
in an extended partition on any HDD in the computer can become the Boot
Volume for a Windows installation.

Most computer users have only a single HDD and many (most?) of those have
only a single partition, so that previous paragraph is academic for them:
EVERYTHING is in Drive C:. But, even then, boot-up starts in the System
Partition and then progresses to the Boot Volume. It just happens that both
the System Partition and the Boot Volume are Drive C:.

Most users never quite get straight the "backwards" definitions of "System
Partition" and "Boot Volume". But this distinction is critical to
understanding dual-booting - and even to a proper understanding of
mono-booting. As many have said, we BOOT from the System Partition and keep
the operating SYSTEM files in the BOOT volume. The reasons for this are
somewhere in computer antiquity and we are not likely to see them changed,
so we just have to get familiar with them. See:
Definitions for system volume and boot volume
http://support.microsoft.com/kb/314470/EN-US/

> wondering what I would have to do to eventually remove Vista and allocate
> the whole drive to Win7 that is the first partition on the drive right
> now.


So ALL you need to do to remove Vista is boot into Win7 and delete Vista's
Boot Folder. Since Vista was installed first, it probably is C:\Windows.
Win7 Setup may have assigned C: to its own boot volume and another letter -
probably D: - to the System Partition. If that is true, then the command to
delete C:\Windows will be refused, since no OS will delete its own boot
folder. But to Win7, Vista's boot folder is "just another folder and Win7
will happily delete that. So, just tell Win7 to delete D:\Windows. That
will leave the System Partition intact, except that all of Vista will be
gone.

Then all you have to do is edit the BCD on D: to remove the reference to
Vista. That's where you'll use BCDEdit.exe or one of the third-party BCD
editors. You don't actually have to do this edit, but it might be a source
of confusion until you do.

RC
--
R. C. White, CPA
San Marcos, TX

Microsoft Windows MVP
Windows Live Mail 2009 (14.0.8089.0726) in Win7 Ultimate x64

"Dabbler" <> wrote in message
news:hjobsv$geh$...
> "R. C. White" <> wrote in message
> news:...
>> Hi, Dabbler.
>>
>> Dual-boot with which other OS? Another Windows? Or with Linux or some
>> other non-MS OS?
>>
>> The only time that Win7 (or Vista) uses boot.ini (or NTLDR or
>> NTDETECT.COM) is when you are dual-booting with WinXP (or Win2K).
>>
>> Be sure to follow the Golden Rule of dual-booting: Install the newest
>> Windows LAST. Win7 Setup.exe knows what to do when it finds WinXP
>> already installed, but WinXP has no idea how to handle Win7, which didn't
>> exist when WinXP Setup was written. If you install WinXP after Win7,
>> then you'll have to run Win7 Setup again to let it re-write the startup
>> files that WinXP's Setup will have overwritten.
>>
>> The Windows boot process always starts in the System Partition
>> (typically - but no necessarily - the first partition on the first HDD)
>> and then branches to whichever partition on whichever HDD holds the
>> Windows installation that we choose from the opening menu. WinXP uses
>> NTLDR and NTDETECT.COM to start and boot.ini to hold the menu of OSes.
>> Win7 uses the file bootmgr and the Boot Configuration Data (BCD) held in
>> the Boot folder. In either system, all these startup files and folder
>> must be in the Root of the System Partition and they all have the System
>> and Hidden attributes.

>
> Thanks for explaining what BCD stood for because when I was young it stood
> for Binary Coded Decimal numbers. What a difference, huh? ;-)
> Anyway, when I installed Win7 on my laptop that had Vista in one
> partition, the installer automatically set me up for dual boot. So I was
> wondering what I would have to do to eventually remove Vista and allocate
> the whole drive to Win7 that is the first partition on the drive right
> now. I might even replace Vista with a Linux distro to play with, at least
> temporarily, but in that case I should be able to dual boot into Win7 and
> Linux.


 
Reply With Quote
 
Ken Blake, MVP
Guest
Posts: n/a
Thanked:
 
      01-27-2010
On Wed, 27 Jan 2010 09:56:35 -0600, "R. C. White" <>
wrote:

> Hi, Dabbler.
>
> > Thanks for explaining what BCD stood for because when I was young it stood
> > for Binary Coded Decimal numbers. What a difference, huh? ;-)

>
> That BCD was a part of EBCDIC, right? I had only a passing acquaintance
> with that because it was mostly for computers much bigger than the ones that
> I was interested in. ;^}



EBCDIC was an extended version of the older BCD. EBCDIC stands for
Extended BCD Interchange Code.

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
 
Reply With Quote
 
H Mc
Guest
Posts: n/a
Thanked:
 
      01-27-2010
Realy meas Extended Binary Coded Decimal Interchange Code

"Ken Blake, MVP" <> wrote in message
news:...
> On Wed, 27 Jan 2010 09:56:35 -0600, "R. C. White" <>
> wrote:
>
>> Hi, Dabbler.
>>
>> > Thanks for explaining what BCD stood for because when I was young it
>> > stood
>> > for Binary Coded Decimal numbers. What a difference, huh? ;-)

>>
>> That BCD was a part of EBCDIC, right? I had only a passing acquaintance
>> with that because it was mostly for computers much bigger than the ones
>> that
>> I was interested in. ;^}

>
>
> EBCDIC was an extended version of the older BCD. EBCDIC stands for
> Extended BCD Interchange Code.
>
> --
> Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
> Please Reply to the Newsgroup


 
Reply With Quote
 
Ken Blake, MVP
Guest
Posts: n/a
Thanked:
 
      01-27-2010
On Wed, 27 Jan 2010 16:10:23 -0600, "H Mc" <> wrote:

> Realy meas Extended Binary Coded Decimal Interchange Code




Yes, that's what I said. RC correctly said BCD means "Binary Coded
Decimal" and I added the definition of the "E" and "IC" to that.



> "Ken Blake, MVP" <> wrote in message
> news:...
> > On Wed, 27 Jan 2010 09:56:35 -0600, "R. C. White" <>
> > wrote:
> >
> >> Hi, Dabbler.
> >>
> >> > Thanks for explaining what BCD stood for because when I was young it
> >> > stood
> >> > for Binary Coded Decimal numbers. What a difference, huh? ;-)
> >>
> >> That BCD was a part of EBCDIC, right? I had only a passing acquaintance
> >> with that because it was mostly for computers much bigger than the ones
> >> that
> >> I was interested in. ;^}

> >
> >
> > EBCDIC was an extended version of the older BCD. EBCDIC stands for
> > Extended BCD Interchange Code.
> >
> > --
> > Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
> > Please Reply to the Newsgroup


--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
 
Reply With Quote
 
Dabbler
Guest
Posts: n/a
Thanked:
 
      01-28-2010
"Ken Blake, MVP" <> wrote in message
news:...
> Yes, that's what I said. RC correctly said BCD means "Binary Coded
> Decimal" and I added the definition of the "E" and "IC" to that.


Actually, there is more to it than that. BCD coding, used by a line of
Burroughs computers back in the '70s used decimal memory addressing
scheme where each decimal digit was encoded with binary. So, a memory
offset of 12, for instance, actually required two digits, with 1 and two
binary codes in them, respectively. In an EBCDIC system it would only
take one hex digit ('C'.) I used to program those Burroughs computers,
so I know. I also coded IBM 360/370 (EBCDIC) computers in assembly. Here
is a Wikipedia quote about it:

"Burroughs produced the B2000 or "medium systems" computers aimed
primarily at the business world. The machines were designed to execute
COBOL efficiently. This included a BCD (Binary Coded Decimal) based
arithmetic unit, storing and addressing the main memory using base 10
numbering instead of binary."

<http://en.wikipedia.org/wiki/Burroughs_Corporation>

I really liked those computers because they were easy for assembly
language programmers. Burroughs engineers obviously designed those
computers with programmers in mind.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows 7 dual boot issue need help mattym83 Windows 7 Support 1 05-01-2010 02:57 AM
Dual boot and documents philmrs Installation, Setup and Updates 2 11-20-2009 08:24 PM
Windows 7 64 / Vista 32 Dual Boot issue zerokool General Discussion 4 08-30-2009 07:48 AM
Dual Boot..Vista /Win7 ronpeck Windows 7 Support 6 05-16-2009 01:49 AM
Dual boot problems. cpearless Windows 7 Support 2 05-05-2009 08:12 PM


All times are GMT +1. The time now is 02:10 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33