Install OS on RAID1 thanks to dual SATA board?
#11
It was a busy weekend, so no real progress. But I'm thinking the bootloader doesn't support this configuration, or needs to be configured differently. Some cursory examination of the filesystem didn't reveal what bootloader is being used. (Perhaps having a monitor attached will help! I will be doing that, when I get a chance.)

My understanding of bootloaders is limited, I guess, because I don't understand why the bootloader needs to understand the root filesystem. It just loads the kernel and passes some information about where to look, and then the kernel decodes the filesystem, or so I thought. Or maybe that's true, and any bootloader can be configured to pass the correct information to the kernel.
#12
I figured it out! I updated the list of steps above with the fix.

The gist of it is that "btrfs device scan" must be run before a multi-device btrfs filesystem can be mounted. I don't know why this is the case, but it is. See: https://btrfs.wiki.kernel.org/index.php/...e_scanning

From there, it was just a matter of figuring out how to get this command to be run before the root filesystem is mounted. I used initramfs-tools to cause a simple script to be run on bootup to do this. For that to take effect, the initramfs image has to be updated. See the updated steps in my earlier post for exactly how to do it.

If you follow my steps, please let me know how it turns out!
#13
Thank you.
I hope it will helps many.
I'll let you know when I'll try.


Possibly Related Threads…
Thread Author Replies Views Last Post
  linux-headers and quartz64-post-install package conflicts Berzerkleyfan 2 1,330 12-01-2023, 05:17 AM
Last Post: Berzerkleyfan
  Star64: SATA Der Geist der Maschine 1 1,516 07-26-2023, 12:35 PM
Last Post: Gladox114
  PBP Debian 11 GRUB install error zlth 2 2,513 11-18-2022, 07:42 AM
Last Post: zlth
  SOQUARTZ Compute module W does not fit Raspberry Pi CM4 dev board ihab 0 1,887 10-06-2022, 08:46 PM
Last Post: ihab
  wrong launguage install chadace 1 4,398 06-08-2020, 08:31 PM
Last Post: chadace
  How to boot from the SD card and install to eMMC? ravanh 2 7,048 03-18-2020, 09:42 AM
Last Post: tophneal
  Rock64 suitable for headless TVHeadend install? elsmandino 3 7,165 06-26-2018, 11:37 AM
Last Post: Luke
  Here Is another mini-how-to to install Raspbian:DESKTOP/ETHERNET/HDMI speedro86 4 8,995 04-15-2018, 07:37 AM
Last Post: bunkerWHz
  My first Single Board! jjh221 4 7,555 04-09-2018, 06:52 PM
Last Post: jjh221
  sopine cluster board install Smurfbot 1 4,848 03-31-2018, 04:09 AM
Last Post: pfeerick

Forum Jump:


Users browsing this thread: 3 Guest(s)