LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-30-2019, 06:41 PM   #1
frankfenderbender
LQ Newbie
 
Registered: Jan 2012
Location: Earth
Distribution: Ubuntu
Posts: 17

Rep: Reputation: Disabled
partitions for triple-booting from separate drive OS-installs?


I am setting up two n-boot (wherein n={2,3,4} on Dell Precision 5820 Tower workstations for development, testing, etc.

Unfortunately no Dell works with Ubuntu 16.04 if using the given (or third party) Radeon 2100X graphics card drivers from AMD, as all "roads" eventually lead back to an unreproducible config that is unsupportable, and the dreaded "login-loop" wherein the drivers do not recognize graphic-driven password inputs.

So, the osList={Ubuntu18.04; Ubuntu19.04; Debian10.x; FreeBSD12.x; DragonflyBSD5.6.x; ProjectTrident18.12}.

All three internal drives are GPT with sda=1TB, sdb=1TB, and sdc=2TB.

My sda partitions for accommodating Ubuntu are:
free space 1M
/dev/sda1 fat32 /boot/efi 746M (.73G) EFI System Partition
/dev/sda2 fat32 /biosgrub 2M BIOS Boot Partition
/dev/sda3 ext4 /boot 10240M (10G) Linux Filesystem Partition
/dev/sda4 ext4 / 10240M (10G) Filesystem Root Partition
/dev/sda5 ext4 /swap 5630M (5G) Linux Swap Partition
/dev/sda6 ext4 /usr/local 20480M (20G) Linux Filesystem Partition (for tools)
/dev/sda7 ext4 /home 768485M (750G) Linux Home Partition (for dev & test users)

This works well for Ubuntu 16.04 until I update and then the AMD-GPU issue returns.
Dell has sent me "restore" that upgrades to kernel 5.1, Ubuntu 18.04, and the correct drivers for the Radeon 2100X. I am ready to dig into grub next, however, I am 'vacant' when it comes to understanding necessary answers to the following questions:

1) is the one /boot/efi partition all I need on any of the three drives?
2) is the /biosgrub required for each OS drive or do I point back to the one at sda2?
3) how best do I facilitate that grub will differentiate between OS-specific areas?
does defining all of my mount-points "by-uuid" for sda, sdb, and sdc take care of that?
4) any knowledge I have not even foreseen that I need to know.. provided by kindly-shared wisdom.

My sdb and sdc partitions are currently data-free, awaiting revision.
I am uncertain about which partitions are required , where the bootloader is expected, and how to keep the 2nd and 3rd OS installs from overwriting the sda bootloader if I am supposed to use it (which is somehow supposed to "learn" about them at boot time, providing a menu-list of options.

Many regards and thanks-in-advance.
"frank"
 
Old 08-30-2019, 09:00 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Presumably this machine is EFI based. I recommend you only install/boot in [U]EFI mode - never use CSM (legacy) mode. I'm not sure how BSD handles this - never bothered with it since a brief dabble with OpenSolaris years ago.
If this is true, you only need one EFI partition - might need to be bigger than that - maybe not. You don't need the BIOS boot partition.
UUID will sort out any partition location issues.
Later installs will usually change the default boot to itself - I see you have efibootmgr as a tag; easy enough to use that to re-assign the default as you desire.

Just go ahead and do it - much easier to manage/fix these days with EFI.
 
Old 08-30-2019, 09:21 PM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
Quote:
1) is the one /boot/efi partition all I need on any of the three drives?
I don't do multiple drives, but I think all you need is one efi partition on one drive, not on every drive.


Quote:
2) is the /biosgrub required for each OS drive or do I point back to the one at sda2?
The bios-grub partition is only needed if your using grub as the bootloader in legacy mode. Booting in efi mode the bios-grub partition isn't used at all.


Quote:
3) how best do I facilitate that grub will differentiate between OS-specific areas?
does defining all of my mount-points "by-uuid" for sda, sdb, and sdc take care of that?
If I understand this correctly yes uuids should to the trick.

Quote:
4) any knowledge I have not even foreseen that I need to know.. provided by kindly-shared wisdom
The last time I installed freebsd in efi mode on a multiboot system freebsd overwrote my efi partition.
 
Old 08-30-2019, 10:14 PM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
do you really need multiboot?
other distros could be installed in a VM
I guess it depends on what work you will be doing

it might also be worth looking into lvm2 ( Logical Volume Management )
with that you could do a VM or a real boot.

since you have 3 drives,
you could have some LVs setup as 3 drive mirror for max read, or stripe for read/write boost.
you could still do that with regular partitions, but lvm2 is so much easier to change things than traditional partitioning.
 
Old 08-31-2019, 02:25 AM   #5
martin345
LQ Newbie
 
Registered: Aug 2019
Posts: 1

Rep: Reputation: Disabled
news

Hey really it's helps me a lot. Thanks for sharing such useful information. Now am clear about my topic. And you makes me easy to understand this topic. Thank so much.
 
Old 08-31-2019, 10:16 PM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,838
Blog Entries: 1

Rep: Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071
https://i.dell.com/sites/csdocuments...Spec-Sheet.pdf shows no "Radeon 2100X". Are you sure you typed the X in the right place?

Since release of 16.04, the propriety of AMDGPU Pro drivers has been changed. If you plan to use 18.04 and newer releases, you should plan to use only the FOSS AMDGPU DDX provided by the distro release, along with the default amdgpu kernel driver.

Having more than one ESP partition in a system, generally speaking, is asking for unnecessary complication. How much complication depends on the particular PC BIOS implementation, and on the Grub EFI version(s) in use, and the installed operating systems. The drawback with only one ESP is what obviously will not happen if the drive that contains it fails. IMO, keeping each OS on a separate drive is another unnecessary complication. There are reasons in favor of that configuration, but none I chose to embrace. All my 20+ systems are multiboot, most with far more than 3 installed operating systems.
 
  


Reply

Tags
dual-boot, efibootmgr, grub boot menu, partitioning, tripleboot



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
[SOLVED] Booting LFS on separate USB HDD + separate /boot parition nivwusquorum Linux From Scratch 33 12-14-2011 06:38 AM
Using separate partition for software installs zzyzcx Linux - Newbie 1 04-22-2008 11:15 PM
Triple Booting Configuration & Partitions fc6_user Linux - General 14 05-23-2007 05:58 AM
Combining hard drives from separate redhat 9.0 installs wss Red Hat 3 01-25-2005 02:50 AM
Separate Partitions for Separate User groups volvic Slackware - Installation 2 09-16-2004 02:42 AM

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

All times are GMT -5. The time now is 11:53 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
Open Source Consulting | Domain Registration