diff --git a/mxgrub/mxgrub b/mxgrub/mxgrub index 4200bbd..d88b79c 100755 --- a/mxgrub/mxgrub +++ b/mxgrub/mxgrub @@ -360,7 +360,7 @@ sub cmd_reboot { my $image=label_to_image($chosen); -e "/boot/$image" or die "/boot/$image: no such file\n"; sys('sync'); - sys('kexec',"/boot/$image",'--reuse-cmdline','--initrd=/boot/grub/initramfs.igz'); + sys('kexec',"/boot/$image",'--initrd=/boot/grub/initramfs.igz',"--command-line=root=LABEL=root $KERNEL_PARAMETER"); } umask 022;