Q:

How to delete a base map in GRASS?

I'm trying to delete a map that I used as a mask before, but I cannot delete it using g.remove. It displays this:
g.remove rast=raster_Mnorzagaray@PERMANENT
[raster_Mnorzagaray@PERMANENT@PERMANENT] is a base map. Remove reclassed map first: MASK@PERMANENT

A:

there is another map that uses that one as base map, it maybe a RGB composition or something like it. If you don't find what it is, just delete the map from the grassdata directory, you will find it in cell, cell_misc and cellhd folders in grassdata\location\mapset\.

A:

The command [g.remove][1] with flag -b can be used to remove base maps.

