LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Calculate
User Name
Password
Calculate This forum is for the discussion of Calculate Linux.

Notices

Reply
 
Search this Thread
Old 01-01-2010, 10:46 AM   #1
raphaelmsx
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Rep: Reputation: 0
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?

Thank you.
 
Old 01-01-2010, 03:47 PM   #2
fair_is_fair
Member
 
Registered: May 2005
Posts: 511

Rep: Reputation: 51
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.
 
Old 01-01-2010, 04:20 PM   #3
raphaelmsx
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
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 View Post
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.
 
Old 01-01-2010, 05:11 PM   #4
fair_is_fair
Member
 
Registered: May 2005
Posts: 511

Rep: Reputation: 51
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.
 
Old 01-02-2010, 07:16 AM   #5
Lautre
Calculate Linux
 
Registered: Jun 2009
Location: Saint-Petersburg, Russia
Distribution: Calculate Linux
Posts: 92

Rep: Reputation: 25
Hi, launch
calculate --set-mbr=off --disk=...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with boot loader - no choice but on MBR - I wonder why pinecloud Linux - Newbie 9 11-21-2008 08:33 AM
MBR and Boot Loader tantan Linux - General 34 02-20-2007 07:00 PM
Install boot loader in ROOT partition problem Garrett_80 Linux - Software 8 12-05-2004 04:20 AM
Mandrake Install Screwed up MBR; Need to Make Boot Loader CD paul_m_d Linux - Newbie 5 12-09-2003 03:36 AM
possible to reinstall boot loader on the MBR? tarballed Linux - Newbie 3 02-14-2003 02:49 PM


All times are GMT -5. The time now is 03:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration