Tripple boot setup - 2nd linux dist has taken over grub 2

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
YeeP
Level 2
Level 2
Posts: 96
Joined: Thu Apr 26, 2012 5:16 pm

Tripple boot setup - 2nd linux dist has taken over grub 2

Post by YeeP » Thu Apr 26, 2012 5:21 pm

I guess it makes sense as to why this happened, but let me explain.

Just to make sure I explained what is happening, I had my grub2 menu looking real nice and customized. Then I installed another distro of linux, Backtrack 5, and now that install must have put something into the bootloader "partition" to reference its' file structure for the definition of the menu. Does anyone know how I can change it back, my setup in Linux Mint is "perfect"?

The 3rd Os is Win 7, wife will not go without. :wink:

HughT
Level 5
Level 5
Posts: 627
Joined: Thu Oct 20, 2011 1:54 pm
Location: England

Re: Tripple boot setup - 2nd linux dist has taken over grub

Post by HughT » Fri Apr 27, 2012 10:47 am

hi Yeep, as you have discovered the most recently installed Linux will put its bootloader on the master boot record. It's easy to make it return to your perfect Mint. From a live CD

Code: Select all

sudo mount /dev/sdXY /mnt
replace X and Y with the appropriate drive and partition for Mint boot.

Code: Select all

sudo grub-install --root-directory=/mnt /dev/sdX
note - there's a gap between =/mnt and /dev, and no partition number after sdX. I'm assuming that Backtrack's grub has included the Mint OS option, so re-boot into Mint then

Code: Select all

sudo update-grub
this will then add Backtrack to your Mint grub.
regards
Please Edit your post title and add [SOLVED] once your question is resolved.

User avatar
YeeP
Level 2
Level 2
Posts: 96
Joined: Thu Apr 26, 2012 5:16 pm

Re: Tripple boot setup - 2nd linux dist has taken over grub

Post by YeeP » Fri Apr 27, 2012 3:13 pm

Thanks for the response! The other issue is, I installed mint over the top of Ubuntu, that gave me two swap partitions, now with mint and backtrack, I have 3 swap partitions. They are not at the top numbers of the logical list, so I need to boot up under live disk to remove. Can this be done?

truexfan81
Level 3
Level 3
Posts: 157
Joined: Sun Aug 07, 2011 7:40 pm
Contact:

Re: Tripple boot setup - 2nd linux dist has taken over grub

Post by truexfan81 » Fri Apr 27, 2012 10:21 pm

yes, all 3 can share one swap partition

Post Reply

Return to “Newbie Questions”