LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-04-2011, 11:14 AM   #1
Wiking
LQ Newbie
 
Registered: Dec 2011
Posts: 16

Rep: Reputation: Disabled
Can I have 2 different Linux boot loaders installed in 1 /boot partition?


Hi, I have a dual-boot setup with Windows 7 and Kubuntu 11.10, and want to add another Linux distro.

After setting up the partitions, I clicked advanced options, I wanted to install the second distro's boot loader to it's own /boot partition (sdb8), but it would not let me during installation, the 'OK' button is not highlighted, not clickable (possibly because the second /boot partition wasn't a primary, but logical?).

Would it be possible, during installation of the second distro, to install the boot loader to the /boot partition originally made for Kubuntu (sdb3)? It's 1gb so it should be enough.

If not what other options do I have?

The second distro also recognized Kubuntu during the disc setup.
 
Old 12-04-2011, 11:19 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
There is no point in installing a second bootloader, just do not install it at all on the second distro and let Kubuntu's bootloader pick it up with
Code:
sudo update-grub
 
1 members found this post helpful.
Old 12-04-2011, 11:19 AM   #3
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
You only need one bootloader, which will load all your operating systems. So if you wanted to overwrite it when installing the second distro, then you could, or you could just update the Kubuntu bootloader so it knows about your new distro
 
1 members found this post helpful.
Old 12-04-2011, 11:37 AM   #4
Wiking
LQ Newbie
 
Registered: Dec 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Will I still need to make a separate /boot partition for the second distro?
 
Old 12-04-2011, 11:40 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
No, there is no need at all to make a separate /boot-partition on any distro, as long as you aren't using a file-system for your /-partition that isn't supported by your bootloader or a software-RAID (with a different RAID-level than 1).
 
1 members found this post helpful.
Old 12-04-2011, 11:48 AM   #6
Wiking
LQ Newbie
 
Registered: Dec 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
So I should just make the swap partition, / partition, and /home, then choose not to install the boot loader, reboot into Kubuntu, and from there update grub with
Code:
sudo update-grub
 
Old 12-04-2011, 11:50 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Exactly.
 
1 members found this post helpful.
Old 12-04-2011, 12:15 PM   #8
Wiking
LQ Newbie
 
Registered: Dec 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thanks, finally got a triple-boot-system up and running.
 
Old 12-04-2011, 12:16 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Good that you have worked that out. Just keep in mind that you have to manually update Grub when the second distro installs a new kernel.
 
1 members found this post helpful.
Old 12-04-2011, 02:09 PM   #10
Wiking
LQ Newbie
 
Registered: Dec 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thanks for that bit of info.

Suppose I wanted to add a third distro bringing the total number of OS's to 4, would the procedure be the same as the second distro? Ex. swap, /, /home, then upgrade Grub?

Will the number of distros only be limited by the space available on a Hard Drive and the space available in the /boot partition?

Can multiple distros share the same swap?
 
Old 12-04-2011, 02:18 PM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
At first, you only need swap one time, you don't have to have a separate swap partition for every distro.
But yes, the approach would be the same. The only thing that limits your number of installed distributions is disk space and I think to remember that there is a limit in the number of logical partitions, but I don't remember how much it was.
By the way, the space in the /boot partition for that first distro is not affected by the number of distros the bootloader can boot.
 
1 members found this post helpful.
Old 12-04-2011, 02:33 PM   #12
Wiking
LQ Newbie
 
Registered: Dec 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
OK thanks. I believe that Primary partitions are limited to 4.
 
Old 12-04-2011, 02:40 PM   #13
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
User Saikee has an article up at Justlinux.com detailing how he got 145+ distro booting. But, that was before the current limit of 3 primary partitions and 1 extended partition containing 15 logical partitions (the previous limit was 64 logical). And it was using grub legacy instead of grub2. If you really want to, you may be able to reconfigure your kernel to allow the previous limit of 64 logical partitions.

http://www.justlinux.com/forum/showthread.php?t=147959

Last edited by bigrigdriver; 12-04-2011 at 02:42 PM.
 
  


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
Boot Camp (fixing boot loaders, learning your way around boot & chainloaders) Siljrath Linux - General 8 01-20-2015 12:00 PM
Boot splash image with various boot loaders kumarkumar Linux - Software 4 06-10-2008 08:06 PM
Unable To Boot To Fedora When Grub Installed in /boot Partition FedoraNewbie Linux - Newbie 4 09-26-2006 04:46 AM
boot loaders, or how to make a boot CD (without being able to get into linux) TomCollins Slackware 1 10-16-2004 11:13 AM
Installed lba-linux on a partition on my second hd but it will not boot neogen Linux - Newbie 1 05-22-2004 01:39 AM


All times are GMT -5. The time now is 04:03 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