diff --git a/booty/x86.py b/booty/x86.py index 89d6393..4e37425 100644 --- a/booty/x86.py +++ b/booty/x86.py @@ -347,6 +347,16 @@ class x86BootloaderInfo(efiBootloaderInfo): f.write(' %s' % self.args.get()) f.write('\n') + if initrd: + f.write('\tmodule %s%s\n' % (cfPath, initrd)) + elif version.find("xenlinux") >= 0: + # Qubes kernel + hvFile = "%sxen.gz" %(cfPath) + f.write('\tkernel %s\n' %(hvFile,)) + f.write('\tmodule %s ro%s' %(kernelFile, realroot)) + if self.args.get(): + f.write(' %s' % self.args.get()) + f.write('\n') if initrd: f.write('\tmodule %s%s\n' % (cfPath, initrd)) else: # normal kernel