"If you want to convert the boundaries to rasterized lines instead of the area, you would first need to convert the boundaries to lines and then convert the vector lines to raster.

Also make sure that the computational region is correctly set (extents at least overlapping with the vector map and the desired resolution)."