Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Why must Windows be installed first in a dual-boot?

Reply
Thread Tools Display Modes

Why must Windows be installed first in a dual-boot?

 
 
pc nerd
Guest
Posts: n/a

 
      12-28-2008
I want to build a dual-boot PC with Vista & Linux. Both Vista & Linux have
boot loaders. Why is it necessary to install Windows first? Why can't Linux
be installed first?

I'll admit that Vista has a pretty neat feature - one can shrink or expand
the partition from within Windows. Linux requires a separate program to
shrink or expand the partition.

So, please explain why Windows must be installed before Linux or if Linux
can be installed first, what is the sequence of steps.

Thank you.
David
 
Reply With Quote
 
 
 
 
Thomas Jespersen
Guest
Posts: n/a

 
      12-28-2008
On Sun, 28 Dec 2008 06:11:01 -0800, pc nerd
<> wrote:

>I want to build a dual-boot PC with Vista & Linux. Both Vista & Linux have
>boot loaders. Why is it necessary to install Windows first? Why can't Linux
>be installed first?


The Linux installation process immediately recognizes a windows
installation and all distributions I tried will automatically insert a
Windows boot-option when you start your system.

Doesn't work the other way round though, Windows won't recognize an
existing Linux installation.

Much easier if you install Windows first so that's my recommendation
as well.
 
Reply With Quote
 
The poster formerly known as 'The Poster Formerly Known as Nina DiBoy'
Guest
Posts: n/a

 
      12-28-2008
pc nerd wrote:
> I want to build a dual-boot PC with Vista & Linux. Both Vista & Linux have
> boot loaders. Why is it necessary to install Windows first? Why can't Linux
> be installed first?
>
> I'll admit that Vista has a pretty neat feature - one can shrink or expand
> the partition from within Windows. Linux requires a separate program to
> shrink or expand the partition.
>
> So, please explain why Windows must be installed before Linux or if Linux
> can be installed first, what is the sequence of steps.
>
> Thank you.
> David


Because Microsoft in it's monopoly mentality and infinite wisdom decided
that windows does not need to recognize that other operating systems
exist. Ever.

So if you have linux loaded first, and try to load windows, it will
overwrite your boot partition as though it's a blank harddrive (despite
the fact that another OS is installed), thereby disabling your ability
to boot to linux.

If you load windows, then load linux, linux will recognize that there is
another OS installed that you might still also want to boot to and it
will add an entry to it's bootloader to allow you to choose that other
OS when you boot the computer.

--
"Software is like sex, it's better when it's free."
- Linus Torvalds

DRM and unintended consequences:
http://blogs.techrepublic.com.com/se...35&tag=nl.e101
 
Reply With Quote
 
Malke
Guest
Posts: n/a

 
      12-28-2008
pc nerd wrote:

> I want to build a dual-boot PC with Vista & Linux. Both Vista & Linux have
> boot loaders. Why is it necessary to install Windows first? Why can't
> Linux be installed first?
>
> I'll admit that Vista has a pretty neat feature - one can shrink or expand
> the partition from within Windows. Linux requires a separate program to
> shrink or expand the partition.
>
> So, please explain why Windows must be installed before Linux or if Linux
> can be installed first, what is the sequence of steps.


You can install Linux first but because MS operating systems overwrite the
boot files, it is easier to install the MS OS first and then install Linux
and use the Linux boot manager instead.

man grub

If you don't want to do things the easy way, Google for how to install Linux
before Vista or post on one of the many Linux newsgroups/forums.

Malke
--
MS-MVP
Elephant Boy Computers - Don't Panic!
FAQ - http://www.elephantboycomputers.com/#FAQ

 
Reply With Quote
 
ray
Guest
Posts: n/a

 
      12-28-2008
On Sun, 28 Dec 2008 06:11:01 -0800, pc nerd wrote:

> I want to build a dual-boot PC with Vista & Linux. Both Vista & Linux
> have boot loaders. Why is it necessary to install Windows first? Why
> can't Linux be installed first?


It's not necessary. It's just easier that way. MS will overwrite the MBR
so after the MS install (assuming Linux was installed first), you boot a
Live CD and rewrite the MBR - if you know how.

>
> I'll admit that Vista has a pretty neat feature - one can shrink or
> expand the partition from within Windows. Linux requires a separate
> program to shrink or expand the partition.


It has always seemed problematic to me to attempt to resize a mounted
file system.

>
> So, please explain why Windows must be installed before Linux or if
> Linux can be installed first, what is the sequence of steps.


Outlined above. If you need more detail, we can go into that.

Why bother? Why not run one in a virtual machine within the other - that
way it's no hassle at all.


>
> Thank you.
> David


 
Reply With Quote
 
pc nerd
Guest
Posts: n/a

 
      12-30-2008
> Why bother? Why not run one in a virtual machine within the other - that
> way it's no hassle at all.


I considered that but virtual PC doesn't run Linux. I'd have to use VMware.

OK, I'll do it the easy way.

I have some more questions. I believe that Vista doesn't use boot.ini, but
some other boot file. Is it a text file that can be edited? I want to be able
to alternate default OSes. I want Windows to be the default for, say, a few
months & then I want Linux to be the default OS for a few months. So how do I
edit the Vista boot file so that I can alternate default OSes? You know the
OS that boots after the time-out.

>because linux is not a snob and can see the existence of windows
>installations and it adds them to its bootloader


I thought that the Windows bootloader is used in a dual-boot setup. Can I
use either the Windows or Linux bootloader?

>Doesn't work the other way round though, Windows won't recognize an
>existing Linux installation.

OK

>I use the WUBI way to install ubuntu.. that creates a virtual partition in
>windows, and puts all the data in that space...


>using this method of install you can remove linux from the add remove
>programs.. and it adds an entry to the WINDOWS bootloader!


COOL!

>so you have a windows bootloader that says> VISTA and UBUNTU!


>quite nice.. and speed is good...


"ray" wrote:

> On Sun, 28 Dec 2008 06:11:01 -0800, pc nerd wrote:
>
> > I want to build a dual-boot PC with Vista & Linux. Both Vista & Linux
> > have boot loaders. Why is it necessary to install Windows first? Why
> > can't Linux be installed first?

>
> It's not necessary. It's just easier that way. MS will overwrite the MBR
> so after the MS install (assuming Linux was installed first), you boot a
> Live CD and rewrite the MBR - if you know how.
>
> >
> > I'll admit that Vista has a pretty neat feature - one can shrink or
> > expand the partition from within Windows. Linux requires a separate
> > program to shrink or expand the partition.

>
> It has always seemed problematic to me to attempt to resize a mounted
> file system.
>
> >
> > So, please explain why Windows must be installed before Linux or if
> > Linux can be installed first, what is the sequence of steps.

>
> Outlined above. If you need more detail, we can go into that.
>
> Why bother? Why not run one in a virtual machine within the other - that
> way it's no hassle at all.
>
>
> >
> > Thank you.
> > David

>
>

 
Reply With Quote
 
Paddy Landau
Guest
Posts: n/a

 
      12-30-2008
>> Why bother? Why not run one in a virtual machine within the other - that
>> way it's no hassle at all.

>
> I considered that but virtual PC doesn't run Linux. I'd have to use VMware.


You can run Windows in a virtual machine in Linux, though. But,
be aware that whenever you run an operating system in a virtual
machine, there is a price to pay in performance.

>>> I'll admit that Vista has a pretty neat feature - one can shrink or
>>> expand the partition from within Windows. Linux requires a separate
>>> program to shrink or expand the partition.


Well, Vista's shrink and expand is also a program. Ubuntu comes
with the gparted program, which does the same thing. When you
install Ubuntu, it automatically allows you to change the partitions.

However, as I understand it, gparted is not yet compatible with
Vista's NTFS. Unfortunately, as I found to my disadvantage,
neither is Vista's shrink facility! Therefore, to shrink or slide
Vista's partition, use Acronis Disk Director or BootIT NG.

To shrink, expand or slide any Linux partition, use gparted,
which is pleasantly easy to use.

>> It has always seemed problematic to me to attempt to resize a mounted
>> file system.


I had no problem whatsoever in shrinking, expanding and sliding
(last night, in fact), using BootIT NG for the Vista partition
and gparted for the Linux partition.

However, you are right that you can't do it on a *mounted*
partition! BootIT NG and gparted both require a bootable CD (I
don't know about Acronis Disk Director). To expand a Vista
partition, you can use its built-in program.

>>> So, please explain why Windows must be installed before Linux or if
>>> Linux can be installed first, what is the sequence of steps.

>> Outlined above. If you need more detail, we can go into that.


If you install Windows before Ubuntu, then Ubuntu recognises the
Windows partition and allows you to boot from either one. It also
allows you to decide which is the default boot partition.

If you install Windows after Linux, then Windows doesn't seem to
recognise the Linux partition. If you've do that and thereby lost
access to your Ubuntu partition, you can pop over to the Ubuntu
support forums, where they'll explain how to recover from this.
 
Reply With Quote
 
Donald L McDaniel
Guest
Posts: n/a

 
      12-30-2008
On Sun, 28 Dec 2008 06:11:01 -0800, pc nerd
<> wrote:

>I want to build a dual-boot PC with Vista & Linux. Both Vista & Linux have
>boot loaders. Why is it necessary to install Windows first? Why can't Linux
>be installed first?
>
>I'll admit that Vista has a pretty neat feature - one can shrink or expand
>the partition from within Windows. Linux requires a separate program to
>shrink or expand the partition.
>
>So, please explain why Windows must be installed before Linux or if Linux
>can be installed first, what is the sequence of steps.
>
>Thank you.
>David



1) You ask, "Why must Windows...be installed first?".
2) I answer, this is not exactly true.

When Installing two Windows versions, the oldest version should be
installed first, so that the older version can be added to the Boot
Menu of the newer version.

When dualbooting between Linux and Windows, LInux should be installed
first, so the Linux install can appear on the Windows boot menu, since
installing LInux last will not allow Windows to be added to the Linux
boot menu.

--

Donald L McDaniel
 
Reply With Quote
 
Paddy Landau
Guest
Posts: n/a

 
      12-30-2008
> When dualbooting between Linux and Windows, LInux should be installed
> first, so the Linux install can appear on the Windows boot menu, since
> installing LInux last will not allow Windows to be added to the Linux
> boot menu.


With Ubuntu, this is incorrect. When installed last, Ubuntu does
add Windows to the boot menu, and gives you the option of making
it the default boot partition.
 
Reply With Quote
 
Malke
Guest
Posts: n/a

 
      12-30-2008
pc nerd wrote:

> I considered that but virtual PC doesn't run Linux. I'd have to use
> VMware.


I think it does, but since I use VMware on both Windows and Mac I'll let you
do the Googling to be sure.

> I have some more questions. I believe that Vista doesn't use boot.ini, but
> some other boot file. Is it a text file that can be edited? I want to be
> able to alternate default OSes. I want Windows to be the default for, say,
> a few months & then I want Linux to be the default OS for a few months. So
> how do I edit the Vista boot file so that I can alternate default OSes?
> You know the OS that boots after the time-out.


Vista doesn't use boot.ini. It uses BCD:

Vista Boot Configuration Data Editor (BCDE) FAQ
http://technet.microsoft.com/en-us/l.../cc721886.aspx

BCDEdit Command-Line Options
http://technet.microsoft.com/en-us/l.../cc709667.aspx

Most people prefer to use a gui front-end. Vista Boot Pro is excellent. But
you don't need to do this since you're going to be using Grub. Look at
Grub's options - or man grub like I originally told you to - and you'll see
that you can override the default OS boot order at any time and change it
whenever you want.

Malke
--
MS-MVP
Elephant Boy Computers - Don't Panic!
FAQ - http://www.elephantboycomputers.com/#FAQ

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Add dual boot XP to installed Vista - now can't boot Paul H Windows Vista General Discussion 7 12-24-2008 06:45 PM
How to dual boot Ubuntu 7.04 with Windows Vista already installed GT Windows Vista General Discussion 16 06-24-2007 06:34 AM
XP installed, can I add Vista as a dual boot? Jerry Windows Vista Installation 24 01-23-2007 03:55 AM
rc1 did not dual boot but installed over xp please help asap Bobby Windows Vista General Discussion 1 10-07-2006 03:21 AM
rc1 installed over XP rather then dual boot please help ASAP Bobby Windows Vista General Discussion 5 10-07-2006 12:11 AM



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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59