Dual Boot another distro, keeping mint's grub.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Dual Boot another distro, keeping mint's grub.
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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- GoustiFruit
- Level 4
- Posts: 269
- Joined: Wed Sep 12, 2007 11:07 am
Re: Dual Boot another distro, keeping mint's grub.
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 !
> 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 !
Re: Dual Boot another distro, keeping mint's grub.
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)
### END DEBIAN AUTOMAGIC KERNELS LIST
title (these two lines are just a spacer line)
root
title Knoppix (whatever you want to show on the screen)
root (hd0,2)
makeactive
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)
quit
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.
Fred
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)
### END DEBIAN AUTOMAGIC KERNELS LIST
title (these two lines are just a spacer line)
root
title Knoppix (whatever you want to show on the screen)
root (hd0,2)
makeactive
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)
quit
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.
Fred