UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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 11:26 PM..
Reason: problem Solved
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.