Install Linux Mint 17 to mdadm RAID array

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Arp
Level 2
Level 2
Posts: 88
Joined: Mon Mar 11, 2013 8:41 am

Re: Install Linux Mint 17 to mdadm RAID array

Postby Arp » Sun Nov 06, 2016 9:11 am

Hi,

Is the first post in this thread still valid for mint 18? Because I installed to a usb drive, and this is too slow for my taste, but I only have a raid 5 in the computer, so the only option would be to install to the raid (how can the raid be assembled before the system is booted?) or to somehow have just enough on the usb stick to assemble the array from there and continue booting from the raid.

bennabiy
Level 1
Level 1
Posts: 9
Joined: Thu Aug 01, 2013 11:02 am

Re: Install Linux Mint 17 to mdadm RAID array

Postby bennabiy » Sun Apr 23, 2017 11:08 am

I have not personally set up Linux Mint 18 in this fashion, but I would assume it will still work with some minor adjusting.

I also would like to add the following for clarity (I will edit the original post as well). Someone PMed me with a request for more info on what a certain set of commands do, so I would like to add my response to help others... Originally this was a post to help me remember the steps for the future and assumes certain understanding of the commands to know what to copy / paste and what is generic information.

Response below:

Here is a breakdown of the commands:
The following line:

Code: Select all

root@mint:~ # mount /dev/md127p1 /mnt; mount /dev/sda2 /mnt/boot/efi

mounts your root raid partition to /mnt (this could be any empty, but existing folder) and then mounts the EFI boot partition within the correct folder inside the root partition.
/dev/sda2 would change to whatever partition you set for your EFI boot partiton

The following:

Code: Select all

root@mint:~ # for i in /dev /dev/pts /sys /proc; do mount --bind $i /mnt$i; done

bind mounts (basically a way to have a folder in two places at once) certain directories into your new root partition. These folders are essential for being able to install software and such in a later step.

The following:

Code: Select all

root@mint:~ # echo "nameserver 4.2.2.4" > /mnt/etc/resolv.conf

writes a nameserver for dns resolution within the new root, allowing for software install (this will be overwritten upon your actual running of the system and is temporary)

The following:

Code: Select all

root@mint:~ # chroot /mnt

switches to your new environment you just set up and will be just like you were booted to it. This allows you to install software, edit configs etc as if you were booted to the system in console mode.

man pages are a great resource for finding out about commands as well, if what I have said does not make sense...

e.g.

Code: Select all

$ man chroot
$ man mount


Let me know if you need more clarity.

rippy
Level 1
Level 1
Posts: 2
Joined: Fri Dec 08, 2017 12:55 am

Re: Install Linux Mint 17 to mdadm RAID array

Postby rippy » Fri Dec 08, 2017 1:10 am

I just wanted to say what a great resource this thread has been.

I've just successfully installed 18.3 on a pair of RAID0 nvme m.2 960 EVOs using GPT and EFI on a new Threadripper system I've built. Looking forward to a ridiculously fast mint system very shortly once I transfer from my current machine. :D

Thanks all for the great info posted here!

Note, I'm hoping that the keywords above might help others that just discovered that nvme raid on x399 is fakeraid find this post on google. Not necro-posting without reason (I hope).

User avatar
coffee412
Level 5
Level 5
Posts: 732
Joined: Mon Nov 12, 2012 7:38 pm
Location: Indiana, USA
Contact:

Re: Install Linux Mint 17 to mdadm RAID array

Postby coffee412 » Fri Dec 08, 2017 4:53 am

rippy wrote:I just wanted to say what a great resource this thread has been.

I've just successfully installed 18.3 on a pair of RAID0 nvme m.2 960 EVOs using GPT and EFI on a new Threadripper system I've built. Looking forward to a ridiculously fast mint system very shortly once I transfer from my current machine. :D

Thanks all for the great info posted here!

Note, I'm hoping that the keywords above might help others that just discovered that nvme raid on x399 is fakeraid find this post on google. Not necro-posting without reason (I hope).


So, How do you like the Threadripper???

Like to hear you impression of it. I couldnt afford it at the time and it was not out when I upgraded. I have the x1800 which is sweet!
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
IceWarp * Samba AD * Mint 18.1 * RAID 1/5 * OpenVPN * Linux since kernel 2.0.36

rippy
Level 1
Level 1
Posts: 2
Joined: Fri Dec 08, 2017 12:55 am

Re: Install Linux Mint 17 to mdadm RAID array

Postby rippy » Mon Dec 11, 2017 3:34 am

coffee412 wrote:So, How do you like the Threadripper???

Like to hear you impression of it. I couldnt afford it at the time and it was not out when I upgraded. I have the x1800 which is sweet!


Pretty good so far. Everything working well as far as I can tell. I'm running an all core 4.0 GHz overclock (1920x so 12 core 24 thread) with 32GB of ram @ 3200MHZ. Along with the NVME RAID, this thing is FAST. :wink:

Still need to do stability testing with this OC and see if I can go a bit higher, but I did some gaming just now and no issue at all. Not a super CPU intensive task, but still.

No issue so far in mint 18.3 with the hardware. Using Aorus Gamaing 7 board and everything working out of the box. Only GPU and microcode showed up in drivers. WiFi, Bluetooth, ethernet, USB, etc. all working perfectly.

Needless to say, I'm pretty happy with my choice. :D


Return to “Installation & Boot”