LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2012, 04:21 PM   #1
raj00raj
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Rep: Reputation: Disabled
grub


can i install windows using grub and if yes then how ??
 
Old 05-04-2012, 04:26 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
No, you can't install Windows using grub. Grub is a bootloader. You can install Windows using a windows installation CD/DVD.

If you are asking whether you can add Windows to grub entries then yes, you can. The method will depend on whether you're using grub-legacy or grub2.
 
Old 05-04-2012, 05:18 PM   #3
flamelord
Member
 
Registered: Jun 2011
Distribution: Arch Linux
Posts: 151

Rep: Reputation: 34
However, I believe that by default Windows overwrites the master boot record, so after installing Windows you will need to go back and re-install GRUB onto the device.
 
Old 05-04-2012, 08:51 PM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
raj00raj,

You posted the same question in another thread also, http://www.linuxquestions.org/questi...ooting-942989/, please keep the discussion at one place.
And coming to your question, no windows cannot be installed using grub.
Rest you can check on google what is grub.

Last edited by Satyaveer Arya; 05-04-2012 at 08:52 PM.
 
Old 05-05-2012, 08:05 AM   #5
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Quote:
Originally Posted by flamelord View Post
However, I believe that by default Windows overwrites the master boot record, so after installing Windows you will need to go back and re-install GRUB onto the device.
I used to believe this too. I actually installed Windows 7 onto a partition the other day and sure enough when my computer booted up, my usual grub legacy didn't boot up. I booted a live cd and reconfigured my boot partition to be the first boot device, and on reboot everything was normal, and when i selected windows from the menu, it chainloaded it fine. If it had have been on the mbr, i'd think the chain load wouldn't work. I suspect that Windows does what Opensuse does (which i hate) and that is; the bootloader is installed to the root partition but it is configured automatically to be the first boot device.
 
Old 05-05-2012, 08:27 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
To clarify that, the bootloader of NT6 (Vista, 7) is a multi-stage bootloader, like Grub. It's first stage resides in the MBR, the second stage resides in the partitions boot-sector, the third stage is a program called bootmgr, which is found in the root directory of the system partition.
If for whatever reason Windows has not replaced the MBR on your system then you had the luck that the installer failed to write to the MBR.
 
Old 05-05-2012, 08:25 PM   #7
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Rep: Reputation: Disabled
The only reason I could see windows not overwriting the MBR is if you used two hard drives. If your linux drive was made secondary while while windows was installed on the other drive and then you later swapped the drives you would still have grub because windows wrote to the second MBR. of course if thats the case you will most likely have to update grub to include windows.
 
1 members found this post helpful.
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
[SOLVED] How come I can't edit /boot/grub/grub.conf or /boot/grub/menu.lst in Fedora 14? trien27 Fedora 4 01-22-2011 04:02 PM
GRUB GRUB GRUB.... all over the display while booting with USB. kapsikum Linux - General 5 01-08-2010 04:29 AM
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 06:40 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration