Dual Boot another distro, keeping mint's grub.

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
Level 5
Level 5
Posts: 795
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Dual Boot another distro, keeping mint's grub.

Postby Acid_1 » Thu Feb 28, 2008 3:48 am

Cause you know how that is. So lets say I wanted to install knoppix or something to another partition, just to mess around with, how do I keep mint's screen?

User avatar
Level 4
Level 4
Posts: 269
Joined: Wed Sep 12, 2007 11:07 am

Re: Dual Boot another distro, keeping mint's grub.

Postby GoustiFruit » Thu Feb 28, 2008 5:20 am

After installing knoppix, copy the corresponding lines from its /boot/grub/menu.lst to the one in Mint's boot partition. Then do:

> sudo grub
> root (hdx,y)
> setup (hdx)
> quit

where (hdx,y) is Mint boot partition (ex: (hd0,7) for me) and (hdx) is the partition where to install (ex: (hd0) for me)

And *backup* before doing anything !

User avatar
Level 10
Level 10
Posts: 3339
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Dual Boot another distro, keeping mint's grub.

Postby Fred » Thu Feb 28, 2008 6:23 am

A couple additions for the above instructions.

If the knoppix installer gives you an option to do so, install Knoppix's boot loader to the partition that contains knoppix's /boot file. Not to the mbr. If you do this you won't have to reset Mint's bootloader to the mbr.

If you do have to rewrite the Mint bootloader to the mbr, do it from the Mint installation, not the knoppix installation.

I would suggest using the chainload method of booting knoppix from the Mint menu.lst. This way you won't have to modify the Mint menu.lst file if the knoppix kernel is ever updated.

Instead of putting the boot lines from knoppix in the Mint /boot/grub/menu.lst use the lines below. Put them after the line: (example root numbers)


title (these two lines are just a spacer line)

title Knoppix (whatever you want to show on the screen)
root (hd0,2)
chainloader +1

The root is the hard drive and the partition numbers that the Knoppix /boot file is in. Remember that drives and partitions start counting from zero, not one.

Sometimes the version of grub used by different distros is not compatible and it will be necessary to do the below commands from the Mint install in order to be able to boot the second distro.

Open terminal: (example root and setup numbers)

sudo grub

root (hd0,2)

setup (hd0,2)


root is the drive and partition numbers that Knoppix menu.lst is in. setup is the drive and partition numbers that Knoppix /boot is in. Remember, drives and partition numbers start at zero, not one.

Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.

Return to “Installation & Boot”

Who is online

Users browsing this forum: No registered users and 4 guests