Page MenuHomePhabricator

Install and Boot from RAID Doesn't Work
Confirmed, Requires assessmentPublicBUG

Description

I was attempting to install VyOS to a pre-configured linux RAID 1, and it appears that while it states it installed successfully, on reboot, even when I manually select the drive it finds nothing and continues to the next item (virtual CD). The system specifications are:
Processor: Intel Xeon-E 2274G - 4 c / 8 t - 4 GHz / 4.9 GHz
Memory: 32GB DDR4
Disks: 2 x 960GB Samsung NVMe SSDs (not sure model)
More info: https://www.ovh.com/world/dedicated-servers/infra/infra-1/

I'm not quite sure the motherboard other than that it's ASRock, due to the fact that this is a leased server in a remote location, and I have yet to install an OS on it to check. Given the nature of this issue, I've taken a screen recording of me installing and rebooting the server.

Notes:

  • This is booting in Legacy Mode, not UEFI mode
  • Attempting to install in UEFI mode fails to even show a boot item in the BIOS
  • This uses GPT
  • There is a pause in the screen recording; this is because I'm using IPMI virtual media, so copying the squashfs file is slow

Details

Difficulty level
Normal (likely a few hours)
Version
1.3-rolling-201912060242
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

Have a screen recording 😄

trae32566 updated the task description. (Show Details)Dec 11 2019, 6:48 AM
Dmitry added a subscriber: Dmitry.Dec 11 2019, 7:18 AM

Hello @trae32566 , with 1.2-rolling the same installing result?

@Dmitry yes, I tried 1.2 rolling as well. I have not been able to try 1.2.3 stable due to a lack of access.

This comment was removed by hagbard.
hagbard changed the task status from Open to Confirmed.Dec 11 2019, 4:41 PM

Looks like an issue with the raid metadata and grub, problem confirmed with virtual box. Tested, latest rolling, 1.2.3 and 1.2.4-epa1.

Looks like an issue with the raid metadata and grub, problem confirmed with virtual box. Tested, latest rolling, 1.2.3 and 1.2.4-epa1.

Just for clarity, I did try both 1.0 and 1.2 metadata formats, since md1.1+ is not bootable.

Yeah I figured. vyos is being install into /dev/mdX, I can boot via live cd and mount mount it and it has everything in there, but there seems something wrong with writing the boot sector since I would see at least grub. Instead it is empty.

kroy added a subscriber: kroy.Mon, Jan 13, 10:26 PM

@trae32566

I pushed a fix earlier which might fix this in UEFI mode. Can you check the rolling tomorrow (or build youself today). If you are interested, I also have a custom built ISO with the fix in it.

pasik added a subscriber: pasik.Tue, Jan 14, 6:54 PM

@kroy I tried just now with vyos-1.3-rolling-202001160217 in UEFI mode (even forced UEFI boot only in the BIOS to make sure) and am still having the same problem.