Changes between Version 21 and Version 22 of linux/debootstrap-install
- Timestamp:
- 2020-06-16T11:30:49Z (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
linux/debootstrap-install
v21 v22 75 75 for d in dev sys proc; do mount -o bind /${d} /mnt/${d}; done 76 76 chroot /mnt update-initramfs -u 77 chroot /mnt update-grub278 77 79 78 # because https://www.reddit.com/r/Gentoo/comments/bce0d8/long_delay_starting_the_lvm_service_device_not/ 80 79 sed -i 's#md_component_detection = 1#md_component_detection = 0#' /mnt/etc/lvm/lvm.conf 80 chroot /mnt update-grub2 81 sed -i 's#md_component_detection = 0#md_component_detection = 1#' /mnt/etc/lvm/lvm.conf 82 81 83 chroot /mnt grub-install --boot-directory=/boot /dev/sda 82 sed -i 's#md_component_detection = 0#md_component_detection = 1#' /mnt/etc/lvm/lvm.conf83 84 chroot /mnt systemctl disable networking 84 85 chroot /mnt systemctl enable systemd-networkd