I wanted to install a package under /mnt/data folder to do that i have used this commnad
dnf --installroot=/mnt/data --releasever=/ install package_name
But this command create a whole new linux root folder structure inside /mnt/data folder. Now i want to undo that is there any way?