Resolve device paths in kernel and initrd locations.