LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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



Reply
 
Search this Thread
Old 09-14-2008, 05:55 PM   #1
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 258

Rep: Reputation: 28
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?
 
Old 09-14-2008, 06:03 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 188Reputation: 188
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
 
Old 09-14-2008, 06:18 PM   #3
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 258

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by jailbait View Post
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
 
Old 09-14-2008, 07:02 PM   #4
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
No, tell your second Linux to install its GRUB to its boot or root partition and use chainloading.
 
Old 09-14-2008, 08:00 PM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 13,481

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
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
 
Old 09-14-2008, 10:32 PM   #6
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 258

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by John VV View Post
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

Last edited by Shadowmeph; 09-14-2008 at 10:52 PM.
 
Old 09-14-2008, 11:40 PM   #7
John VV
Guru
 
Registered: Aug 2005
Posts: 13,481

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
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
--
 
Old 09-15-2008, 12:37 AM   #8
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 258

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by John VV View Post
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

Last edited by Shadowmeph; 09-15-2008 at 12:43 AM.
 
Old 09-16-2008, 04:38 AM   #9
lorebett
Member
 
Registered: May 2004
Location: Italy
Distribution: Ubuntu, Gentoo
Posts: 57

Rep: Reputation: 16
Quote:
Originally Posted by jay73 View Post
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!
 
Old 09-16-2008, 12:56 PM   #10
John VV
Guru
 
Registered: Aug 2005
Posts: 13,481

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
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

Last edited by John VV; 09-16-2008 at 12:58 PM. Reason: added to
 
Old 09-16-2008, 01:04 PM   #11
lorebett
Member
 
Registered: May 2004
Location: Italy
Distribution: Ubuntu, Gentoo
Posts: 57

Rep: Reputation: 16
Quote:
Originally Posted by John VV View Post
well you put mythbuntu in (hd0,6) = /dev/sda6 a swap partition
watch out: (hd0,6) = /dev/sda7
 
Old 09-16-2008, 01:15 PM   #12
John VV
Guru
 
Registered: Aug 2005
Posts: 13,481

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
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
 
Old 09-16-2008, 01:36 PM   #13
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 258

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by John VV View Post
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
 
  


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
Installing a second Linux distro: what to do about Grub? Tomermory Linux - General 20 05-13-2008 12:03 PM
quick question about grub bootloader & installing another distro Ay-Karamba! Linux - Newbie 12 10-14-2005 10:00 AM
Installing GRUB after mess up dangerousdave Linux - Software 3 10-08-2005 12:26 PM
Installing grub without a distro squimmy Linux - Newbie 8 07-20-2005 02:28 PM
installing is gtk+-2.0 is a mess! pangox and libpng prob. r4f Linux - Newbie 3 09-25-2004 01:02 PM


All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
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