Restore linux mint grub after installing Fedora 17
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.
Restore linux mint grub after installing Fedora 17
I have Linux Mint installad on my PC. Grub was installad on /dev/sda
After installing Fedora 17, Fedora´s grub now is intalled on /dev/sda.
But I prefer so much Linux Grub then Fedora grub.
I ran Linux Mint by SGD2 and tried
Code:
grub-install --root-directory /dev/sda
but it doesnot work.
Any idea how to restore Linux Mint grub on sda?
That works perfectly. Now Linux Mint grub is active, but after "update-grub" it doesnot detect Fedora 17...
Do I have to add it manualy? Or meybe I need other command? I can run Fedora by SGD2, so Fedora is OK. Just doesnot appear in Linux Mint grub. Any idea on how to fix that?
Fedora is on /dev/sda6 on a logical partition.
Dunno - I don't allow Ubuntu (derivatives) to control my machines. Update-grub should find the kernel(s) in F17 okay I would have thought.
What filesystem are you using on F17 ?.
Maybe try running update-grub again. I had a similar problem with Debian Wheezy's grub2 not detecting Fedora 17 after running update-grub, but for some reason, when I ran it again Fedora 17 was detected fine, and no problems since.
I found the problem. First, I need to mount the partition where Fedora is isntalled,then grub-update finds Fedora correctly.
Wow. That explains what happened here, too. Looking back at my notes, Fedora 17 wasn't found at first, but after I set up mount points for its partitions in Wheezy, and edited fstab, update-grub found it just fine. I had no idea why it was found the second time I ran update-grub, but not the first! Thanks!
Grub is already installed in Mint.
cd /boot/grub
then do grub-mkconfig >/tmp/grub.cfg # creates the grub that mint generates.
put this grub in an email to your self.
reboot to Fedora.
as a user download the grub.cfg and put it in /tmp within Fedora
as root
cd /boot/grub2
cp grub.cfg grub.bak
Now cp /tmp/grub.cfg .
reboot and it will be Mint's grub.
There is really nothing wrong with Fedora's grub. It is only there to start your choice of Linux
You can modify the grub.cfg to change default from '0' to 'x' where x is the menuentry number (counting from zero).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.