mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-08-23 04:51:16 +00:00
comment out dracut --force and grub
This commit is contained in:
parent
60cd7afa77
commit
34f0802f53
@ -21,7 +21,7 @@
|
|||||||
# Load kernel modules in grub.
|
# Load kernel modules in grub.
|
||||||
sed -i 's/\(quiet\)/\1 amd_iommu=on amd_iommu=pt rd.driver.pre=vfio-pci/i' /etc/default/grub
|
sed -i 's/\(quiet\)/\1 amd_iommu=on amd_iommu=pt rd.driver.pre=vfio-pci/i' /etc/default/grub
|
||||||
|
|
||||||
dracut --force # Regenerate initramfs
|
# dracut --force # Regenerate initramfs
|
||||||
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub
|
# grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub
|
||||||
|
|
||||||
%end # End of the %post section
|
%end # End of the %post section
|
||||||
|
@ -23,7 +23,7 @@ sed -i 's/\(quiet\)/\1 intel_iommu=on iommu=pt rd.driver.pre=vfio-pci i915.enabl
|
|||||||
echo "kvmgt" > /etc/modules-load.d/kvmgt.conf # Load specific kernel modules kvmgt and vfio-mdev, for Intel GVT-g and Nvidia
|
echo "kvmgt" > /etc/modules-load.d/kvmgt.conf # Load specific kernel modules kvmgt and vfio-mdev, for Intel GVT-g and Nvidia
|
||||||
echo "vfio-mdev" > /etc/modules-load.d/vfio-mdev.conf # Load specific kernel modules kvmgt and vfio-mdev, for Intel GVT-g and Nvidia
|
echo "vfio-mdev" > /etc/modules-load.d/vfio-mdev.conf # Load specific kernel modules kvmgt and vfio-mdev, for Intel GVT-g and Nvidia
|
||||||
|
|
||||||
dracut --force # Regenerate initramfs
|
# dracut --force # Regenerate initramfs
|
||||||
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub
|
# grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub
|
||||||
|
|
||||||
%end # End of the %post section
|
%end # End of the %post section
|
Loading…
Reference in New Issue
Block a user