| Author |
Message |
|
|
Post subject: how to reinstall grub with live cd?
Posted: May 27, 2008 - 12:18 PM
|
|
Joined: Mar 24, 2008
Posts: 143
Location: Oregon
Status: Offline
|
|
| I wanted to add the new Mint 5.0 (when it comes out) to the sidux grub menu. Someone mentioned doing installing Mint then use the live cd to reinstall grub. How does that work? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 12:27 PM
|
|

Joined: Mar 26, 2008
Posts: 64
Location: Dresden / DE
Status: Offline
|
|
You dont have to reinstall Grub, if you install the Mint-Bootloader (should be Grub too) to the Partition where you have installed Mint.
But you have to add the Mint-Bootlines to your sidux-Grub (/boot/grub/menu.lst) to boot it from sidux-grub.
Another Way to do it, is to let Mint install its Bootloader (Grub) into the MasterBootRecord of your Harddisk. It should recognize the sidux-Installation automagically and add it to the menu.lst.
In that case, you probably wont have the gfx-grub anymore.
I would prefer the first Way....
Cheers |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 12:51 PM
|
|
Joined: Mar 24, 2008
Posts: 143
Location: Oregon
Status: Offline
|
|
| If I do it the first way, isn't grub written to the MBR of Mint? How would the sidux grub take over the boot menu after the Mint install? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 12:57 PM
|
|

Joined: Nov 30, 2006
Posts: 1010
Location: Nimritz / Thüringen
Status: Offline
|
|
Don't install grub from Mint in MBR!
I disc has only one MBR.
Install Mint's grub to the rootpartition of Mint and start Mint with chainload from the sidux-grub. |
_________________
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 01:02 PM
|
|
Joined: Mar 24, 2008
Posts: 143
Location: Oregon
Status: Offline
|
|
|
towo| wrote:
Don't install grub from Mint in MBR!
I disc has only one MBR.
Install Mint's grub to the rootpartition of Mint and start Mint with chainload from the sidux-grub.
Would it be:
title Mint
root (hd1,0)
chainloader +1 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 01:06 PM
|
|

Joined: Mar 26, 2008
Posts: 64
Location: Dresden / DE
Status: Offline
|
|
By installing the Mint-Grub into the partition where you installed Mint, you will leave the sidux-Grub untouched.
But, and that is what meant writing above, you have to add the Mint-Bootlines (manually) to the /boot/grub/menu.lst in sidux.
Just copy the lines from the Mint-menu.lst and edit the partitions-flags in the lines.
//edit:
gosh, i am a slowwriter...  |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 01:09 PM
|
|

Joined: Nov 30, 2006
Posts: 1010
Location: Nimritz / Thüringen
Status: Offline
|
|
chainload is the better alternative for that.
With every update of the Mint-kernel, he must edit the menu.lst in sidux, if he start Mint direct with sidux' grub.
BTW: there is no MBR of a Partition, this is the PBR, there is only one MBR per disk! |
_________________
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 01:12 PM
|
|

Joined: Mar 26, 2008
Posts: 64
Location: Dresden / DE
Status: Offline
|
|
|
Quote:
BTW: there is no MBR of a Partition, this is the PBR, there is only one MBR per disk!
Yep, just read my post again and saw it. Already edited it..
Quote:
chainload is the better alternative for that.
With every update of the Mint-kernel, he must edit the menu.lst in sidux, if he start Mint direct with sidux' grub.
In that case, thats the better choice, right! Thx |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 01:39 PM
|
|

Joined: Dec 06, 2007
Posts: 309
Location: New Delhi
Status: Offline
|
|
This is what I was looking for as I use both sidux and Ubuntu, with XP.
Now if I reinstall Ubuntu (currently using sidux GRUB), install Ubuntu Grub in the Ubuntu / partition, I can use sidux Grub, edit the sidux menu.lst to use chainload for Ubuntu, and update the kernels of any (sidux or Ubuntu) without any copy-paste operation ? Is that correct ? |
_________________ http://linux.ixcodes.com
In a lunatic asylum, everyone thinks that he is the doctor.
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 01:40 PM
|
|

Joined: Nov 30, 2006
Posts: 1010
Location: Nimritz / Thüringen
Status: Offline
|
|
|
Quote:
Is that correct ?
Yes. |
_________________
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 01:49 PM
|
|
Joined: Mar 24, 2008
Posts: 143
Location: Oregon
Status: Offline
|
|
|
BelaLugosi wrote:
Quote:
BTW: there is no MBR of a Partition, this is the PBR, there is only one MBR per disk!
Yep, just read my post again and saw it. Already edited it..
Quote:
chainload is the better alternative for that.
With every update of the Mint-kernel, he must edit the menu.lst in sidux, if he start Mint direct with sidux' grub.
In that case, thats the better choice, right! Thx
Now I'm getting confused... is this a good grub entry?
title Mint
root (hd1,0)
chainloader +1
I install Mint and load its grub to its partition (leaving the sidux grub alone) Then do I have to see the Mint grub via live cd since it won't be on the sidux boot menu? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 01:54 PM
|
|

Joined: Nov 30, 2006
Posts: 1010
Location: Nimritz / Thüringen
Status: Offline
|
|
|
Quote:
Now I'm getting confused... is this a good grub entry?
title Mint
root (hd1,0)
chainloader +1
If Mint's / Partition is on (hd1,0), yes.
Our crystallballs are damaged so we can't know, if this entrie is good! |
_________________
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 02:42 PM
|
|
Joined: Mar 24, 2008
Posts: 143
Location: Oregon
Status: Offline
|
|
Yes the entry will be that or if its on hda it will be
root (hd0,0)
if its installed on the hdb it will be (hd1,0)
I have three hdds on this PC. sidux is on the sdc hdd.
I have to wait a couple weeks until the final version of Mint 5 is released. Then I'll use your method, Thanks  |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 03:34 PM
|
|

Joined: Dec 06, 2007
Posts: 309
Location: New Delhi
Status: Offline
|
|
Yes on hda1 (if you have partitions) it will be (hd0,0), on hda2 it will be (hd0,1) on hdc3 it will be (hd2,2).
(hdx,n) (can be (sdx,n))
x = 0 for a, 1 for b, 2 for c, so on - drives
n = 0 for 1, 1 for 2, 2 for 3, so on - partitions
I had learnt the hard way, will never forget. |
_________________ http://linux.ixcodes.com
In a lunatic asylum, everyone thinks that he is the doctor.
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2008 - 11:36 PM
|
|
Joined: Dec 21, 2006
Posts: 296
Location: Slough, England
Status: Offline
|
|
|
|
|
 |
|
|