Adding Fedora11 and Ubuntu 9.04 back to menu.lst
I just installed OpenSUSE 11.1 along side my Ubuntu 9.04 and Fedora11 installs, how ever the OpenSUSE grub installer did not auto detect my other distros and add them to the grub list as Ubuntu does. How can I about adding them manually? My Ubuntu resides on the sdb6 partition and my Fedora resides on sdb8
Thanks, ~Jeff |
If you are certain you are using the Opensuse bootloader, the simplest thing to do is to go to the Fedora and Ubuntu /boot/grub partitions and find the menu.lst files there and copy them to Opensuse menu.lst. Need to be root to do this of course.
If you are unable to access Fedora and/or Ubuntu from Opensue, you will need to mount them. |
May we assume that you've gone, from the Computer->YaST menu, to the System->Boot Loader configuration tool, and tried to do it from there?
Here's a typical Fedora boot stanza: Code:
title Fedora (2.6.29.6-217.2.8.fc11.x86_64) from /dev/hdb8 Code:
title Ubuntu Jaunty, kernel 2.6.28-9-generic from /dev/sdb6 Note also that GRUB provides a RAM copy editor for it's boot information, so you can usually just press the escape key when the GRUB boot menu is displayed and experiment with different boot stanza configuration 'till you find one that works. (The RAM image changes are, of course, only temporary, so you'll need to write down what worked and edit it into the GURB boot menu.) Oh, the "tab compleation" function in the GRUB editor is handy for discovering the correct files and partition numbers. (A hint: to see the available files in, say, (hd1,5) for a [kernel line, type (in an open line) kernel (hd1,5)/vml<tab>. The (hd1,5) is needed because the root (hd1,5) command is on a different line, and hasn't been processed when you're editing a new line.) |
Do you also know what a stand OpenSUSE one looks like? I needed to get back into Ubuntu so I installed the Ubuntu boot loader over the SUSE one so now I need to add Fedora/SUSE back to it.
Thanks, ~Jeff |
Hrm I added the following to my menu.lst for Fedora and it gives me an Error 15 in grub when I select it:
Code:
title Fedora 11 |
Did you verify those settings in the GRUB RAM editor? Error 15 is, IIRC, a "file not found" error.
Note: The default F11 installation is to use two partitions: One ext3 boot partition and a second LVM partition containing swap and an ext4 file system for everything except /boot. So, if you used the defaults when you installed, the /boot would be incorrect, since /dev/sdb8 would already be /boot, and the rest of F11 would be on /dev/sdb9 as a LV. You may, of course, have not used the defaults. But, anyhow, it's easy to verify in the RAM editor. Note also that the GRUB used by Ubuntu is a more recent version than the one used by other distributions, where the root ... directive may be replaced by a uuid directive, and other boot options are supported. When I boot my F11 using the Ubuntu GRUB, the F11 boot stanza looks like this: Code:
## END DEBIAN AUTOMAGIC KERNELS LIST Note that the uuid directive specifies a different uuid than the one used in the kernel line. That's because the Ubuntu GRUB is set to look in the Ubuntu /boot directory for the F11 boot images. I have to do it that way because the brain-dead BIOS of this laptop will not let me boot from sdb where I have my F11 installed, so I can only boot from sda where I keep Jaunty. (The BIOS problem is that my sdb is a 320Gb SATA, and its too fast (3Gb/sec) for the BIOS to handle. F11 has to slow the access to 1.5Gb/sec to make it work, which the kernel does as it boots.) </edit> |
All times are GMT -5. The time now is 06:24 AM. |