Monday, October 30, 2017

FIX Dependency failed for /dev/disk/by SWAP

small receipt 4 fixing this annoying error
bla bla bla ...
Dependency failed for /dev/disk/by

in stead of going the full history of what happen ill get to the point this is the most easy way i found


  1. its a VM and configure it to boot an iso in my case hirens
  2. then i pick parted magig
  3. use gparted and delete the swap partition who's causing the problem
  4. remake the swap partitions (apply)
  5. format to swap (apply)
  6. get the UUID
  7. mount RW the partition that holds the /etc 
  8. open /etc/fstab
  9. match UUID from gparted to the one for swap on fstab
  10. reboot 
  11. Done
if this does not work then keep searching :) no bad karma this is what it worked for me