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!
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 would like to install grub2 as a standalone not connected to any OS.
Can I put it in an extended partition
It will have to boot multi distros with chainloading, I know this is setup in /etc/grub.d/40_custom so how would this work.
Finaly how would I update-grub when a distro updates or would that have to be done by hand?
Think I have covered everything
Unfortunately, you can't do that. For some strange reason I never could understand, Grub2 is an integrated part of the OS.
If you install Grub2 in one partition and then remove the distro, you have no control over your Grub2-installation.
This is why I'm still using old grub, I want one place to boot from. What I've done is install grub-legacy in one small partition, and use that for booting.
For some strange reason I never could understand, Grub2 is an integrated part of the OS.
Probably because it was written by (predominantly) Debian/Ubuntu people that obviously have no concept of users doing what they want.
Placing files under /etc destroys plans like this.
I keep one installation (distro) per physical system so I have control of the boot environment whatever I do with the other distros. Can still be a challenge, but is manageable in my situation.
Edit: yes you can install to a logical partition (not the extended).
Shouldn't matter. Any newer system can be the "control" system - simply allow it to install into the MBR.
The problem(s) come when other systems automatically over-write the MBR without you knowing - usually when they upgrade grub in their own environment. Generally pretty easy to fix.
The other OS are bsd,centos windows they dont use grub2 which I,m familer with and like the only reason I put ubuntu on was grub2 and I have used before.
As I said, no big deal if you replace Ubuntu with something else that uses grub2. These days they should all run os-prober - don't know if it'll find a BSD as I don't use it, but shouldn't be hard to fix - maybe keep your own .cfg on a USB key.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.