LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-20-2017, 04:04 PM   #1
SandMan874
LQ Newbie
 
Registered: Oct 2017
Location: Norway
Posts: 5

Rep: Reputation: Disabled
Installing Ubuntu Server 16.04.3 LTS on RAID 1 array


Hello,

I'm currently working on installing Ubuntu Server on a Fujitsu TX1330 M3 server I recently purchased. The setup is as follows:

2 x 1 TB HDD for the OS (I know, waste of space, but I don't want to put data on Seagate drives, bad experience)
2 x 6 TB HDD for data (WD Datacenter)

My plan is to run both pairs of HDD's in RAID 1 Linux softraid arrays, and install Ubuntu on the 1 TB array.

I've tried the instructions here: https://help.ubuntu.com/lts/servergu...ation.htmlwith the addition of creating a ESP partition which is not part of the raid array. As I understand, you can't RAID your GRUB

However, I do have a few questions:

Can I create two ESP partitions, one on each HDD, not in a RAID array, and manually install GRUB on the second one after the installation? To preserve boot capability when one HDD fails.
If this is indeed possible, should I label both partitions as "Use as: EFI System Partition", or will this confuse the installer?


So far I have had little success when I tried completing the installer with this method. After the installer finishes without errors, and tells me to reboot and remove the installation media, the server goes straight to BIOS. None of the HDD's show up as bootable media, so I cannot force it to boot from the HDD.

When I start a live version of Ubuntu, gparted tells me four times that the backup GPT partition table is corrupt. (one for each HDD) I have also tried yannubuntu's Boot Repair tool, which reports that GRUB has been repaired, but none of my drives shows up as bootable anyway. The log file for this repair can be seen at:

https://paste.ubuntu.com/25780582/

Does anybody have any tips for how I can make this boat anchor work as a proper server?
Thanks

SandMan874
 
Old 10-21-2017, 10:12 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Please post partitioning!

Can you post the Boot menu of your UEFI Bios?

Last edited by Keruskerfuerst; 10-21-2017 at 11:37 AM.
 
Old 10-22-2017, 07:14 AM   #3
SandMan874
LQ Newbie
 
Registered: Oct 2017
Location: Norway
Posts: 5

Original Poster
Rep: Reputation: Disabled
Well, after multiple attempts, I have switched to legacy mode, but still no joy in getting Ubuntu to boot.

Attached are screenshots of gparted and fdisk as the partitions are now. Also screenshots of the boot menu and CSM.

I first set up GPT tables on all drives, and then created the 1 MiB partitions called /dev/sda1 and /dev/sdb1 for GRUB. Then I started the Ubuntu server installation, where I created the swap and / RAID volumes, before finally creating two RAID 1 arrays for these two partitions. The GRUB partitions are not part of a RAID array.

The installation completed successfully, but the drives still won't show up as bootable in the BIOS. I also tried to reinstall GRUB on both drives using Yannubuntu's Boot Repair tool, which also completes successfully, but this did not help.

Is there anything that jumps out as incorrect in my method?


SandMan874
Attached Thumbnails
Click image for larger version

Name:	gparted sda.png
Views:	340
Size:	45.6 KB
ID:	26150   Click image for larger version

Name:	gparted sdb.png
Views:	231
Size:	46.1 KB
ID:	26151   Click image for larger version

Name:	fdisk.png
Views:	316
Size:	218.9 KB
ID:	26152   Click image for larger version

Name:	Boot Menu.jpg
Views:	266
Size:	119.9 KB
ID:	26153   Click image for larger version

Name:	CSM.jpg
Views:	197
Size:	112.7 KB
ID:	26154  

 
Old 10-22-2017, 10:27 AM   #4
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
When you have a UEFI Bios, then you should have a /boot/efi partition with 500MB size.
 
Old 10-22-2017, 03:52 PM   #5
SandMan874
LQ Newbie
 
Registered: Oct 2017
Location: Norway
Posts: 5

Original Poster
Rep: Reputation: Disabled
Yes, I know that, and I have tried that quite a few times already.

I just want to close this thread by explaining that I finally got my server up and running thanks to some assistance on another forum.

Turns out that the most important thing was to disable the built-in RAID controller in the BIOS. As soon as I switched the controller from RAID mode to AHCI mode, all my disks showed up in the BIOS as standard SATA disks. From then on, the installation of Ubuntu server on a RAID 1 array was very simple, by following the instructions here:

https://help.ubuntu.com/lts/servergu...tallation.html

With the addition of also creating a 550 MB EFI System Partition on each of the two drives. But NOT putting these partitions together in a RAID array.

Anyway, the problem has now been solved.

SandMan874
 
  


Reply



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
hardware RAID 1 rebuild problem with ubuntu server 10.04 LTS golden_boy615 Linux - Server 3 07-05-2012 03:42 AM
LXer: Installing And Using OpenVZ On Ubuntu 8.04 LTS Server LXer Syndicated Linux News 0 08-12-2008 06:50 PM
LXer: Installing An Ubuntu Hardy 8.04 LTS DNS Server With BIND LXer Syndicated Linux News 0 06-15-2008 08:00 AM
Installing SUSE Linux Enterprise Server 10 on RAID 10 Array linux_linux Linux - Newbie 2 03-15-2008 08:52 PM
Hanging installing ubuntu on raid array mutti_wilson Ubuntu 0 02-08-2007 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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