LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-16-2017, 09:03 PM   #1
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Rep: Reputation: Disabled
Question Grub 2.0 as stand alone


Can Grub 2.0 be installed on a Windows machine or laptop as a stand alone bootloader minus a Linux distribution ? Can Grub be installed on any Windows Machine example Vista, Windows 7, 8 or 10 - by itself ? I have read that this is not possible -

Last edited by synchlavier; 03-16-2017 at 11:05 PM.
 
Old 03-16-2017, 10:28 PM   #2
tomemick
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Rep: Reputation: Disabled
Maybe you can chainload the win OS.

GRUB manual:

https://www.gnu.org/software/grub/manual/grub.html

See 4.1.2 chainloading / 4.3.3 Dos Windows

Last edited by tomemick; 03-16-2017 at 10:33 PM.
 
1 members found this post helpful.
Old 03-16-2017, 11:59 PM   #3
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Original Poster
Rep: Reputation: Disabled
Thumbs up

tomemick thank you for your input - you are absolutely correct. It's kind of misleading when they say that Grub is a universal bootloader when in fact it is not set up to work with Windows the way it is to work with other Linux and or Unix OS's

Last edited by synchlavier; 03-17-2017 at 12:00 AM.
 
Old 03-17-2017, 12:41 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Rubbish. The Microsoft loaders are not multi-boot compliant. Like everything else M$oft do, they use proprietary methods. The fault is not grubs - we, as a community, have to develop work-arounds because of M$ofts intransigence.
 
1 members found this post helpful.
Old 03-17-2017, 12:49 AM   #5
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Original Poster
Rep: Reputation: Disabled
@Syg00 I wonder has the situation changed with Windows 10 Professional edition -
 
Old 03-17-2017, 01:08 AM   #6
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
There is no mention of "Dual boot", only Windows.
Which brings one to ask, why this question is being asked?

Windows boot loader does a great job of booting Windows, if you don't like it, get rid of Windows.
Why would anyone even consider using a non Windows boot loader to load Windows?

If errors cause the loader to fail, it's a problem with Windows, not the boot loader, simply go to restore feature and refresh or reset it, or use the recovery media you created after purchasing/acquiring your Windows 10 machine.
It's simple and works great.
 
1 members found this post helpful.
Old 03-17-2017, 02:56 AM   #7
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Windows boot loader does a great job of booting Windows, if you don't like it, get rid of Windows. Why would anyone even consider using a non Windows boot loader to load Windows?
You may be running a Windows machine with a high capacity HDD and decide you want to partition the HDD to run other operating systems such as Debian, Mint, Fedora, FreeBSD etc, etc..for that you need the ability to boot into any one of those Os'es. What's more you may decide to attach an external HDD partitioned to run other Os'es to your native machine. In such cases you need a bootloader that permits multibooting and Grub is designed for that -

Last edited by synchlavier; 03-17-2017 at 03:05 AM.
 
Old 03-17-2017, 05:32 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by syg00 View Post
Rubbish. The Microsoft loaders are not multi-boot compliant. Like everything else M$oft do, they use proprietary methods. The fault is not grubs - we, as a community, have to develop work-arounds because of M$ofts intransigence.
Quote:
Originally Posted by synchlavier View Post
@Syg00 I wonder has the situation changed with Windows 10 Professional edition -
i think this is rather getting worse with every new MS software version. including windows of course.
 
1 members found this post helpful.
Old 03-17-2017, 07:03 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,503

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
Can Grub 2.0 be installed on a Windows machine or laptop as a stand alone bootloader minus a Linux distribution ?
It can certainly be installed on a machine with just windows in the same way as a separate boot partition. You could easily create a small grub partition with a Linux filesystem or possibly vfat and install Grub to the MBR of the drive pointing to that partition.

The problems you will have with this is that you will need to manually create the grub.cfg file. The reasons for this are that the scripts necessary to create the grub.cfg file (grub-mkconfig or the Ubuntu update-grub) are located in /usr/sbin which would be on the Linux system. Also, there are a number of other Grub files in the /etc/grub.d directory as well as the /etc/default/grub file. So basically, if you can create the grub.cfg file manually, it should not be a problem. Since the installation of the Grub bootloader when installing a Linux system is usually the last step, you will need to find aother way to install Grub. See the link below.

https://help.ubuntu.com/community/Gr...iveCD_terminal

Grub2 doesn't actually 'boot' any windows directly but rather chainloads the other OS. An explanation of chainloading is at the Grub Manual site at the link posted above and the suggestion above to chainload seems like the simplest solution. Just install the Grub files to the partition and then create chainload entries for as many partitions as you want.

If you are using UEFI, that adds another layer of complexity as you will need an EFI partition if you don't already have one in addition to the Grub partition.

Last edited by yancek; 03-17-2017 at 07:11 PM.
 
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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what does f stand for houmingc Linux - Newbie 2 03-02-2015 09:30 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Grub as a stand alone spiky0011 Linux - Newbie 6 02-17-2013 05:56 AM
What does this stand for? newlinuxnewbie Linux - Server 1 09-22-2006 01:25 PM
So mad I can't stand it: GRUB! herkdrvr Linux - General 3 11-02-2004 03:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:50 AM.

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