LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-03-2009, 04:10 PM   #1
mhbell
LQ Newbie
 
Registered: Jul 2003
Location: Yuma Arizona
Distribution: Mandrake, SuSe, Redhat, Debian
Posts: 20

Rep: Reputation: 1
Question Problems with dual boot, grub2 auto os prober


Problems with dual boot, grub2 auto os prober

Drive #1 (sda) Master CS Ubuntu 9.04 grub upgraded to grub2 version 1.96

Drive #2 (sdb) Slave CS Ubuntu 9.10 grub2 version 1.97 /boot is (sdb1) root is (sdb5) grub2 is installed in /boot (sdb1) and the mbr of (sdb)

Here is the problems
I want to be able to boot drive #2 from drive #1 grub menu at boot time. I have run “update-grub” and it probes and finds (sdb5) and creates a new grub.cfg called grub.cfg.new in the /boot folder, but the new cfg file does not show (sdb5) or (sdb) it shows all other changes that I made such as splash screens and they are working. How do I get it to recognize drive #2 with Ubuntu 9.10. I can boot each drive independently of one another and I can boot 9.04 with 9.10 if I swap the drives around. And run “update-grub” The auto probe is working in the Ubuntu 9.10 and may be working partly in the 9.04.

This may or may not be a problem, but is a pain anyway. When I run “update-grub” in 9.04's grub version 1.96, it does not change anything in the current “grub.cfg” it does make a new file called “grub.cfg.new” I have to go into /boot/grub and change “grub.cfg” to old and change “grub.cfg.new” to “grub.cfg” I do not have this problem running the same command in Ubuntu 9.10's grub. It finds changes and os's and automatically updates the current “grub.cfg”
any help or suggestions would be appreciated.
Mel
Problem is solved I had to change entrys in device.map file
Mel

Last edited by mhbell; 11-03-2009 at 10:26 PM. Reason: problem Solved
 
Old 11-04-2009, 09:18 AM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
You should run grub from the newer system or update the system that grub is on.
Is there a menu.lst file in the grub subdirectory?
 
Old 11-04-2009, 10:11 AM   #3
mhbell
LQ Newbie
 
Registered: Jul 2003
Location: Yuma Arizona
Distribution: Mandrake, SuSe, Redhat, Debian
Posts: 20

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Mr-Bisquit View Post
You should run grub from the newer system or update the system that grub is on.
Is there a menu.lst file in the grub subdirectory?
Yes there is, but I kept it there when I upgraded grub to grub 2 in case I had to fall back on legacy grub. I found the problem. it was in the device.map file. I had to add the following entry

Quote:
(hd1) /dev/sdb
It now looks like this
Quote:
(hdo) /dev/sda
(hd1) /dev/sdb
Both hard drives are on the same computer. I ran "update-grub" and all is well. Problem solved. The auto prober would find the second drive but did not know what to do with it because of the device.map file.
Mel
 
  


Reply

Tags
grub2


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
Anyone tried grub2 to boot of an iso? niravshah Linux - Newbie 12 08-03-2010 09:53 AM
[SOLVED] How do I boot up In Grub2 If It is using grub legacy now ? obnascar Linux - Software 2 10-22-2009 12:08 PM
Grub2 and iso boot ---- Again niravshah Linux - Newbie 6 09-18-2009 03:32 PM
Error 18 when trying to boot with GRUB or GRUB2 DaneM Linux - Software 6 09-20-2005 02:45 PM
Stuck at Grub2 prompt after deleting Linux partition of dual boot alcorta Linux - Software 3 07-08-2005 11:12 PM


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