support for configuring the root device path

Thanks to chapmanb <chapmanb@50mail.com>.