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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have winxp on hda,
ubuntu on hde and
debian on hdg.
I ran grub-install (trying to adjust the os order in the boot menu) and whoops! now only winxp and ubuntu are listed. I looked at my /boot/grub/device.map which reads:
(hd0) /dev/hda
(hd1) /dev/hde
(hd2) /dev/hdg
I want to rerun grub so that it sees all three operating systems and creates a brand new boot menu (like it does during a new os install.) Can I do this? Looked online but most tutorials & threads were dealing with rescue issues and boot disks. Seems like there should be a way to just do this from the command line. Thoughts/tips?
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
Why not just add Debian back into Grubs /boot/grub/menu.lst?
Boot into Ubuntu, and mount /dev/hdg1 somewhere. Check the correct full names for vmlinuz and initrd.img (On hdg). They will have those names, with a version number as part of the name.
And add the following section to /boot/grub/menu.lst (on Ubuntu):
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.