LinuxQuestions.org
Visit Jeremy's Blog.
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 12-20-2010, 07:22 AM   #1
JRBreneman
LQ Newbie
 
Registered: Oct 2010
Posts: 3

Rep: Reputation: 0
Multi Boot Grub Problem


Problem: I have installed two Ubuntu servers, 10.04 32-bit and 10.10 64-bit, in a multi-boot environment (also have FDOS and WinXPsp3). The 64-bit will not boot because grub can't find the UUID for the disk with the 64-bit system.

Brief Background:
  • Installed 10.04 LTS two months ago with no problems. 10.04 is in a primary partition on hda with FDOS.
  • Installed 10.10 (64-bit) in a new primary partition on the same hd. The install seemed to go ok, but the MBR and the fs on the 10.04 were corrupted; could not boot. Restored drive, and rebuilt grub.
  • Installed 10.10 on separate hd (hdb). In grub step all OS's were recognized so I pointed the grub to hda. Grub failed to boot.
  • Rebuilt grub from 10.04 on hda. All systems recognized but 10.10 will not boot because it says it cannot locate the UUID specified.
  • Compared the grub.cfg for both systems, the UUID specified for hdb is the same. Also, when I mount the drive for 10.10 on the 10.04 system the drive UUID is consistent.

I know I must be missing some thing, but I know not what. Have searched and can't find any clues. All other OS's boot ok.

Hardware: AMD64 4GB, 2 internal IDE drives (hda and hdb), 1 internal SATA (hdc WinXP), various USB and Firewire Drives (no bootable systems).

Anyone have any ideas what might cause the problem?

Thanx in advance for any thoughts on this.
 
Old 12-20-2010, 11:46 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Check /dev/disk/by-uuid and double check the uuid is entered correctly.
 
Old 12-20-2010, 06:31 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If you can see all os'es you can use whichever os that boots then select diskthat is not booting,
go to "/usr/share/applications/terminal" in file system folder
try
"sudo os-prober"
"sudo update-grub"
 
Old 12-21-2010, 03:35 AM   #4
JRBreneman
LQ Newbie
 
Registered: Oct 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
Check /dev/disk/by-uuid and double check the uuid is entered correctly.

According GPARTED disk info, this is the correct UUID, and as you are aware Grub pulls the info from the sysinfo ... so, no joy there


Quote:
Originally Posted by EDDY1
If you can see all os'es you can use whichever os that boots then select disk that is not booting,
go to "/usr/share/applications/terminal" in file system folder
try
"sudo os-prober"
"sudo update-grub"

All other OS's boot ... and the prober runs automatically with update -grub ... this was redone with the same results.


UPDATE
Having time available, I reinstalled 10.10 and pointed the Grub to the MBR on the actual disk (hdb), and updated grub on the 10.04 disk (hda) - interesting results:

UUID changed (of course) to 86626f7-691c-4545-b656-f882edeb07d2
When pointing BIOS to boot from hdb it failed in Grub (no screen - grub error) because it was unable to find UUID from previous install (915ca52c-6740-4758-b216-1709b26c8cea).
When doing normal boot from hda all OS's are bootable except 10.10, and it failed as in the original, only unable to find the new UUID - curioser and curioser

Think I'll have to go into Win (ugh!) and check the mbr sectors (haven't found the right tools in Ubuntu yet).

Anyway thanks for the input guys - any other ides will be gratefully accepted.
 
Old 12-21-2010, 04:26 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
The os that will not boot:

Try this
Boot the Ubuntu that wiil boot
Ubuntu can mount the other os.
If the other os is sda7 mount from within bootable system.
If you have seperate /usr/ partition mount it,
go to /usr/share/applications/terminal "double click on icon"
run sudo os-prober
"sudo update-grub"

Since that one is the os you can't get running from your grub it'll be recognized first.
 
Old 12-22-2010, 08:23 AM   #6
JRBreneman
LQ Newbie
 
Registered: Oct 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Multiboot Grub problem

Thanks again for the ideas my friends.

I have installed 64-bit in a GPT, and can now boot it. Eddy - I tried you suggestion w/o success. I believe it may have to do with Grub differences - I was unaware of Grub2 - installed in the "primary" 32-bit but it made no difference (same errors); but now can boot from the GPT and all systems are accessible. Problem isn't "solved", but is circumvented. I have some ideas, and will play with them as time permits, but until then please consider the question closed.

Many, many thanks,

The Bear
 
Old 12-22-2010, 09:54 AM   #7
ToniMartin
LQ Newbie
 
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
I had the same problem, thanks friends.
 
  


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
Multi boot with GRUB asrisk Linux - Newbie 4 07-29-2006 12:39 PM
Grub - multi OS boot hiteshmaisheri Linux - Software 3 01-15-2006 11:19 AM
How to multi boot by GRUB? jiapei100 Linux From Scratch 3 02-22-2005 09:22 PM
Need help with boot loader. Multi boot questions. Grub? 1993gt40 Linux - Software 1 10-16-2003 08:28 PM
GRUB, Multi Linux/Multi Disk Boot gtnorton Linux - Software 1 03-16-2003 03:48 AM

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

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