8000 Support booting from LVM/RAID0 (mdadm) on Oracle Cloud with sda as boot volume and sdb+sdc as RAID0 · Issue #134 · bohanyang/debi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Support booting from LVM/RAID0 (mdadm) on Oracle Cloud with sda as boot volume and sdb+sdc as RAID0 #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dopaemon opened this issue Apr 18, 2025 · 0 comments

Comments

@dopaemon
Copy link

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:

  • 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:

  1. Is this use-case currently supported by debi?
  2. If not, what would be the correct way to extend or patch debi to support RAID0/LVM root setups?
  3. 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0