LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing a second Distro will this mess up Grub (https://www.linuxquestions.org/questions/linux-newbie-8/installing-a-second-distro-will-this-mess-up-grub-669917/)

Shadowmeph 09-14-2008 04:55 PM

installing a second Distro will this mess up Grub
 
I installed a second Hard drive and I am wondering what will happen when I install another Linux distro on the new drive. will it screw up grub?

jailbait 09-14-2008 05:03 PM

I recommend that you tell the second distribution to not install a bootloader. You can then add the second distribution to your existing /boot/grub/menu.lst file in order to dual boot.

--------------------
Steve Stites

Shadowmeph 09-14-2008 05:18 PM

Quote:

Originally Posted by jailbait (Post 3280336)
I recommend that you tell the second distribution to not install a bootloader. You can then add the second distribution to your existing /boot/grub/menu.lst file in order to dual boot.

--------------------
Steve Stites

Thank you for your reply

how do I do this because I plan on adding more then one distro this first distro I am adding is going to be Mythbuntu

jay73 09-14-2008 06:02 PM

No, tell your second Linux to install its GRUB to its boot or root partition and use chainloading.

John VV 09-14-2008 07:00 PM

add it to menue list with out installing the second grub
UNLESS IT IS Fedora 9
fedora9 uses a 256 bit boot and ubuntu,fedora 8,all other has a 128

Shadowmeph 09-14-2008 09:32 PM

Quote:

Originally Posted by John VV (Post 3280420)
add it to menue list with out installing the second grub
UNLESS IT IS Fedora 9
fedora9 uses a 256 bit boot and ubuntu,fedora 8,all other has a 128

ok I accidentally installed the second grub how do I remove it and use the first grub ?
ok I rebooted and all of my OS's show up so I guess tha tit is ok

John VV 09-14-2008 10:40 PM

well what distro did you install ( Mythbuntu ??) and is the new grub on the first patririon of the first disk ( mbr)
OR is it in the first partition of the new os's partitions .
or did you try to put the new grub on a LVM ( will install but not work)
can you post the output of
---
fdisk -l
--

Shadowmeph 09-14-2008 11:37 PM

Quote:

Originally Posted by John VV (Post 3280549)
well what distro did you install ( Mythbuntu ??) and is the new grub on the first patririon of the first disk ( mbr)
OR is it in the first partition of the new os's partitions .
or did you try to put the new grub on a LVM ( will install but not work)
can you post the output of
---
fdisk -l
--

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4a914a91

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13019 104567085 7 HPFS/NTFS
/dev/sda2 13019 38913 208000563+ f W95 Ext'd (LBA)
/dev/sda5 13019 13281 2103491 82 Linux swap / Solaris
/dev/sda6 13281 13543 2112516 82 Linux swap / Solaris
/dev/sda7 13544 16154 20972826 83 Linux
/dev/sda8 16155 38913 182811636 83 Linux

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x88008800

Device Boot Start End Blocks Id System
/dev/sdb1 1 6687 53713296 83 Linux

I reinstalled Mythbuntu then using this command
Sudo grub
then root (hd0,6)
setup (hd0)
which I thought would put mythbuntu into the opensuse grub ( because that is where grub is on Opensuse) but it didn't
not sure how to add Mythbuntu to grub lol

lorebett 09-16-2008 03:38 AM

Quote:

Originally Posted by jay73 (Post 3280384)
No, tell your second Linux to install its GRUB to its boot or root partition and use chainloading.

concerning this issue, I found this link http://www.brunolinux.com/05-Configu...boot_grub.html pretty useful!

John VV 09-16-2008 11:56 AM

Quote:

/dev/sda6 13281 13543 2112516 82 Linux swap / Solaris
----
Sudo grub
then root (hd0,6)
setup (hd0)
well you put mythbuntu in (hd0,6) = /dev/sda6 a swap partition

you needed to but the new os on (hd1,0) = /dev/hdb
and ether but grub in hdb1( first part. of new os) or over wright hda1 ( mbr ) first disk

also you don't need two swap partitions the 2 os's can share one

lorebett 09-16-2008 12:04 PM

Quote:

Originally Posted by John VV (Post 3282147)
well you put mythbuntu in (hd0,6) = /dev/sda6 a swap partition

watch out: (hd0,6) = /dev/sda7

John VV 09-16-2008 12:15 PM

oops:
"watch out: (hd0,6) = /dev/sda7"
yep i am on my first cup of coffee

did you add the second install to menu.lst

Shadowmeph 09-16-2008 12:36 PM

Quote:

Originally Posted by John VV (Post 3282167)
oops:
"watch out: (hd0,6) = /dev/sda7"
yep i am on my first cup of coffee

did you add the second install to menu.lst

I am not sure of how to do this


All times are GMT -5. The time now is 05:13 AM.