Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
About one month ago i decided to install kubuntu on my box, on wich i already have opensuse and windows. Opensuse had installed grub, and it's configuration files was on my suse root partition. But then when i installed kubuntu, it somehow overwrote my grub install from opensuse, and it's configuration files was now placed on my kubuntu partition. No big problem so far. But then i decided to format my kubuntu partition, because i didn't like kubuntu. But now each time i boot, i get the grub error 15 file not found. And it's before i can choose wich kernel to boot, so it's not because of that I have bad entries im my grub list file, but because grub can't find it. I would like to know how to pint grub to it.
I have tried installing it by using the first opensuse 10.2 cd, by going to repair-->expert-->install boot loader, and there i have tried playing around with the different settings, but none seemed to work.
If your Windows doesn't boot you will probably have to repair your Windows MBR and then install grub from your Suse CD.
I have now tried doing what you suggested, but i ran into another problem. None of my windows discs would boot. But I'm now trying to install ubuntu, to use it's bootloader for as long as it takes to fisx opensuses. Apparently the problem is that my already installed grub in the MBR, points to some config files, that aren't available.
Well I managed to install ubuntu, an I'm now using Ubuntu's grub, but if I format my ubuntu partition, i would get the same problem. So my point is, how do i change grub in the MBR, so it uses the config files on my opensuse partition, instead of the ones on my ubuntu partition?
It will require changing your grub config, it is referred to as chain loading and there are many threads in these forms and an articles on this site covering it.
OK you guys may not know it is just a piece of cake to restore Grub.
Each time a Linux is installed all the Grub information is inside that partition. To be precise it is in /boot/grub of that Linux. You only lose it if you format the partition. That Grub can be put into the MBR any time you wish to. The tool to use is a Grub shell available in 90% of the CD.
Just boot up a Live CD like Ubuntu, no need to install it. Type "sudo grub" to activate a Grub shell. Say your Suse partition or its /boot is in partition (hd0,2) and you want it to take over the MBR then the commands in a Grub shell are just
Code:
root (hd0,2)
setup (hd0)
Similarly if you fancy a Linux in (hd1,7) to control the MBR just do
Code:
root (hd1,7)
setup (hd0)
You can kill the Linux but before you do you can copy /boot/grub directory into any partition and execute the above then Grub will be available even after you nuke the Linux.
Remember you can put Grub into a data-only partition, a floppy, a CD, an external hard disk or a pen drive this way.
If you want Grub to work as a slave for you take a look at the Grub Manual.
OK you guys may not know it is just a piece of cake to restore Grub.
Each time a Linux is installed all the Grub information is inside that partition. To be precise it is in /boot/grub of that Linux. You only lose it if you format the partition. That Grub can be put into the MBR any time you wish to. The tool to use is a Grub shell available in 90% of the CD.
Just boot up a Live CD like Ubuntu, no need to install it. Type "sudo grub" to activate a Grub shell. Say your Suse partition or its /boot is in partition (hd0,2) and you want it to take over the MBR then the commands in a Grub shell are just
Code:
root (hd0,2)
setup (hd0)
Similarly if you fancy a Linux in (hd1,7) to control the MBR just do
Code:
root (hd1,7)
setup (hd0)
You can kill the Linux but before you do you can copy /boot/grub directory into any partition and execute the above then Grub will be available even after you nuke the Linux.
Remember you can put Grub into a data-only partition, a floppy, a CD, an external hard disk or a pen drive this way.
If you want Grub to work as a slave for you take a look at the Grub Manual.
Thank you saikee, you just saved my day , it works, and now at last i can move on to try to install gentoo.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.