LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   On Windows and LInux dual boot - why install Windows first? (https://www.linuxquestions.org/questions/linux-newbie-8/on-windows-and-linux-dual-boot-why-install-windows-first-126627/)

yanar99 12-17-2003 09:06 AM

On Windows and LInux dual boot - why install Windows first?
 
I've seen strong advices to install Windows first before Linux... why exactly?

homey 12-17-2003 09:12 AM

Because Windows installations act like they own the computer. It over writes the MBR which is no problem for someone who has been around for a while but a first time Linux user gets off to a bumpy start that way. :)

rkngl 12-17-2003 09:14 AM

I guess it's because Windows overwrites your boot loader when you install it, so if you don't know what you're doing, you won't be able to boot your linux. Of course, i could be wrong. Just my 5 cents.

wytiger 12-17-2003 09:32 AM

They are both right. Win9x/Me will assume that it is the only OS on the system. Win2k/XP does have a boot loader, but it will pretty much assume that it is the only OS, or that there are more Windows OS's on the system.

The Linux boot loaders will "play well with others", and so this is why it's best to do it last.

darthczyz 12-17-2003 10:16 AM

so if i don't 'know what i'm doing' but would like to ... how would i get linux to boot if i installed it first, and then installed windows?

Area51 12-17-2003 10:39 AM

When installing linux put the bootloader on a floppy then install windows.This way windows will boot at start up.To boot linux just put the floppy in at boot.

isone 12-17-2003 11:08 AM

Yes..put the floppy in at boot then when u get in linux..
run install-grub (or 'grub-install') in terminal.
then your GRUB will be reinstalled.

rkngl 12-17-2003 11:33 AM

The only thing is, you then have to edit your grub menu.lst file so you can boot windows from grub.:)
Once you have booted your linux system, type info grub for detaled information about grub.

cexshun 12-17-2003 11:36 AM

Windows assumed it was my only OS, and after reformatting my first hard drive to NTFS, it began reformatting my Linux hard drive without even asking.

What I did was just unplug my Linux hard drive(IDE and Power), booted off the windows CD, installed to the HDD so windows thought it was all alone. Then when finished, hooked up linux hard drive, configured lilo, all is well.

gavinbeatty 12-17-2003 11:44 AM

no bootloader floppy?
 
I'm a super noob here and I just installed XP literally 10mins ago.
I posted a thread on "Will my linux get screwed in XP install" and was told in no uncertain terms "NO".

Well now I can't load linux (no lilo prompt) but the partition is still intact.
I have no boot disk (apart from a mandrake9.2 install boot disk which I presume is of no use).

I'm holding no grudges to linux so can you please free my system from XP oppression?

(Preferably without a fresh install) :)

mikshaw 12-17-2003 11:50 AM

If your Linux installation is intact, try booting to it from the CD or floppy. If this succeeds you can install grub or lilo to the mbr, overwriting XP's bootloader....hopefully.

chup 12-17-2003 01:07 PM

maybe you can try the rescue feature of mandrake and see if that is of any help (maybe itll let you reinstall the bootloader)?

gavinbeatty 12-18-2003 09:03 AM

Thanks
 
I figured it out.
I needed to use the rescue feature in the command line.

No mention of it anywhere in the "Advanced Help" section but I rememberd something from a LILO config template I saw once.

Thanks for your help guys!

bigjohn 12-18-2003 09:20 AM

It's not a "dyed in the wool" thing, though with a lot of people it's a recommended method, because when you install windows, as has been mentioned their boot loader overwrites lilo/grub, hence because linux will see windows but not the other way round, if you install windows first, then install lilo/grub it's the lilo/grub that overwrites any windows boot info in the MBR, you just then have to modify the linux boot loader (either lilo or grub) so it boots to your satisfaction i.e. the correct defaults and so on.

But I point this out, because if you check out the partitioning howtos at the linux documenation project, then you will see methods of "doing it differently :) that allow you to modify things so linux is first etc etc shit like having a /boot partition first and installing the boot loader there, but then making sure that it still knows where you've got windows and so on.

But putting windows in first, followed by linux will normally leave you with the linux install as default and it's a lot easier/less stress when first getting into linux.

regards

John


All times are GMT -5. The time now is 12:39 AM.