Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Installation with multiple SSD & HDD

User avatar
Dire-Mech
Forum Novice
Forum  Novice
Posts: 3
Joined: Sun Jan 20, 2019 10:29 pm

Installation with multiple SSD & HDD

#1

Post by Dire-Mech » Mon Jan 21, 2019 10:50 pm

Hello everyone,
I am new to the Linux system, I have read the manual & understand how to mount the HDD. What I need help with is what drives should I put /boot on & / on & what drive should I put /home on & what I should do with the other drives in my system. Also if I should put a swap partion on one of the HDD.
What I will be doing with the computer is playing some FPS on steam & doing some video capturing/editing.
Thanks in advance for any help.

Desktop Specs.
I7-6700 CPU
64GB Ram
GTX-970 GPU

SSD
Samsung 970 evo 250GB nvme
Samsung 970 evo 500GB nvme

HDD
Seagate 3TB
Seagate 3TB

User avatar
towwire
Forum Regular
Forum Regular
Posts: 559
Joined: Fri Oct 15, 2010 12:15 pm

Re: Installation with multiple SSD & HDD

#2

Post by towwire » Mon Jan 21, 2019 11:15 pm

My question is how are the drives partition, dos or gpt. I have 2 drives none are ssd. I take it you have MX on a usb stick. Here my main hard disk.

Code: Select all

List Hard Drive Partitions
lsblk -f

NAME   FSTYPE LABEL      UUID                                 MOUNTPOINT
sda                                                           
├─sda1 vfat              61C2-4446                            /boot/efi
├─sda2 ext4   rootMX17   7d2c8dc5-faba-4a4c-a65f-2e9ca810a5fd /
├─sda3 ext4   homeMX17   fb4e99b1-4198-41f8-8183-30201dd65678 /home
├─sda4 ext4   Download   fbab8605-72f9-4fe6-b8ca-5706ade940f3 /mnt/Download
├─sda5 ext4   MyData     98807904-4ecf-4fc4-bb51-1b077b1ea4f1 /mnt/MyData
├─sda6 ext4   Books      e4d63628-4a54-4566-96e8-921efa76096d /mnt/Books
└─sda7 ext4   Video      c6109bb8-f3a7-402d-a970-e2ea37a780c2 

philotux
Forum Regular
Forum Regular
Posts: 428
Joined: Sun Apr 22, 2018 12:57 pm

Re: Installation with multiple SSD & HDD

#3

Post by philotux » Mon Jan 21, 2019 11:22 pm

And do you really need a separate boot partition? If I am not mistaken, unless you want to encrypt you root partition, you won't be needing any separate boot partition. Perhaps there are other cases when a separate boot is needed. But this is as far as I know.

User avatar
towwire
Forum Regular
Forum Regular
Posts: 559
Joined: Fri Oct 15, 2010 12:15 pm

Re: Installation with multiple SSD & HDD

#4

Post by towwire » Mon Jan 21, 2019 11:25 pm

philotux wrote:
Mon Jan 21, 2019 11:22 pm
And do you really need a separate boot partition? If I am not mistaken, unless you want to encrypt you root partition, you won't be needing any separate boot partition. Perhaps there are other cases when a separate boot is needed. But this is as far as I know.
Sorry but if you do efi then you need this ' /boot/efi '.

User avatar
Dire-Mech
Forum Novice
Forum  Novice
Posts: 3
Joined: Sun Jan 20, 2019 10:29 pm

Re: Installation with multiple SSD & HDD

#5

Post by Dire-Mech » Mon Jan 21, 2019 11:33 pm

Hi towwire,
I used a live cd on my laptop & installed MX18, since it had 1 hdd I let the installer partition the drive.

On my Desktop I currently have win10 on it & want to do away with it & have MX18 only installed.
As I am new, is it better to use efi or to disable efi for linux?

Thanks for sharing your setup.

Hi philotux,
Thanks for the input about the boot partion.

philotux
Forum Regular
Forum Regular
Posts: 428
Joined: Sun Apr 22, 2018 12:57 pm

Re: Installation with multiple SSD & HDD

#6

Post by philotux » Mon Jan 21, 2019 11:34 pm

towwire wrote:
Mon Jan 21, 2019 11:25 pm
philotux wrote:
Mon Jan 21, 2019 11:22 pm
And do you really need a separate boot partition? If I am not mistaken, unless you want to encrypt you root partition, you won't be needing any separate boot partition. Perhaps there are other cases when a separate boot is needed. But this is as far as I know.
Sorry but if you do efi then you need this ' /boot/efi '.
Yes, but isn't that a mountpoint in the root filesystem for the EFI-system partition? As your own lsblk -f shows. I don't think it is the same as having a separate partition for boot being mounted at /boot.

User avatar
towwire
Forum Regular
Forum Regular
Posts: 559
Joined: Fri Oct 15, 2010 12:15 pm

Re: Installation with multiple SSD & HDD

#7

Post by towwire » Mon Jan 21, 2019 11:54 pm

Dire-Mech wrote:
Mon Jan 21, 2019 11:33 pm
Hi towwire,
I used a live cd on my laptop & installed MX18, since it had 1 hdd I let the installer partition the drive.

On my Desktop I currently have win10 on it & want to do away with it & have MX18 only installed.
As I am new, is it better to use efi or to disable efi for linux?

Thanks for sharing your setup.

Hi philotux,
Thanks for the input about the boot partion.
I have used efi since I built this computer and never had a problem with the efi. I did have 3 drives, down to 2 drives and thinking about removing another one. I have a usb dual bay docking station that I use for 2 drives. It makes it so they are only powered on when I need them. Here is what I have.

Code: Select all

towwire@mx17a:~
$ inxi -F
System:    Host: mx17a Kernel: 4.15.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3 
           Distro: MX-18_x64 Continuum March 14  2018 
Machine:   Type: Desktop System: Gigabyte product: N/A v: N/A serial: <root required> 
           Mobo: Gigabyte model: F2A88X-UP4 v: x.x serial: <root required> 
           UEFI: American Megatrends v: F8a date: 12/14/2015 
CPU:       Topology: Quad Core model: AMD A10-7850K Radeon R7 12 Compute Cores 4C+8G bits: 64 
           type: MCP L2 cache: 2048 KiB 
           Speed: 2645 MHz min/max: 1700/3700 MHz Core speeds (MHz): 1: 1691 2: 1696 3: 1700 
           4: 1791 
Graphics:  Device-1: AMD Kaveri [Radeon R7 Graphics] driver: radeon v: kernel 
           Display: x11 server: X.Org 1.19.2 driver: ati,radeon unloaded: fbdev,modesetting,vesa 
           resolution: 1920x1200~60Hz 
           OpenGL: renderer: AMD KAVERI (DRM 2.50.0 4.15.0-1-amd64 LLVM 7.0.0) 
           v: 4.5 Mesa 18.2.6 
Audio:     Device-1: AMD Kaveri HDMI/DP Audio driver: snd_hda_intel 
           Device-2: AMD FCH Azalia driver: snd_hda_intel 
           Sound Server: ALSA v: k4.15.0-1-amd64 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 74:d4:35:57:f2:98 
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:    Local Storage: total: 2.73 TiB used: 623.95 GiB (22.3%) 
           ID-1: /dev/sda vendor: Seagate model: ST2000DM001-1CH164 size: 1.82 TiB 
           ID-2: /dev/sdb vendor: Seagate model: ST1000DM003-1ER162 size: 931.51 GiB 
Partition: ID-1: / size: 24.48 GiB used: 14.75 GiB (60.2%) fs: ext4 dev: /dev/sda2 
           ID-2: /home size: 48.97 GiB used: 26.56 GiB (54.2%) fs: ext4 dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 3.2 C mobo: N/A gpu: radeon temp: 5 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 204 Uptime: 1h 51m Memory: 30.38 GiB used: 1002.8 MiB (3.2%) Shell: bash 
           inxi: 3.0.29 
I know some have put home on the hard drive with root on the ssd. I use a lot of linking with files on other partitions and they show up as if they are in home. Others will most likely comment soon.

User avatar
towwire
Forum Regular
Forum Regular
Posts: 559
Joined: Fri Oct 15, 2010 12:15 pm

Re: Installation with multiple SSD & HDD

#8

Post by towwire » Tue Jan 22, 2019 12:03 am

philotux wrote:
Mon Jan 21, 2019 11:34 pm
towwire wrote:
Mon Jan 21, 2019 11:25 pm
philotux wrote:
Mon Jan 21, 2019 11:22 pm
And do you really need a separate boot partition? If I am not mistaken, unless you want to encrypt you root partition, you won't be needing any separate boot partition. Perhaps there are other cases when a separate boot is needed. But this is as far as I know.
Sorry but if you do efi then you need this ' /boot/efi '.
Yes, but isn't that a mountpoint in the root filesystem for the EFI-system partition? As your own lsblk -f shows. I don't think it is the same as having a separate partition for boot being mounted at /boot.
Read about it here. https://en.wikipedia.org/wiki/EFI_system_partition

Edit add the following
When I installed grub it was to the esp.
Screenshot.png
You do not have the required permissions to view the files attached to this post.

philotux
Forum Regular
Forum Regular
Posts: 428
Joined: Sun Apr 22, 2018 12:57 pm

Re: Installation with multiple SSD & HDD

#9

Post by philotux » Tue Jan 22, 2019 12:19 am

towwire wrote:
Tue Jan 22, 2019 12:03 am
philotux wrote:
Mon Jan 21, 2019 11:34 pm
towwire wrote:
Mon Jan 21, 2019 11:25 pm


Sorry but if you do efi then you need this ' /boot/efi '.
Yes, but isn't that a mountpoint in the root filesystem for the EFI-system partition? As your own lsblk -f shows. I don't think it is the same as having a separate partition for boot being mounted at /boot.
Read about it here. https://en.wikipedia.org/wiki/EFI_system_partition

I am not saying that for an installation in UEFI-mode you don't need an EFI-system partition which will be mounted at /boot/efi in the root filesystem. That's a must and that is where Grub is installed.

What I am saying is that, that is different from having a separate boot partition mounted at /boot in the root filesystem. This is usually not a must for an installation in UEFI-mode.

None of my installs in UEFI-mode does have a separate boot partition, but they all do have an EFI-system partition.

This is clearly shown from your own lsblk -f:

Code: Select all

NAME   FSTYPE LABEL      UUID                                 MOUNTPOINT
sda                                                           
├─sda1 vfat              61C2-4446                            /boot/efi
├─sda2 ext4   rootMX17   7d2c8dc5-faba-4a4c-a65f-2e9ca810a5fd /
├─sda3 ext4   homeMX17   fb4e99b1-4198-41f8-8183-30201dd65678 /home
The partition /dev/sda1 is exactly the famous EFI-system partition mounted at /boot/efi. That is different from a separate boot partition. You don't have one otherwise you would see some /dev/sdax mounted at /boot which is not the case.
Last edited by philotux on Tue Jan 22, 2019 12:30 am, edited 1 time in total.

User avatar
figueroa
Forum Regular
Forum Regular
Posts: 396
Joined: Fri Dec 21, 2018 12:20 am

Re: Installation with multiple SSD & HDD

#10

Post by figueroa » Tue Jan 22, 2019 12:29 am

This is highly personal and technical. Consider that UEFI and GPT are the newer systems for going forward, I recommend it, though with fear and trembling. On my newest personal system I used msdos partitioning and legacy booting, but I'm sorry about that choice as it was not very forward thinking of me. I suggest:

Create new partition table on the drive(s), type gpt (not ms-dos).
Create sda1 first 512 meg type fat32 (for UEFI) This is big enough for future needs, storing many kernels, etc.
Create sdb1 linux-swap partition 2-8 gig (if you have plenty of space, do 8 gig and putting swap on the secondary hard drive is a good idea)
Create sda2 for / size to suit your tastes, but probably to fill up the rest of sda, ext4 (because I'm comfortable with ext4 and it's stable and not subject to developer whims)

All other partitions to suit your tastes and needs. Dedicate plenty of space on one of your secondary hard drives for regular backups of whatever you deem important.

You are new to Linux but starting out with four a high end system with four hard drives. That's jumping into the deep end. I suggest putting the larger SSD and one of the 3T hard drives aside and grow your system incrementally as you need it.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

Post Reply

Return to “Installation”