Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Are you using Grub from Ubuntu to boot both Ubuntu and Opensuse?
Is it the reverse?
How many partitions do you have?
How many OS's do you have? Two?
When you installed Opensuse, did you accept the bootloader default and have Grub installed to the master boot record? If so, can you look at your Opensuse /boot/grub/menu.lst file (as root) to see if you have an entry for Ubuntu?
Before giving any specific advice, I think anyone would need to know first which distribution (Opensuse or Ubuntu) you are using to boot and what your partition structure is. As root, run the command fdisk -l, (lowercase letter L) and post it here.
That grub error is found here; http://www.gnu.org/software/grub/man...roubleshooting
15 : File not found
This error is returned if the specified file name cannot be found, but everything else (like the disk/partition info) is OK
So what this means is that your Ubuntu boot files path is not correct, so you need to edit that /boot/grub/menu.lst file as root user so the correct partition and file path are there. So if your Ubuntu is on sda1, then for grub the root is; (hd0,0) The SUSE install most likely over wrote your previous Ubuntu grub on the MBR, so then that is your main one.
You can boot into your working SUSE and then mount the Ubuntu partition which is sda1, useing that KDE tool; kwickdisk and kdiskfree I think. Then when mounted, navigate to; /boot/grub/menu.lst open it and copy the lines for your Ubuntu onto a USB flash drive, so then you can paste that into your SUSE /boot/grub/menu.lst file when it is open as root user. So to be root in a terminal type; su - ,hit enter, type your password, then just type in this; kwrite /boot/grub/menu.lst , which open it to edit.
I triple boot Opensuse, Ubuntu, and Windows. I use Grub from Opensuse. I let Opensuse install the bootloader into the MBR. When I installed Ubuntu, I had it's bootloader install into the root partition of Ubuntu, where BIOS won't see it. Then I boot into Suse and use an editor to copy the pertinent sections of the Ubuntu /boot/grub/menu.lst and paste them into the Opensuse /boot/grub/menu.lst so that Ubuntu is now a boot option.
Just remember that if you upgrade the kernel in either Suse or Ubuntu, Grub will re-install and you will have to go back and edit the Suse /boot/grub/menu.lst again to reflect the kernel changes.
Looks like SUSE wrote a fresh GRUB bootloader on the MBR (you can prevent it from doing so by configuring the bootloader options under Advanced tab for the installer). Also, it did a scan of your hard disk to determine other Linux distributions. The problem may just be that its entry for Ubuntu is not correct.
Assuming you don't have a GRUB password, you can hit the letter c on your keyboard when the list of operating systems comes up, to get dropped to the GRUB command shell.
At this prompt, you can try out all the commands listed in /boot/grub/menu.lst or /boot/grub/grub.conf, for Ubuntu. There are only three commands that are typically required. First is the location of the root device for GRUB. You would enter:
If there is no problem with this command, GRUB will give you the filesystem type of the partition you specified. Next, you would give the location of the kernel with kernel-specific options:
grub>kernel /boot/vmlinuz-2.x.xx root=/dev/sda1
Here, you can use the <TAB> key to autocomplete the path to the vmlinuz file to avoid typing error. The response will indicate if the file was found. You will get information about the kernel image type and size, or a numbered error.
Specifying the root (to the kernel) can be in multiple ways. Currently, the preference is toward partition UUIDs (found in /dev/disk/by-uuid/), though SUSE seems to prefer ids found under /dev/disk/by-id.
The last command would be for the initial RAM disk. The command would be:
Even here you can use <TAB> to autocomplete the path to the initrd file. Now the only thing remaining is to ask grub to boot with the given command list. This is done by:
Give this method a try and let us know how it goes.