Home » 2022 » May » 05

May '22 05

Build loopback raid md

Create Loop devices Create the Array Add 3rd Disk as Spare Convert Raid1 to Raid5 (reshape). Grow Filesystem to suit. Notice the Array and Used size changes after conversion. Cleanup Loopback interfaces / md devices

May '22 05

Linux Grub rescue mode

Error happens when /boot/grub/i386-pc/ is empty grub rescue> ls grub rescue> set root=(md/0) grub rescue> set prefix=(md/0)/usr/lib/grub grub rescue> insmod normal grub rescue> normal grub> set root=(md/0) grub> linux /boot/vmlinuz-4.19.0-20-amd64 root=/dev/md0 grub> initrd /boot/initrd.img-4.19.0-20-amd64 grub> boot blockdev –flushbufs /dev/* grub-install … Continue reading