diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py index 6965d6ae202..d3ef2205098 100644 --- a/pyanaconda/bootloader.py +++ b/pyanaconda/bootloader.py @@ -1973,12 +1973,15 @@ def write_config_header(self, config): def write_config_images(self, config): for image in self.images: + root_args = 'root=' + image.device.fstab_spec + if image.device.type == "btrfs subvolume": + root_args += " rootflags=subvol=%s" % image.device.name config.write("\n") config.write("[{}]\n".format(image.version)) config.write("options=loglvl=all dom0_mem=min:1024M dom0_mem=max:4096M iommu=no-igfx\n") - config.write("kernel={} root={} {}\n".format( + config.write("kernel={} {} {}\n".format( image.kernel, - image.device.fstab_spec, + root_args, self.boot_args)) config.write("ramdisk={}\n".format(image.initrd))