LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-14-2014, 01:21 AM   #1
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Rep: Reputation: 21
Loading the Windows 7 kernel directly by GRUB2.


I came to situation where I need Windows 7 but cannot use it on my BIOS based system as my hard disk is formatted as GPT. The easy and dumb solution at Microsoft was to change GPT to MBR. However, logic dictates that this restriction is not based in technology but is a restriction that could have been avoided as in GNU/Linux.

My question is whether I can instruct GRUB2 to load the Windows 7 kernel directly like in GNU/Linux.

I can attempt to use GRUB2's linux command passing it the name of the Windows 7 kernel but the word 'linux' does sound like that will NOT work.

Last edited by edbarx; 08-14-2014 at 01:22 AM.
 
Old 08-14-2014, 01:54 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Retail versions of Win7 64-bit should be installable to, and loadable from, gpt. May only be the "Professional".
Note this specifically excludes OEM 64-bit Professional Win7 - guess how I know.

As to your question, Windows has never been multiboot compliant, so no.
 
Old 08-14-2014, 06:33 AM   #3
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Original Poster
Rep: Reputation: 21
Thanks for all your replies.

Microsoft's website states the Windows 7 can only be installed to a GPT formatted disk provided the system is UEFI based. This is also the reason why I am posting here for any workaround from some inarrestible guru. My system is a multiboot system with over 5 operating system installed. I would like to add Win 7 to the collection as some websites are too irate to allow GNU/Linux to be served by their services. One of these is Disqus.

At the moment I have a temporary 'solution' which is running Win 7 in a VM under OpenBox to save on resources. However, my system is based on a T4400 Intel P4 dual core processor with only 2 GB of RAM. I am thinking about backing up the .dvi virtual disk to an iso so as to transfer it to a real partition. After that, I will have to direct GRUB2 to load Window's primary bootloader probably by using the 'linux' command.
 
Old 08-17-2014, 04:38 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator Response

Moved: This thread is more suitable in <Linux-General> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 08-20-2014, 07:07 AM   #5
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Original Poster
Rep: Reputation: 21
I tried to use the linux command in GRUB2 to load the bootsector code manually as a test. GRUB2 complained it didn't find a kernel header. This means, GRUB2 tries to parse whatever executable file it is passed to verify that it is actually a valid Linux kernel. I expected GRUB2 more naive at that!
 
Old 08-20-2014, 07:52 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,507

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
Quote:
I would like to add Win 7 to the collection as some websites are too irate to allow GNU/Linux to be served by their services. One of these is Disqus.
Is the link below to the site you are referring to?

https://disqus.com/

I don't have any problems accessing an navigating the site with Linux Firefox. You might try adding the User Agent Overrider from the firefox tools, add-ons menu as an extension to identify the browser as windows. I don't know what other issues you have for which you need windows so...?
 
  


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
loading a troubled OS (Windows 8) in Grub2 Gustavo AzDbn Linux - General 1 06-19-2014 09:13 AM
[SOLVED] GRUB2 can't boot FreeBSD, neither directly nor via the loader JZL240I-U Linux - Software 7 03-04-2013 02:43 AM
loading winXP from Grub2 scottybwoy Debian 14 04-20-2011 10:33 AM
loading linux directly on to hard drive gibney Linux - Newbie 2 05-14-2007 03:28 AM

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

All times are GMT -5. The time now is 07:48 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