Help With etc/default/grub

Hello, I recently had to reinstall another distro.When I did that it somehow disconnect Mageia from /swap.I noticed long boot times and no swap when I ran Gparted.I edited my fstab file and that got Mageia mounting swap again but I am having trouble with etc/default/grub.Maybe I am using the wrong procedure, I may have an error in the editing of line 1 of etc/default/grub.I changed the UUID there in an attempt to fix swap and now when i run update-grub I get " /etc/default/grub: line 1: GRUB_CMDLINE_LINUX_DEFAULT=nokmsboot splash quiet noiswmd resume=UUID=78ce7bba-22fa-48dd-ac94-5e9cfa16fa03 audit=0: command not found ". The 78cxxxxxxxx UUID is the edit I put in to point Mageia back to swap, it was 70xxxxxxxxxxx. Here is my current etc/default/grub, dfoes anyone see an error in the syntax of line 1 ;
Your help would be greatly appreciated.
- Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="nokmsboot splash quiet noiswmd resume=UUID=78ce7bba-22fa-48dd-ac94-5e9cfa16fa03 audit=0"
GRUB_DEFAULT=saved
GRUB_DISABLE_OS_PROBER=false
GRUB_DISABLE_RECOVERY=false
GRUB_DISABLE_SUBMENU=n
GRUB_DISTRIBUTOR=Mageia
GRUB_ENABLE_CRYPTODISK=y
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=auto
GRUB_SAVEDEFAULT=true
GRUB_TERMINAL_OUTPUT=gfxterm
GRUB_THEME=/boot/grub2/themes/maggy/theme.txt
GRUB_TIMEOUT=10
Your help would be greatly appreciated.