LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-29-2019, 02:53 AM   #1
Doctorscrad
LQ Newbie
 
Registered: Jun 2019
Location: Pearl MS
Distribution: Kali
Posts: 7

Rep: Reputation: 0
Talking Dual Booting/GRUB.. (Possibly triple booting?)


So does anyone here know if it's at all (possible really isn't the right word) but I guess I'm asking is it worth the trouble to configure a GRUB menu with 3 Linux Distros on it that are on the same solid state drive?

I was just finishing up a laptop build and was going to install MX Linux, Kali Linux, and Pentoo Linux..

Anyone have any particular pointers or have any experience with these.
 
Old 06-29-2019, 08:11 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,417

Rep: Reputation: 1764Reputation: 1764Reputation: 1764Reputation: 1764Reputation: 1764Reputation: 1764Reputation: 1764Reputation: 1764Reputation: 1764Reputation: 1764Reputation: 1764
Quote:
Originally Posted by Doctorscrad View Post
So does anyone here know if it's at all (possible really isn't the right word) but I guess I'm asking is it worth the trouble to configure a GRUB menu with 3 Linux Distros on it that are on the same solid state drive?

I was just finishing up a laptop build and was going to install MX Linux, Kali Linux, and Pentoo Linux..

Anyone have any particular pointers or have any experience with these.
It's perfectly possible to "tripe boot" with GRUB. That's pretty much what GRUB does - gives you a choice of which kernel and/or distro to boot. You can use it to load Windows as well. Depending on which distro install's GRUB, then that's the distro that you would use to configure GRUB.

Did you read the sticky about Kali at the top of this forum ? Because Kali is not meant to be installed on anything other than removable media of some kind, like a USB stick. It's (as the sticky states) also not meant to be a general purpose distro, and is meant for experienced users, not inexperienced users. Forgive me for saying it, but you don't appear to be very experienced to me. You therefore would be far better off with a more suitable distro - even if you do want to learn about hacking. You can install the same tools you would find in Kali on any other distro, and if you know what you're doing, then this should be easy for you to do.
 
1 members found this post helpful.
Old 06-29-2019, 09:17 AM   #3
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora, ubuntu, others
Posts: 3,792

Rep: Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647
Yes grub can boot any number of install distros. I currently have five different distros installed on my system plus windows and boot them all with grub. Whichever distro you want to control the grub bootloader should be installed last.
 
1 members found this post helpful.
Old 06-29-2019, 10:38 AM   #4
Doctorscrad
LQ Newbie
 
Registered: Jun 2019
Location: Pearl MS
Distribution: Kali
Posts: 7

Original Poster
Rep: Reputation: 0
I appreciate the input from the both of you. No I hadn't read the sticky but I'll actually be going and running through those as we speak.. and you're not completely off base by saying I'm not that experienced so no worries there.
 
Old 06-30-2019, 04:33 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,158
Blog Entries: 9

Rep: Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604
Keep in mind that a (MBR) hard drive can have only 4 primary partitions, one of which is usually swap. If you need more than that, you need to create an extended partition first, which can then hold many more partitions.
 
Old 06-30-2019, 12:35 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
I've triple booted many times over the years with 3 different distros on the same drive with success.

Just make sure you partition accordingly based on the size of the drive and allocate enough room for the distro and a swap partition.

What size is the HDD?
 
Old 08-16-2019, 03:39 AM   #7
Doctorscrad
LQ Newbie
 
Registered: Jun 2019
Location: Pearl MS
Distribution: Kali
Posts: 7

Original Poster
Rep: Reputation: 0
1 Tb SDD
 
Old 08-16-2019, 08:26 AM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ Win10
Posts: 9,493

Rep: Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024
Quote:
Originally Posted by Doctorscrad View Post
So does anyone here know if it's at all (possible really isn't the right word) but I guess I'm asking is it worth the trouble to configure a GRUB menu with 3 Linux Distros on it that are on the same solid state drive?

I was just finishing up a laptop build and was going to install MX Linux, Kali Linux, and Pentoo Linux..

Anyone have any particular pointers or have any experience with these.
yes, I've had up to a lot more than 2 distro on grub, I currently have

win10
slack
arcoLinux
FreeBSD

all being booted by grub, on a laptop no less.

Pointer:
Pick the distro you want to control the grub, and learn that it can be moved about giving control to whatever distro that can install grub. Customizations to the /etc/defaiult/grub file maybe make a back up and put it somewhere off the system so you an get to it if you ever need to. this helps make it faster then redoing it if necessary, just copy it over top of the one that is there. update grub. done.

Last edited by BW-userx; 08-16-2019 at 08:30 AM.
 
Old 08-16-2019, 06:06 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
With a 1 TB SSD you should be able to put 3 Linux distro's on comfortably.
You're good to go.

Keep in mind the last distro that you install will have the boot unless you change that.

What 3 distro's are you thinking of?
 
Old 08-17-2019, 05:44 AM   #10
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,070

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by Doctorscrad View Post
Anyone have any particular pointers or have any experience with these.
Experience, no. Pointers, yes. Choose UEFI as boot method. That involves Grub less and the laptop BIOS more in the process of boot selection presentation. With the old MBR method, distros' default installation methods usually do exactly as Windows does, usurp boot control from whatever had it last, and repeat the process with each kernel update. This kind of thing does not welcome a newbie multibooter, much less an outright newbie.

UEFI has its own boot selection menu, F10 (Intel, Lenovo), F12 (Acer, Dell, Gigabyte), F8 (Asus), ESC (HP, Samsung) or others, as the starting point. Most distros' Grub uses os-prober to automatically include menu selections for every OS it finds and recognizes. So you have multiple options for choosing what to boot, and can change the default using efibootmgr using whatever happens to be booted whenever you decide you wish the default changed.

My current procedure is to mount the ESP partition only when using the OS I wish to have control (noauto option in /etc/fstab of all others), and use custom.cfg via /etc/grub.d/06_custom so that my personally created stanzas appear at the top of the default boot selection menu. I go further and remove Grub from distros I wish to not be in control, or not install Grub in the first place on those distros.

I've been multibooting multiple PCS for multiple decades, with with 20+ PCs multiboot with no less than 3 distros each and averaging well above 12 distros each, of which 3-8 are kept current to within 3-4 months. Multiboot is as much art as science. Whether it's worth the trouble depends on your goals, expectations and skills.
 
1 members found this post helpful.
Old 08-17-2019, 06:36 AM   #11
Doctorscrad
LQ Newbie
 
Registered: Jun 2019
Location: Pearl MS
Distribution: Kali
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Ztcoracat View Post
With a 1 TB SSD you should be able to put 3 Linux distro's on comfortably.
You're good to go.

Keep in mind the last distro that you install will have the boot unless you change that.

What 3 distro's are you thinking of?
MX Linux 18.1
Kali 2019.1
Pentoo

And possibly Parrot Home OS
 
Old 08-17-2019, 08:59 PM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
I've never tried Pentoo; however I have been running MX Linux for 2 years now and love it.
Great distro for an older pc.

I think you will be pleased with Parrot.
I ran Parrot for a few days live and liked it. It's a lot like Kali Linux.

Good luck with your fresh installations. Enjoy the rest of the weekend.
 
1 members found this post helpful.
Old 08-18-2019, 12:17 AM   #13
Doctorscrad
LQ Newbie
 
Registered: Jun 2019
Location: Pearl MS
Distribution: Kali
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Ztcoracat View Post
I've never tried Pentoo; however I have been running MX Linux for 2 years now and love it.
Great distro for an older pc.

I think you will be pleased with Parrot.
I ran Parrot for a few days live and liked it. It's a lot like Kali Linux.

Good luck with your fresh installations. Enjoy the rest of the weekend.


is there any distribution of Linux that you would prefer/suggest to be the candidate for being in charge of GRUB
 
Old 08-18-2019, 03:22 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,158
Blog Entries: 9

Rep: Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604
Quote:
Originally Posted by Doctorscrad View Post
is there any distribution of Linux that you would prefer/suggest to be the candidate for being in charge of GRUB
no, it doesn't matter; it's (almost) the same grub on all distros.

BTW, I do not recommend Parrot at all.
 
Old 08-18-2019, 04:38 AM   #15
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 262

Rep: Reputation: 47
Hi,

A slightly different method of using Grub to multiboot. See: https://www.linuxquestions.org/quest...ml#post6005778

I would recommend a slight change to the initial grub.cfg.. This just makes the boot process more resilient for those times you have left a flashdrive plugged in.. Forgetting to remove it may alter how your drives are detected (i.e. what is normally detected as hd0 may now be detected as hd1 etc.)

Original initial grub.cfg entry samples:
Code:
menuentry "Mint 19.1" {
        set root='hd0,gpt4'
        configfile (hd0,gpt4)/boot/grub/grub.cfg
}

menuentry "Slackware" {
	set root='hd0,gpt3'
        configfile (hd0,gpt3)/boot/grub/grub.cfg
}

menuentry "Devuan ASCII" {
        set root='hd0,gpt6'
        configfile (hd0,gpt6)/boot/grub/grub.cfg
}
Modified initial grub.cfg entry samples:
Code:
menuentry "Mint 19.1" {
     # On hd0,gpt4/sda4
     search.fs_uuid a134ba8a-3763-4331-8756-15f3e1bade7b root 
     set prefix=($root)'/boot/grub'
     configfile $prefix/grub.cfg
}

menuentry "Slackware" {
     # On hd0,gpt3/sda3
     search.fs_uuid 6db095f5-3cbe-4b86-8738-b5d045fa6438 root 
     set prefix=($root)'/boot/grub'
     configfile $prefix/grub.cfg
}

menuentry "Devuan ASCII" {
     # On hd0,gpt6/sda6
     search.fs_uuid 1ccdf3dc-f75b-4be3-b12a-92e7398fd908 root 
     set prefix=($root)'/boot/grub'
     configfile $prefix/grub.cfg
}
This alteration sets the root variable directly by the use of the file system UUID.

Bodge99
 
1 members found this post helpful.
  


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
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 11:56 PM
[SOLVED] Dual ( triple) Boot Ubuntu ( Mythbuntu ) using lilo instead of grub aaazen Slackware 1 07-24-2013 04:36 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 01:55 PM
RedHAt and WinXp dual booting or maybe triple? RussianUser Linux - Software 3 07-09-2004 03:33 AM
Dual and Triple booting question Mithrilhall Linux - Newbie 2 07-10-2002 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:23 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration