Results 1 to 5 of 5

Thread: Unable to install grub in a server with software RAID1

  1. #1
    Join Date
    Nov 2019
    Beans
    1

    Unable to install grub in a server with software RAID1

    I am trying to install an Ubuntu server 18.04 with a software RAID1. Everything seems to go fine until the step in which it tries to install grub. At this moment, it is not able to continue and the only way is to finish without boot manager. After the first reboot, you may see "gnu grub version 2.02" and grub>
    I have tried to do the installation several times but I get always the same result.
    Thank you in advance for your help.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Unable to install grub in a server with software RAID1

    Do not know server.

    But is install UEFI or BIOS.
    Is drive gpt or old MBR(msdos)?

    If UEFI, you must have ESP - efi system partition for grub to correctly install. Best to use gpt.
    If drive is gpt, you must have either ESP for UEFI boot or a bios_grub partition for BIOS boot.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    14,502
    Distro
    Kubuntu Development Release

    Re: Unable to install grub in a server with software RAID1

    Creating a separate /boot partition with some 512 M is an effective solution to this. Let the machine boot from the primary drive then start the RAID array. I have a couple of machines with large RAID1 mdadm arrays for which this method works flawlessly. (I generally don't put the OS on the RAID either. I use RAID for other filesystems like /home or a custom /data or similar mount point like, in my case, /media/raid.)
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  4. #4
    Join Date
    Mar 2007
    Beans
    499

    Re: Unable to install grub in a server with software RAID1

    It is possible to put the OS on a RAID 1 device, although a separate /boot partition is a good idea.

  5. #5
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    14,502
    Distro
    Kubuntu Development Release

    Re: Unable to install grub in a server with software RAID1

    I know. On machines where I'm running a RAID array, I also have another drive which I make the primary device.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •