2 # don't let udev and this script step on eachother's toes
3 for x
in 64-lvm.rules
70-mdadm.rules
99-mount-rules; do
4 > "/etc/udev/rules.d/$x"
6 udevadm control
--reload
7 # save a partition at the beginning for future flagging purposes
8 sfdisk
-X gpt
/dev
/sda
<<EOF
16 mkfs.btrfs
-draid10 -mraid10 -L root
/dev
/sda2
/dev
/sda3
/dev
/sda4
/dev
/sda5
22 mount
-t btrfs
/dev
/sda5
/sysroot
23 cp -a -t /sysroot
/source
/*
25 echo "dracut-root-block-created" >/dev
/sda1