Score:0

Ubuntu doesn't boot from active RAID 5 array after failed OS update

in flag

Some time ago I tried to upgrade Ubuntu from 16.04 to 18.04 via ssh from a remote PC. The system is configured as a RAID 5 array (with 3 physical drives). After that, I lost the ssh connection and later I found that the PC no longer boots Ubuntu on the local hardware.

I mounted the RAID array via sudo mdadm --assemble /dev/md0 from a live USB. This worked, which suggests that RAID array has not been damaged. I thought the issue might be related to grub so I tried to reinstall it via sudo grub-install /dev/md0 but that showed an error:

grub-install: error: failed to get canonical path of '/cow'

After executing sudo touch /cow, sudo grub-install /dev/md0 command outputted

Installing for i386-pc platform.
grub-install: error: unknown filesystem.

I already tried to run sudo dpkg-reconfigure grub-pc and then select /dev/md0 but there was no output and the system is still not bootable. I am not sure what needs to be done at this point.

How can I make it so that the system boots to Ubuntu on the RAID array again? Is there perhaps a way to repair GRUB from the live USB so that we can boot to the operating system again? Alternatively, is there a way to check the state of Ubuntu on the RAID array to see if there is an error that was caused by the incomplete update?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.