Choose style:

Author Topic: Warning after a GRUB update(9.03.17)  (Read 852 times)

0 Members and 1 Guest are viewing this topic.

Offline Pikolo

  • Trusted User
  • Member
  • *****
  • Posts: 138
  • Karma: 25
    • View Profile
  • Peppermint version(s): 8
Warning after a GRUB update(9.03.17)
« on: March 09, 2017, 12:23:23 pm »
As in the title, I got a warning after an update:

"The configuartion of the file etc/grub.d/10_linux was modified by you or a script". Changelog:
Code: [Select]
--- /etc/grub.d/10_linux	2017-03-07 21:59:56.165908859 +0000
+++ /etc/grub.d/10_linux.dpkg-new 2017-03-01 21:01:02.000000000 +0000
@@ -39,7 +39,7 @@
 else
   case ${GRUB_DISTRIBUTOR} in
     Ubuntu|Kubuntu)
-      OS="Peppermint GNU/Linux"
+      OS="${GRUB_DISTRIBUTOR}"
       ;;
     *)
       OS="${GRUB_DISTRIBUTOR} GNU/Linux"
@@ -177,11 +177,17 @@
  linux ${rel_dirname}/${basename}.efi.signed root=${linux_root_device_thisversion} ro ${args}
 EOF
   else
-    sed "s/^/$submenu_indentation/" << EOF
- linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
+    if [ x"$GRUB_FORCE_PARTUUID" = x ]; then
+        sed "s/^/$submenu_indentation/" << EOF
+        linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
+EOF
+    else
+        sed "s/^/$submenu_indentation/" << EOF
+        linux ${rel_dirname}/${basename} root=PARTUUID=${GRUB_FORCE_PARTUUID} ro ${args}
 EOF
+    fi
   fi
-  if test -n "${initrd}" ; then
+  if test -n "${initrd}" && [ x"$GRUB_DISABLE_INITRD" != xtrue ]; then
     # TRANSLATORS: ramdisk isn't identifier. Should be translated.
     if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
       message="$(gettext_printf "Loading initial ramdisk ...")"
It gives me an option to keep the old version of the new one. Should I just approve it? Never seen such a warning before

Offline mac

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Warning after a GRUB update(9.03.17)
« Reply #1 on: March 09, 2017, 12:30:22 pm »
This doesn't exactly answer your questions but I allowed the new version, considering it just a part of the evolution of grub.  No problems thus far although I did run update-grub afterwards just to be on the safe side (probably not necessary). 

cheers
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26082
  • Karma: 2842
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Warning after a GRUB update(9.03.17)
« Reply #2 on: March 09, 2017, 02:50:55 pm »
Yeah let it have the new version.

It's shouldn't do any harm whichever version you choose.
« Last Edit: March 09, 2017, 02:54:51 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Pikolo

  • Trusted User
  • Member
  • *****
  • Posts: 138
  • Karma: 25
    • View Profile
  • Peppermint version(s): 8
Re: Warning after a GRUB update(9.03.17)
« Reply #3 on: March 09, 2017, 05:18:26 pm »
Thank you for answering!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26082
  • Karma: 2842
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Warning after a GRUB update(9.03.17)
« Reply #4 on: March 09, 2017, 05:36:27 pm »
For my part, you're most welcome Pikolo :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline mac

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: Warning after a GRUB update(9.03.17)
« Reply #5 on: March 09, 2017, 05:52:25 pm »
Ditto!
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835