Install RAID0 on 2 GPT SSDs , booting in Legacy Mode, Ubuntu 16.04 Desktop

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
My setup
- 2x 512GB SSDs - GPT Partition
- Legacy boot
ssd layout(on each disk):
- 4MB: space reserved for bios grub(not part of RAID0 array)
- 16GB: swap - reserved for RAID volume
- 25GB : mnt / - ext4 - reserved for RAID volume
- ~420GB: mnt /home - ext4 - reserved for RAID volume
The error I eventually receive is "executing 'grub-install /dev/md1 failed"
I continued installation without bootloader thinking I will install grub by live-usb.
From the live-usb,
I ran sudo grub-install /dev/nvme01n1(name of ssd).
The error I receive is - grub-install failed to get canonical path of aufs'.
I tried mount /dev/nvme01n1p3 /mnt (the / of the RAID array), the error I receive is unknown file-system linux_raid_member'
mdadm does not detect any RAID disks ..
(I am following parts of the Software RAID tutorial.
I plan to install desktop-ubuntu from within the server after installation, as shown in this video)
Other routes that I tried:
I tried adding the bios_grub reserved space to the RAID array but that resulted in an error during the formatting step.
The disks initially had a msdos partition but I got the same bootloader error and I could not figure out how to allocate space for grub in msdos disks.
After reading online, it seemed like booting from a GPT disk could be a solution and I changed the partition to GPT ..
This is taking especially long as I have started reading about MBR/GPT, BIOS/UEFI only when I began this install ..
Please let me know how I should proceed.
boot grub2 raid
add a comment |Â
up vote
0
down vote
favorite
My setup
- 2x 512GB SSDs - GPT Partition
- Legacy boot
ssd layout(on each disk):
- 4MB: space reserved for bios grub(not part of RAID0 array)
- 16GB: swap - reserved for RAID volume
- 25GB : mnt / - ext4 - reserved for RAID volume
- ~420GB: mnt /home - ext4 - reserved for RAID volume
The error I eventually receive is "executing 'grub-install /dev/md1 failed"
I continued installation without bootloader thinking I will install grub by live-usb.
From the live-usb,
I ran sudo grub-install /dev/nvme01n1(name of ssd).
The error I receive is - grub-install failed to get canonical path of aufs'.
I tried mount /dev/nvme01n1p3 /mnt (the / of the RAID array), the error I receive is unknown file-system linux_raid_member'
mdadm does not detect any RAID disks ..
(I am following parts of the Software RAID tutorial.
I plan to install desktop-ubuntu from within the server after installation, as shown in this video)
Other routes that I tried:
I tried adding the bios_grub reserved space to the RAID array but that resulted in an error during the formatting step.
The disks initially had a msdos partition but I got the same bootloader error and I could not figure out how to allocate space for grub in msdos disks.
After reading online, it seemed like booting from a GPT disk could be a solution and I changed the partition to GPT ..
This is taking especially long as I have started reading about MBR/GPT, BIOS/UEFI only when I began this install ..
Please let me know how I should proceed.
boot grub2 raid
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
My setup
- 2x 512GB SSDs - GPT Partition
- Legacy boot
ssd layout(on each disk):
- 4MB: space reserved for bios grub(not part of RAID0 array)
- 16GB: swap - reserved for RAID volume
- 25GB : mnt / - ext4 - reserved for RAID volume
- ~420GB: mnt /home - ext4 - reserved for RAID volume
The error I eventually receive is "executing 'grub-install /dev/md1 failed"
I continued installation without bootloader thinking I will install grub by live-usb.
From the live-usb,
I ran sudo grub-install /dev/nvme01n1(name of ssd).
The error I receive is - grub-install failed to get canonical path of aufs'.
I tried mount /dev/nvme01n1p3 /mnt (the / of the RAID array), the error I receive is unknown file-system linux_raid_member'
mdadm does not detect any RAID disks ..
(I am following parts of the Software RAID tutorial.
I plan to install desktop-ubuntu from within the server after installation, as shown in this video)
Other routes that I tried:
I tried adding the bios_grub reserved space to the RAID array but that resulted in an error during the formatting step.
The disks initially had a msdos partition but I got the same bootloader error and I could not figure out how to allocate space for grub in msdos disks.
After reading online, it seemed like booting from a GPT disk could be a solution and I changed the partition to GPT ..
This is taking especially long as I have started reading about MBR/GPT, BIOS/UEFI only when I began this install ..
Please let me know how I should proceed.
boot grub2 raid
My setup
- 2x 512GB SSDs - GPT Partition
- Legacy boot
ssd layout(on each disk):
- 4MB: space reserved for bios grub(not part of RAID0 array)
- 16GB: swap - reserved for RAID volume
- 25GB : mnt / - ext4 - reserved for RAID volume
- ~420GB: mnt /home - ext4 - reserved for RAID volume
The error I eventually receive is "executing 'grub-install /dev/md1 failed"
I continued installation without bootloader thinking I will install grub by live-usb.
From the live-usb,
I ran sudo grub-install /dev/nvme01n1(name of ssd).
The error I receive is - grub-install failed to get canonical path of aufs'.
I tried mount /dev/nvme01n1p3 /mnt (the / of the RAID array), the error I receive is unknown file-system linux_raid_member'
mdadm does not detect any RAID disks ..
(I am following parts of the Software RAID tutorial.
I plan to install desktop-ubuntu from within the server after installation, as shown in this video)
Other routes that I tried:
I tried adding the bios_grub reserved space to the RAID array but that resulted in an error during the formatting step.
The disks initially had a msdos partition but I got the same bootloader error and I could not figure out how to allocate space for grub in msdos disks.
After reading online, it seemed like booting from a GPT disk could be a solution and I changed the partition to GPT ..
This is taking especially long as I have started reading about MBR/GPT, BIOS/UEFI only when I began this install ..
Please let me know how I should proceed.
boot grub2 raid
boot grub2 raid
asked Feb 7 at 21:11
Paritosh Kelkar
1
1
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
I ran Boot repair from within the live-usb and it prompted me to remove dmraid as it would conflict with mdraid.
On doing so, I was able to run mdraid --assemble --scan and view my RAID0 disks.
Boot-repair eventually detected GPT partition and asked me to make a bios_grub, unformatted partition at beginning of disk. I was not sure how to proceed now as I already had the necessary partitions.
I then followed this section of Grub2 installation.
Grub was installed and I could login at tty1.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I ran Boot repair from within the live-usb and it prompted me to remove dmraid as it would conflict with mdraid.
On doing so, I was able to run mdraid --assemble --scan and view my RAID0 disks.
Boot-repair eventually detected GPT partition and asked me to make a bios_grub, unformatted partition at beginning of disk. I was not sure how to proceed now as I already had the necessary partitions.
I then followed this section of Grub2 installation.
Grub was installed and I could login at tty1.
add a comment |Â
up vote
0
down vote
I ran Boot repair from within the live-usb and it prompted me to remove dmraid as it would conflict with mdraid.
On doing so, I was able to run mdraid --assemble --scan and view my RAID0 disks.
Boot-repair eventually detected GPT partition and asked me to make a bios_grub, unformatted partition at beginning of disk. I was not sure how to proceed now as I already had the necessary partitions.
I then followed this section of Grub2 installation.
Grub was installed and I could login at tty1.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I ran Boot repair from within the live-usb and it prompted me to remove dmraid as it would conflict with mdraid.
On doing so, I was able to run mdraid --assemble --scan and view my RAID0 disks.
Boot-repair eventually detected GPT partition and asked me to make a bios_grub, unformatted partition at beginning of disk. I was not sure how to proceed now as I already had the necessary partitions.
I then followed this section of Grub2 installation.
Grub was installed and I could login at tty1.
I ran Boot repair from within the live-usb and it prompted me to remove dmraid as it would conflict with mdraid.
On doing so, I was able to run mdraid --assemble --scan and view my RAID0 disks.
Boot-repair eventually detected GPT partition and asked me to make a bios_grub, unformatted partition at beginning of disk. I was not sure how to proceed now as I already had the necessary partitions.
I then followed this section of Grub2 installation.
Grub was installed and I could login at tty1.
answered Feb 8 at 17:55
Paritosh Kelkar
1
1
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004018%2finstall-raid0-on-2-gpt-ssds-booting-in-legacy-mode-ubuntu-16-04-desktop%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password