Edited to remove oldest kernal or Ubuntu displayed

Bug #1511981 reported by JOHN
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Grub Customizer
New
Undecided
Unassigned

Bug Description

I just update Ubuntu and used Grub Customizer to remove the oldest version of Ubuntu on the display. I got this:
failed running 'grub-mkconfig -o "/boot/grub/grub.cfg"' output:
Generating grub configuration file ...
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6404: /usr/sbin/grub-probe
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6404: /usr/sbin/grub-probe
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6415: /usr/sbin/grub-probe
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6415: /usr/sbin/grub-probe
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6426: /usr/sbin/grub-probe
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6426: /usr/sbin/grub-probe
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6437: /usr/sbin/grub-probe
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6437: /usr/sbin/grub-probe
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6493: /usr/sbin/grub-probe
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6493: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-3.13.0-66-generic
Found initrd image: /boot/initrd.img-3.13.0-66-generic
Found linux image: /boot/vmlinuz-3.13.0-63-generic
Found initrd image: /boot/initrd.img-3.13.0-63-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found Windows 7 (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 7528: /usr/sbin/grub-probe
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 7528: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-3.13.0-66-generic
Found initrd image: /boot/initrd.img-3.13.0-66-generic
Found linux image: /boot/vmlinuz-3.13.0-63-generic
Found initrd image: /boot/initrd.img-3.13.0-63-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 7979: /usr/sbin/grub-probe
File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 7979: /usr/sbin/grub-probe
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 297
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub

John

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

I need your /boot/grub/grub.cfg

Revision history for this message
JOHN (jlumbtx) wrote : Re: [Bug 1511981] Re: Edited to remove oldest kernal or Ubuntu displayed
Download full text (3.3 KiB)

I don't know what /boot/grub/grub.cfg is.
John

     On Saturday, October 31, 2015 3:04 PM, Daniel Richter <email address hidden> wrote:

 I need your /boot/grub/grub.cfg

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1511981

Title:
  Edited to remove oldest kernal or Ubuntu displayed

Status in Grub Customizer:
  New

Bug description:
  I just update Ubuntu and used Grub Customizer to remove the oldest version of Ubuntu on the display.  I got this:
  failed running 'grub-mkconfig -o "/boot/grub/grub.cfg"' output:
  Generating grub configuration file ...
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6404: /usr/sbin/grub-probe
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6404: /usr/sbin/grub-probe
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6415: /usr/sbin/grub-probe
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6415: /usr/sbin/grub-probe
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6426: /usr/sbin/grub-probe
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6426: /usr/sbin/grub-probe
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6437: /usr/sbin/grub-probe
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6437: /usr/sbin/grub-probe
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6493: /usr/sbin/grub-probe
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 6493: /usr/sbin/grub-probe
  Found linux image: /boot/vmlinuz-3.13.0-66-generic
  Found initrd image: /boot/initrd.img-3.13.0-66-generic
  Found linux image: /boot/vmlinuz-3.13.0-63-generic
  Found initrd image: /boot/initrd.img-3.13.0-63-generic
  Found linux image: /boot/vmlinuz-3.13.0-24-generic
  Found initrd image: /boot/initrd.img-3.13.0-24-generic
  Found Windows 7 (loader) on /dev/sda1
  Found Windows 7 (loader) on /dev/sda2
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 7528: /usr/sbin/grub-probe
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 7528: /usr/sbin/grub-probe
  Found linux image: /boot/vmlinuz-3.13.0-66-generic
  Found initrd image: /boot/initrd.img-3.13.0-66-generic
  Found linux image: /boot/vmlinuz-3.13.0-63-generic
  Found initrd image: /boot/initrd.img-3.13.0-63-generic
  Found linux image: /boot/vmlinuz-3.13.0-24-generic
  Found initrd image: /boot/initrd.img-3.13.0-24-generic
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 7979: /usr/sbin/grub-probe
  File descriptor 11 (/proc/2474/mounts) leaked on vgs invocation. Parent PID 7979: /usr/sbin/grub-probe
  Found memtest86+ image: /memtest86+.elf
  Found memtest86+ image: /memtest86+.bin
  Found Windows 7 (loader) on /dev/sda1
  Found Windows 7 (loader) on /dev/sda2
  error: syntax error.
  error: Incorrect command.
  error: syntax error.
  Syntax error at line 297
  Syntax errors are detected in generated GRUB config file.
  Ensure that there ar...

Read more...

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

It's a path to a file on your file system.

However I have to correct. I need your /boot/grub/grub.cfg.new

Just open this file and copy the contents here.

gedit /boot/grub/grub.cfg.new

Is one way to open it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.