LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-13-2011, 08:38 AM   #1
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Rep: Reputation: 41
Chainloading GRUB from Win7


Yes, you read right.
Windows 7 has steadfastly refused all attempts to make it boot sucessfully by chainloading from GRUB to it, so now I'm going for the opposite way.

With Arch (finally) installed sucessfully, with it's own /boot and root partitions, I've used EasyBCD to create an entry in Windows' bootloader that points to Arch's /boot partition.

And nothing happens. Windows works fine, but it appears incapable of loading Arch from the /boot partition.

This might be because GRUB was installed to the MBR, found incapable of loading 7, and then re-overwritten with the Windows loader, so I'm guessing I may well need to reinstall GRUB, this time to the /boot partition (sda5) - except I haven't figured out how to do that with the pre-existing install.

In short: Arch is installed on sda6, with /boot on sda5. Entry created in Windows pointing to sda5 to boot, but nothing happens.
 
Old 04-13-2011, 08:51 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,487

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Quote:
Originally Posted by TheStarLion View Post
... so I'm guessing I may well need to reinstall GRUB, this time to the /boot partition (sda5)
Yep, that's all you need to do - the BCD entry should find it o.k.

Last I installed Arch it used classic grub (i.e. not grub2). As root from a terminal this should work
Code:
grub
root (hd0,4)
setup (hd0,4)
quit
 
Old 04-13-2011, 08:54 AM   #3
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
Right now, the problem there is getting into Arch itself. I know the install cds can be used as rescue as well, but from there on my knowledge sort of fails me.
If memory serves, mounting the root and boot partitions in a temporary folder and using chroot should work. Not entirely sure if that's all I need to do to make it work though.
 
Old 04-13-2011, 10:17 AM   #4
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,385

Rep: Reputation: 186Reputation: 186
You do know that windows 7 uses two partitions. One to boot from and one for the windows system. Sometimes three if there is a recovery partition. This throws some people off because they will try to chainload to the partition that the main system is on instead of the boot partition. Never mind I miss read your first post.

Last edited by colorpurple21859; 04-13-2011 at 10:20 AM.
 
Old 04-13-2011, 10:19 AM   #5
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
That's probably what threw me off. I've managed to get it to chainload this way sucessfully though, which is enough to suit me for now. If it gives trouble later, I'll figure this out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Need help chainloading grub to my SD card shadowbox12 Linux - Laptop and Netbook 12 11-06-2011 07:58 PM
chainloading to grub 2handband Slackware 38 12-24-2010 08:25 AM
[SOLVED] chainloading with grub and grub2 houndhen Linux - General 3 12-20-2010 02:39 PM
Chainloading Grub from Lilo Unr3a164 Slackware 5 06-04-2008 11:35 AM
GRUB & XP w/out Chainloading: Possible? Computer Guru Linux - Software 5 06-14-2006 01:23 PM


All times are GMT -5. The time now is 05:13 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration