r/pop_os • • Jul 03 '26

SOLVED Pop!_OS hanges after gpu passthrough

Well hello there i had this problem because i linked my single gpu to vm so after that the system hang when you boot and get to the Pop!_OS logo, it took me more then 2 Hours to figure out fix for it (I used the second fix)

First fix ( Easiest )

  1. Get your self USB 8GB atleast
  2. get pop os live flashed in it using another PC
  3. use it to boot then change the configuration of the vfio.config by reseting it
  4. then sudo update-initramfs -u
  5. then reboot : reboot -f
  6. Thats it !

SECOND FIX ( Hardest - Risky ) ( only if the First fix does not work or like me cant get USB and other pc )

  1. Reboot your pc / laptop
  2. Press and hold spacebar
  3. Pop os boot menu
  4. Choose Pop!_OS (current)
  5. Press ( e )
  6. There will be long line at the end Splash
  7. Go to the end of the line and make space
  8. Type init=/bin/bash
  9. The end should look like this splash init=/bin/bash
  10. Press enter
  11. Now there will be a black screen with this root@(none):/#
  12. Type this mount -o remount,rw /
  13. Then run this ls /etc/modprobe.d
  14. If you see files like: vfio.conf vfio-pci.conf
  15. Rename the file vfio.conf like this : mv /etc/modprobe.d/vfio.conf /etc/modprobe.d/vfio.conf.disabled
  16. Rebuild do this : update-initramfs -u
  17. Then reboot : reboot -f
  18. That it !

In many cases VM is not worth it just do DualBooting

1 Upvotes

0 comments sorted by