Changes between Version 21 and Version 22 of linux/debootstrap-install


Ignore:
Timestamp:
2020-06-16T11:30:49Z (5 years ago)
Author:
root
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • linux/debootstrap-install

    v21 v22  
    7575for d in dev sys proc; do mount -o bind /${d} /mnt/${d}; done
    7676chroot /mnt update-initramfs -u
    77 chroot /mnt update-grub2
    7877
    7978# because https://www.reddit.com/r/Gentoo/comments/bce0d8/long_delay_starting_the_lvm_service_device_not/
    8079sed -i 's#md_component_detection = 1#md_component_detection = 0#' /mnt/etc/lvm/lvm.conf
     80chroot /mnt update-grub2
     81sed -i 's#md_component_detection = 0#md_component_detection = 1#' /mnt/etc/lvm/lvm.conf
     82
    8183chroot /mnt grub-install --boot-directory=/boot /dev/sda
    82 sed -i 's#md_component_detection = 0#md_component_detection = 1#' /mnt/etc/lvm/lvm.conf
    8384chroot /mnt systemctl disable networking
    8485chroot /mnt systemctl enable systemd-networkd