Support booting from LVM/RAID0 (mdadm) on Oracle Cloud with sda as boot volume and sdb+sdc as RAID0 · Issue #134 · bohanyang/debi · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install Debian using debi on Oracle Cloud with the following disk setup:
/dev/sda (50GB) — Boot volume (EFI, GRUB)
/dev/sdb (50GB) and /dev/sdc (50GB) — Intended to be configured as a RAID0 (mdadm) or LVM volume for root (/)
My goal is:
Use /dev/sda to host the EFI and GRUB bootloader
Combine /dev/sdb and /dev/sdc into a RAID0 array (/dev/md0) or LVM volume
Install the root filesystem (/) on the RAID0 or LVM
Successfully boot into the OS from /dev/sda while loading the root from the RAID0/LVM setup
I've encountered issues when trying this manually:
mdadm isn't available in the initramfs unless explicitly added
GRUB sometimes fails to detect the RAID/LVM root device during boot
I'm not sure how to modify debi to prepare the initrd or install mdadm/lvm inside the target correctly
My questions:
Is this use-case currently supported by debi?
If not, what would be the correct way to extend or patch debi to support RAID0/LVM root setups?
Do you have recommendations for integrating mdadm/lvm setup into the debi workflow (e.g., hooks to run pre-/post- chroot, install additional packages, etc.)?
Any guidance would be greatly appreciated. Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi, thank you for this great project!
I'm trying to install Debian using
debi
on Oracle Cloud with the following disk setup:/dev/sda
(50GB) — Boot volume (EFI, GRUB)/dev/sdb
(50GB) and/dev/sdc
(50GB) — Intended to be configured as a RAID0 (mdadm) or LVM volume for root (/
)My goal is:
/dev/sda
to host the EFI and GRUB bootloader/dev/sdb
and/dev/sdc
into a RAID0 array (/dev/md0
) or LVM volume/
) on the RAID0 or LVM/dev/sda
while loading the root from the RAID0/LVM setupI've encountered issues when trying this manually:
mdadm
isn't available in the initramfs unless explicitly addeddebi
to prepare the initrd or install mdadm/lvm inside the target correctlyMy questions:
debi
?debi
to support RAID0/LVM root setups?debi
workflow (e.g., hooks to run pre-/post- chroot, install additional packages, etc.)?Any guidance would be greatly appreciated. Thanks in advance!
The text was updated successfully, but these errors were encountered: