LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 05-05-2012, 12:45 PM   #1
rhood
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 1
after multi-boot install, windows no longer boots from grub


On a macbook pro 8.2 (2011), I had triple-boot working with macos, windows 7, and ubuntu 10.04. My partitions are as follows:
/dev/sda1 fat32 /boot/efi (I think macos uses this to boot)
/dev/sd2 unknown Macintosh (this is the main mac partition)
/dev/sda3 hfs+ Recovery HD (mac recovery)
/dev/sd4 htfs Bootcamp (windows partition, set up by mac bootcamp)
/dev/sda5 ext4 / (ubuntu partition, which I created after installing windows)

Macos has its own boot system. If I hold down alt/option, I can select the mac partition and it boots that. Otherwise, it went to the grub menu after a few seconds and I could select either windows or linux and either would boot just fine.

I installed ubuntu 12.04 over the previous ubuntu 10.04 on /dev/sda5 (and told it to install grub on that same partition which I think is what I did when I previously installed 10.04), it installed fine and both macos and ubuntu work just like they did before. But when I select windows from the grub menu, I just get a blank screen with the message "error: not a valid root device. Press any key to continue..."

When I press a key (or wait a few seconds) it just takes me back to the grub menu.

I've been looking around for hours but can't find the solution. Any ideas how to fix this? Thanks in advance.
 
Old 05-05-2012, 05:21 PM   #2
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,248

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Run this from a live CD and post the results.tex(complete) here. You will need to post that from the Live session as the results will show up on the Desktop.
http://bootinfoscript.sourceforge.net/
 
Old 05-06-2012, 11:46 AM   #3
rhood
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by widget View Post
Run this from a live CD and post the results.tex(complete) here. You will need to post that from the Live session as the results will show up on the Desktop.
http://bootinfoscript.sourceforge.net/
Thanks for your response. I am attaching the RESULTS.TXT
Attached Files
File Type: txt RESULTS.txt (25.3 KB, 11 views)
 
Old 05-06-2012, 09:57 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,248

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
OK, I think this is a pretty easy fix.

First I must say that I have no experience with Mac or hfs+.

But the results.text seem to indicate that everything is all right. You have menu entries for both Mac and MS.

The problem seems to come from when you installed. Your 10.04 grub was, as it needs to be, installed on the MBR (sda not sda5). It is still there and looking for the source files in your now gone 10.04 install.

You will need to correct this problem.

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

Read that section of that site. Will give you several options using the LiveCD. I have never used the graphical tool in the Live Session. I have always chrooted in and used just run the commands. I hear the graphical tool works though. Quit using Ubuntu before that came out.

If that does not work just continue on in that same section and it will give you instructions for using the terminal. Note that you do have the results.test and that gives you all the info on the partition you are installed on (sda5) and you only have sda

This should straighten you out.

The only thing that concerns me is that you seem to have files for grub-legacy also. This could through a monkey wrench in the works. This can be dealt with if it is a problem.

Give the direction on that link a try. It is easy and should work. If not we will approach it another way.
 
Old 05-07-2012, 07:16 PM   #5
rhood
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 1
thanks

Thanks. I can now get to all 3 OS's if I hold down alt/option during boot and select either mac (goes directly to mac os) or "windows". "windows" takes me to the grub menu and from there I can select either ubuntu or windows and both will load just fine now.

I'm not sure why all the instructions I could find for triple-booting macbook pro like this said to install grub onto the linux partition instead of MBR. Also not sure why it seemed to work with 10.04 but not after installing 12.04. In any case, I now have access to all of my OSes, and really appreciate your help getting that to work. Thanks again.
 
Old 05-07-2012, 10:39 PM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,248

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
That is great. It is a real pain when things don't boot.

You should mark this solved. Top of page under Thread Tools. Only the OP can do that.

Makes it easier for folks useing a Forum Search if they have a similar problem to find threads that may have a solution for them.
 
  


Reply

Tags
boot, grub, macbook, multiboot, ubuntu


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] pclinuxos 2007 no longer boots, stuck in grub after freeze and hard reset mbvpixies78 Linux - Newbie 3 02-15-2013 11:18 PM
No longer able to boot up Windows xP using Grub ScarySteve Linux - General 2 01-03-2009 05:18 PM
After a dual-boot install, Vista no longer boots xbennyboy Suse/Novell 12 06-30-2008 04:33 PM
Grub wont boot OSs unless it boots the install cd first beats Linux - General 3 05-06-2007 01:19 AM
ran grub-install, no longer sure how to boot windows Golovko Linux - General 6 07-23-2003 11:15 AM


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

Main Menu
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