Installing Boot Loader to root partition, NOT to MBR
CalculateThis forum is for the discussion of Calculate Linux.
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.
Installing Boot Loader to root partition, NOT to MBR
Hi people,
I have one machine just to test linux distros. I have installed in the MBR the XOSL boot manager, and every distro that I install, all of them gives me the option to install the boot manager to mbr or root partition, and then I always select the root partition.
So, I installed Calculate Linux Scratch 10.0 following the handbook, and it simply screwed up my XOSL and without asking any question installed its boot manager to MBR...
I recovered XOSL and deleted Calculate.
Then I ask, how to install Calculate Linux Scratch 10.0 but not automatically install the boot manager to the MBR, but instead to the root partition?
Assuming Calculate uses legacy grub you can try this from a terminal once you have calculate reinstalled. These commands will install grub to root partition.
sudo grub
find /boot/grub/stage1
root (hd0,x)
setup (hd0,x)
quit
Remember legacy grub counts the first partition as 0 so if Calculate is on sda5 grub will show it as hd0,4. So, you would use the command "setup (hd0,4)" if Calculate was installed to sda5.
If Calculate has no grub install options, let it do its thing, reinstall xosl, and then install grub to partition.
Last edited by fair_is_fair; 01-01-2010 at 03:51 PM.
Calculate has no grub install options, I did what you said, installed Calculate, reinstalled XOSL, added Calculate to the XOSL menu, but it won't boot, because there is no grub on the Calculate root partition. How can I install grub to the calculate root partition using another distro already installed/working on my machine?
Can I just boot to another distro on the same machine, and use the instructions you provided, but pointing to the partition Calculate is installed?
Thank you.
Quote:
Originally Posted by fair_is_fair
Assuming Calculate uses legacy grub you can try this from a terminal once you have calculate reinstalled. These commands will install grub to root partition.
sudo grub
find /boot/grub/stage1
root (hd0,x)
setup (hd0,x)
quit
Remember legacy grub counts the first partition as 0 so if Calculate is on sda5 grub will show it as hd0,4. So, you would use the command "setup (hd0,4)" if Calculate was installed to sda5.
If Calculate has no grub install options, let it do its thing, reinstall xosl, and then install grub to partition.
Sorry. I cannot remember if Calculate is a live cd or not. You can run the commands from the live cd or from your Calculate installation. If you are reinstalling grub from your installation, you need to do it before you install xosl.
You should be able to boot Calculate from another operating system's grub but you would have to study up on grub via google.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.