Grub 2.02 beta on 14.04 doesn't work properly

Asked by smurf

I recently upgraded from 12.04 to 14.04, Gnome FlashBack, almost everything is ok, but Grub is a nightmare.
I have a separate partition for /boot (/dev/sda1) because I always have a partition with installed the system working (now /dev/sda2) and another partition with an experimental installation (now /dev/sda3), when I decide that the new installation is ok I simply change grub.cfg script and my family automatically use the new system without to sense the change.
Upgrading to 14.04 carried the new grub version 2.02-beta, but there is no way for me to put it to work. After a fresh install of Grub I reboot and the grub crash to a grub rescue> prompt.
The solution I found now is to mix the contents of old install of grub and the new install of grub, the system gives me some error: file not found messages, but boots.
Now, my questions:
1) how can I get a functioning install of Grub 2.02 ?
2) why I receive a message "Hit any key to continue " when booting the new kernels for 14.04?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
smurf
Solved:
Last query:
Last reply:
Revision history for this message
smurf (luca-dgh) said :
#1

This is the grub.cfg

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41
else
  search --no-floppy --fs-uuid --set=root b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=es_PE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
 set gfxpayload="${1}"
 if [ "${1}" = "keep" ]; then
  set vt_handoff=vt.handoff=7
 else
  set vt_handoff=
 fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
 recordfail
 load_video
 gfxmode $linux_gfx_mode
 insmod gzio
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 else
   search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 fi
 linux /vmlinuz-3.19.0-42-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro quiet splash $vt_handoff
 initrd /initrd.img-3.19.0-42-generic
}
submenu 'Opciones avanzadas para Ubuntu' $menuentry_id_option 'gnulinux-advanced-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
 menuentry 'Ubuntu, con Linux 3.19.0-42-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-42-generic-advanced-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.19.0-42-generic ...'
  linux /vmlinuz-3.19.0-42-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro quiet splash $vt_handoff
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.19.0-42-generic
 }
 menuentry 'Ubuntu, with Linux 3.19.0-42-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-42-generic-recovery-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.19.0-42-generic ...'
  linux /vmlinuz-3.19.0-42-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro recovery nomodeset
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.19.0-42-generic
 }
 menuentry 'Ubuntu, con Linux 3.16.0-57-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-57-generic-advanced-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.16.0-57-generic ...'
  linux /vmlinuz-3.16.0-57-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro quiet splash $vt_handoff
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.16.0-57-generic
 }
 menuentry 'Ubuntu, with Linux 3.16.0-57-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-57-generic-recovery-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.16.0-57-generic ...'
  linux /vmlinuz-3.16.0-57-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro recovery nomodeset
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.16.0-57-generic
 }
 menuentry 'Ubuntu, con Linux 3.13.0-71-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-71-generic-advanced-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.13.0-71-generic ...'
  linux /vmlinuz-3.13.0-71-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro quiet splash $vt_handoff
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.13.0-71-generic
 }
 menuentry 'Ubuntu, with Linux 3.13.0-71-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-71-generic-recovery-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.13.0-71-generic ...'
  linux /vmlinuz-3.13.0-71-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro recovery nomodeset
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.13.0-71-generic
 }
 menuentry 'Ubuntu, con Linux 3.2.0-95-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-95-generic-advanced-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.2.0-95-generic ...'
  linux /vmlinuz-3.2.0-95-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro quiet splash $vt_handoff
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.2.0-95-generic
 }
 menuentry 'Ubuntu, with Linux 3.2.0-95-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-95-generic-recovery-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.2.0-95-generic ...'
  linux /vmlinuz-3.2.0-95-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro recovery nomodeset
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.2.0-95-generic
 }
 menuentry 'Ubuntu, con Linux 3.2.0-94-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-94-generic-advanced-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.2.0-94-generic ...'
  linux /vmlinuz-3.2.0-94-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro quiet splash $vt_handoff
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.2.0-94-generic
 }
 menuentry 'Ubuntu, with Linux 3.2.0-94-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-94-generic-recovery-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.2.0-94-generic ...'
  linux /vmlinuz-3.2.0-94-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro recovery nomodeset
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.2.0-94-generic
 }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-a2b476c2-a487-4562-88b1-1a139a1dde55' {
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 else
   search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 fi
 linux /vmlinuz-3.13.0-71-generic root=/dev/sda2
 initrd /initrd.img-3.13.0-71-generic
}
submenu 'Opciones avanzadas para Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-a2b476c2-a487-4562-88b1-1a139a1dde55' {
 menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.13.0-71-generic--a2b476c2-a487-4562-88b1-1a139a1dde55' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.13.0-71-generic root=/dev/sda2
  initrd /initrd.img-3.13.0-71-generic
 }
 menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.16.0-57-generic--a2b476c2-a487-4562-88b1-1a139a1dde55' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.16.0-57-generic root=/dev/sda2
  initrd /initrd.img-3.16.0-57-generic
 }
 menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.19.0-42-generic--a2b476c2-a487-4562-88b1-1a139a1dde55' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.19.0-42-generic root=/dev/sda2
  initrd /initrd.img-3.19.0-42-generic
 }
 menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.2.0-94-generic--a2b476c2-a487-4562-88b1-1a139a1dde55' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.2.0-94-generic root=/dev/sda2
  initrd /initrd.img-3.2.0-94-generic
 }
 menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.2.0-95-generic--a2b476c2-a487-4562-88b1-1a139a1dde55' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.2.0-95-generic root=/dev/sda2
  initrd /initrd.img-3.2.0-95-generic
 }
}

menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sdd1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-006897e0-277e-477a-96b3-beee3d8aedf2' {
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 else
   search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 fi
 linux /vmlinuz-3.13.0-71-generic root=/dev/sdd1
 initrd /initrd.img-3.13.0-71-generic
}
submenu 'Opciones avanzadas para Ubuntu 12.04.5 LTS (12.04) (en /dev/sdd1)' $menuentry_id_option 'osprober-gnulinux-advanced-006897e0-277e-477a-96b3-beee3d8aedf2' {
 menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sdd1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.13.0-71-generic--006897e0-277e-477a-96b3-beee3d8aedf2' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.13.0-71-generic root=/dev/sdd1
  initrd /initrd.img-3.13.0-71-generic
 }
 menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sdd1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.16.0-57-generic--006897e0-277e-477a-96b3-beee3d8aedf2' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.16.0-57-generic root=/dev/sdd1
  initrd /initrd.img-3.16.0-57-generic
 }
 menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sdd1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.19.0-42-generic--006897e0-277e-477a-96b3-beee3d8aedf2' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.19.0-42-generic root=/dev/sdd1
  initrd /initrd.img-3.19.0-42-generic
 }
 menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sdd1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.2.0-94-generic--006897e0-277e-477a-96b3-beee3d8aedf2' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.2.0-94-generic root=/dev/sdd1
  initrd /initrd.img-3.2.0-94-generic
 }
 menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sdd1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.2.0-95-generic--006897e0-277e-477a-96b3-beee3d8aedf2' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.2.0-95-generic root=/dev/sdd1
  initrd /initrd.img-3.2.0-95-generic
 }
}

menuentry 'Ubuntu 14.04.3 LTS (14.04) (en /dev/sdd2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-ad7c1db2-b7af-4968-bed6-e8fc86f36e60' {
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 else
   search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 fi
 linux /vmlinuz-3.13.0-71-generic root=/dev/sdd2
 initrd /initrd.img-3.13.0-71-generic
}
submenu 'Opciones avanzadas para Ubuntu 14.04.3 LTS (14.04) (en /dev/sdd2)' $menuentry_id_option 'osprober-gnulinux-advanced-ad7c1db2-b7af-4968-bed6-e8fc86f36e60' {
 menuentry 'Ubuntu 14.04.3 LTS (14.04) (en /dev/sdd2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.13.0-71-generic--ad7c1db2-b7af-4968-bed6-e8fc86f36e60' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.13.0-71-generic root=/dev/sdd2
  initrd /initrd.img-3.13.0-71-generic
 }
 menuentry 'Ubuntu 14.04.3 LTS (14.04) (en /dev/sdd2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.16.0-57-generic--ad7c1db2-b7af-4968-bed6-e8fc86f36e60' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.16.0-57-generic root=/dev/sdd2
  initrd /initrd.img-3.16.0-57-generic
 }
 menuentry 'Ubuntu 14.04.3 LTS (14.04) (en /dev/sdd2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.19.0-42-generic--ad7c1db2-b7af-4968-bed6-e8fc86f36e60' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.19.0-42-generic root=/dev/sdd2
  initrd /initrd.img-3.19.0-42-generic
 }
 menuentry 'Ubuntu 14.04.3 LTS (14.04) (en /dev/sdd2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.2.0-94-generic--ad7c1db2-b7af-4968-bed6-e8fc86f36e60' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.2.0-94-generic root=/dev/sdd2
  initrd /initrd.img-3.2.0-94-generic
 }
 menuentry 'Ubuntu 14.04.3 LTS (14.04) (en /dev/sdd2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.2.0-95-generic--ad7c1db2-b7af-4968-bed6-e8fc86f36e60' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.2.0-95-generic root=/dev/sdd2
  initrd /initrd.img-3.2.0-95-generic
 }
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

Revision history for this message
smurf (luca-dgh) said :
#2

this is the content of /boot

luca@pc-sala:~$ ls /boot
abi-3.13.0-71-generic config-3.2.0-94-generic lost+found System.map-3.2.0-95-generic
abi-3.16.0-57-generic config-3.2.0-95-generic memtest86+.bin vmlinuz-3.13.0-71-generic
abi-3.19.0-42-generic grub memtest86+.elf vmlinuz-3.16.0-57-generic
abi-3.2.0-94-generic initrd.img-3.13.0-71-generic memtest86+_multiboot.bin vmlinuz-3.19.0-42-generic
abi-3.2.0-95-generic initrd.img-3.16.0-57-generic System.map-3.13.0-71-generic vmlinuz-3.2.0-94-generic
config-3.13.0-71-generic initrd.img-3.19.0-42-generic System.map-3.16.0-57-generic vmlinuz-3.2.0-95-generic
config-3.16.0-57-generic initrd.img-3.2.0-94-generic System.map-3.19.0-42-generic
config-3.19.0-42-generic initrd.img-3.2.0-95-generic System.map-3.2.0-94-generic
luca@pc-sala:~$ ls /boot/grub
fonts gfxblacklist.txt grub.cfg grubenv i386-pc locale unicode.pf2
luca@pc-sala:~$ ls /boot/grub/fonts
unicode.pf2
luca@pc-sala:~$ ls /boot/grub/locale/
en_AU.mo en_CA.mo en_GB.mo es.mo it.mo
luca@pc-sala:~$ ls /boot/grub/i386-pc/
915resolution.mod efiemu.mod http.mod offsetio.mod squash4.mod
acpi.mod ehci.mod hwmatch.mod ohci.mod syslinuxcfg.mod
adler32.mod elf.mod iorw.mod part_acorn.mod tar.mod
affs.mod eval.mod iso9660.mod part_amiga.mod terminal.lst
afs.mod exfat.mod jfs.mod part_apple.mod terminal.mod
ahci.mod exfctest.mod jpeg.mod part_bsd.mod terminfo.mod
all_video.mod ext2.mod keylayouts.mod part_dfly.mod test_blockarg.mod
aout.mod extcmd.mod keystatus.mod part_dvh.mod testload.mod
archelp.mod fat.mod ldm.mod part_gpt.mod test.mod
ata.mod file.mod legacycfg.mod partmap.lst testspeed.mod
at_keyboard.mod font.mod legacy_password_test.mod part_msdos.mod tftp.mod
backtrace.mod freedos.mod linux16.mod part_plan.mod tga.mod
bfs.mod fshelp.mod linux.mod part_sun.mod time.mod
biosdisk.mod fs.lst loadenv.mod part_sunpc.mod trig.mod
bitmap.mod functional_test.mod loopback.mod parttool.lst tr.mod
bitmap_scale.mod gcry_arcfour.mod lsacpi.mod parttool.mod truecrypt.mod
blocklist.mod gcry_blowfish.mod lsapm.mod password.mod true.mod
boot.img gcry_camellia.mod lsmmap.mod password_pbkdf2.mod udf.mod
boot.mod gcry_cast5.mod ls.mod pata.mod ufs1_be.mod
bsd.mod gcry_crc.mod lspci.mod pbkdf2.mod ufs1.mod
btrfs.mod gcry_des.mod luks.mod pbkdf2_test.mod ufs2.mod
bufio.mod gcry_dsa.mod lvm.mod pcidump.mod uhci.mod
cat.mod gcry_idea.mod lzopio.mod pci.mod usb_keyboard.mod
cbfs.mod gcry_md4.mod macbless.mod plan9.mod usb.mod
cbls.mod gcry_md5.mod macho.mod play.mod usbms.mod
cbmemc.mod gcry_rfc2268.mod mda_text.mod png.mod usbserial_common.mod
cbtable.mod gcry_rijndael.mod mdraid09_be.mod priority_queue.mod usbserial_ftdi.mod
cbtime.mod gcry_rmd160.mod mdraid09.mod probe.mod usbserial_pl2303.mod
chain.mod gcry_rsa.mod mdraid1x.mod procfs.mod usbserial_usbdebug.mod
cmdline_cat_test.mod gcry_seed.mod memdisk.mod progress.mod usbtest.mod
cmosdump.mod gcry_serpent.mod memrw.mod pxechain.mod vbe.mod
cmostest.mod gcry_sha1.mod minicmd.mod pxe.mod verify.mod
cmp.mod gcry_sha256.mod minix2_be.mod raid5rec.mod vga.mod
command.lst gcry_sha512.mod minix2.mod raid6rec.mod vga_text.mod
configfile.mod gcry_tiger.mod minix3_be.mod read.mod video_bochs.mod
core.img gcry_twofish.mod minix3.mod reboot.mod video_cirrus.mod
cpio_be.mod gcry_whirlpool.mod minix_be.mod regexp.mod video_colors.mod
cpio.mod gdb.mod minix.mod reiserfs.mod video_fb.mod
cpuid.mod geli.mod mmap.mod relocator.mod videoinfo.mod
crc64.mod gettext.mod moddep.lst romfs.mod video.lst
cryptodisk.mod gfxmenu.mod modinfo.sh scsi.mod video.mod
crypto.lst gfxterm_background.mod morse.mod search_fs_file.mod videotest_checksum.mod
crypto.mod gfxterm_menu.mod mpi.mod search_fs_uuid.mod videotest.mod
cs5536.mod gfxterm.mod msdospart.mod search_label.mod xfs.mod
datehook.mod gptsync.mod multiboot2.mod search.mod xnu.mod
date.mod gzio.mod multiboot.mod sendkey.mod xnu_uuid.mod
datetime.mod halt.mod nativedisk.mod serial.mod xnu_uuid_test.mod
diskfilter.mod hashsum.mod net.mod setjmp.mod xzio.mod
disk.mod hdparm.mod newc.mod setjmp_test.mod zfscrypt.mod
div_test.mod hello.mod nilfs2.mod setpci.mod zfsinfo.mod
dm_nv.mod help.mod normal.mod sfs.mod zfs.mod
drivemap.mod hexdump.mod ntfscomp.mod signature_test.mod
echo.mod hfs.mod ntfs.mod sleep.mod
efiemu32.o hfspluscomp.mod ntldr.mod sleep_test.mod
efiemu64.o hfsplus.mod odc.mod spkmodem.mod
luca@pc-sala:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

If you boot to live CD / USB you can chroot to the installed OS. You can then uninstall some of the old unused kernels and free space up in /boot as well as the OS itself. This can help.

Revision history for this message
smurf (luca-dgh) said :
#4

yes, I already do that, now I have only 3 kernels, but the result is the same. A fresh install of grub doesn't work.
What I posted is the situation after a fresh install, the number of kernels doesn't fix the problem.

Revision history for this message
smurf (luca-dgh) said :
#5

That is all?
I'm presenting a serious problem that can definitively block a system and the only answer I receive is that I could remove some kernels to free space on /boot partition.
There is something wrong, I think.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

Some ideas:

1. Try re-installing grub to the disk
Boot into your system and execute
sudo grub-install /dev/sda
sudo update-grub

2. Check whether the disk UUIDs are correct in your fstab file
Compare the UUIDs in /etc/fstab with the output of sudo blkid to make sure that the references in the fstab file are correct.

Revision history for this message
smurf (luca-dgh) said :
#7

1) I said in the first post that if I install grub form scratch (I mean in a empty partition) I can't boot my system because the Grub crash and fall down to a grub-rescue prompt. So I can't apply the tip.

2) The check of the UUID is the first thing I made, and they are definitively correct, because the system now works, and the only way to put it at work was to fill up the /boot directory with the contents of the grub 1.99 /boot directory.

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

Do I understand this correct:
You have an Ubuntu 12.04 installation on /dev/sda2
You have an Ubuntu 14.04 installation on /dev/sda3
(some additional systems on /dev/sddx)
Both sda2 and sda3 systems mount /dev/sda1 as their /boot directory?

Which version of grub/grub2 do you have on the sda2 system, and which one on sda3?
If you have grub on one system, and grub2 on the other one, then this cannot be working, because the files are in conflict with each other.

Maybe converting also the 12.04 system from grub to grub2 provides a working solution.

Revision history for this message
smurf (luca-dgh) said :
#9

Yes, I have Ubuntu 12.04 on /dev/sda2, Ubuntu 14.04 on /dev/sda3, /boot on /dev/sda1, no other system installed, all the redundant entries in the grub.cfg are always the same repetition of the above, in the moment I take the data attached to the 1st post there were more kernels installed, all related to the 14.04, the 12.04 has only one kernel 3.2.0-95.
Actually that is another issue with grub, that repeat all the kernels for each disk he finds on the system.
When I upgraded to 14.04 the old grub 1.99 has been automatically uninstalled, to install the new 2.02-beta, but that was a mess because the system could not reboot, at reboot I found the grub-rescue> prompt.
After that I restored the previous Grub 1.99 install from my security back-up (using a 12.04 live CD).
After I rebooted the system with 14.04 and I tried to uninstall everything from /boot (except the files related with kernels), I uninstalled also the grub from MBR, during uninstall I received a dialog box asking me if I wish to uninstall grub from MBR.
With the /boot cleaned I made a new install on grub 2.02-beta from 14.04 and rebooted the system.
Once more I got the grub-rescue> prompt. As before, I could boot the system using the files back-upped.
To be sure I made once more time all the process, uninstalled, cleaned and reinstalled. No way, I always got the grub-rescue> prompt.
At the moment the grub installed in the MBR and /boot is 2.02-beta, but in the /boot directory I copied all the files I found in the grub 1.99 /boot. In this way the system can boot, even if I can see some "error: file not found" messages.

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

How do you create your grub,cfg file?

Revision history for this message
smurf (luca-dgh) said :
#11

automatically.
it has been created during installation of grub 2.02-beta

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

What you are writing is somewhat contradictory.

On the one hand you state that there are no other OSes besides those on sda2 and sda3, but then grub(2) creates grub.cfg entries for OSes on sdd1 and sdd2

I can only repeat that using the same /boot partition (sda3) for an Ubuntu 12.04 and an Ubuntu 14.04 installation is supposed to create problems - and in my opinion is not in line with the concepts of grub

I already asked two days ago
Which version of grub/grub2 do you have on the sda2 system, and which one on sda3?

Revision history for this message
smurf (luca-dgh) said :
#13

My system has only 2 OSes:
Precise 12.04 on /dev/sda2
Trusty 14.04 on /dev/sda3

/dev/sddx is an external usb disk that I use for backup copies, in that disk I have 2 partitions with the copy of the 2 systems. To make the copies I do a sync between the sdax partition and the sddx partition, so the backup is a readable copy of the base installation. Probably this is the reason because grub includes that in the .cfg file, but it should be desirable that the installation procedure asks to the user if he wants to select the lines to introduce in the .cfg .

Presently in 12.04 there is no grub installed, the only grub installed is the 2.02-beta in 14.04 . The fact is that the 2.02-beta is not working because at boot it crashes, to make it boot I copied in the /boot/grub directory the files that I found in the grub 1.99 installation, but I didn't change the MBR, I only copied those files (a lot of them have .mod suffix), after that I found more or less the same files in the i386-pc folder of the grub 2.02-beta.

Now, if you think that is useful, tomorrow (saturday 1/1/2016) I will uninstall once more everything, redo a fresh installation of grub 2.02-beta (this time with only 2 kernels and I will switch off the external disk).
If the grub crashes again I will copy the content of the /boot/grub/i386-pc directory to the /boot/grub directory and check what happens.
If it will works is evident that grub, under specified conditions that occurs in my system, look for his files in the wrong place.
Do you agree?

Revision history for this message
Manfred Hampl (m-hampl) said :
#14

update-grub searches all connected media for operating systems. So it is clear that it will create entries for the backup copies on sddx if the backup disk is connected during running this command.

If you boot into Ubuntu 12.04 on sda2 and run the commands

uname -a
lsb_release -crid
dpkg -l | grep grub

what output do you get?

And what output do you get for the same commands when run on Ubuntu 14.04 on sda3?

The command grub-install should move the files to the right location in the /boot directory tree. So I do not understand what you expect to gain by moving files around.

Revision history for this message
smurf (luca-dgh) said :
#15

I found the mess.
During installation a dialog box asks where to install the boot-loader, there are a lot of choices and I choose the wrong entry /dev/sda1 (the partition of /boot), this time I marked both /dev/sda (the disk) and /dev/sda1, now everything is working.
Here the outputs you asked me:

For 12.04
luca@pc-sala:~$ uname -a
Linux pc-sala 3.2.0-95-generic #135-Ubuntu SMP Tue Nov 10 13:33:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

luca@pc-sala:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise

luca@pc-sala:~$ dpkg -l | grep grub
rc grub-pc 1.99-21ubuntu3.19 GRand Unified Bootloader, version 2 (PC/BIOS version)

For 14.04
luca@pc-sala:~$ uname -a
Linux pc-sala 3.16.0-57-generic #77~14.04.1-Ubuntu SMP Thu Dec 17 23:20:00 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

luca@pc-sala:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty

luca@pc-sala:~$ dpkg -l | grep grub
ii grub-common 2.02~beta2-9ubuntu1.6 amd64 GRand Unified Bootloader (common files)
ii grub-customizer 4.0.6-0ubuntu1~ppa1t amd64 Grub Customizer - A graphical Grub2/BURG configuration application
ii grub-gfxpayload-lists 0.6 amd64 GRUB gfxpayload blacklist
ii grub-pc 2.02~beta2-9ubuntu1.6 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 2.02~beta2-9ubuntu1.6 amd64 GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii grub2-common 2.02~beta2-9ubuntu1.6 amd64 GRand Unified Bootloader (common files for version 2)

It is strange that in 12.04, dpkg -l output shows an entry for grub 1.99, but in synaptic nothing is installed (if you want I can send you a snapshot to prove it).

////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Anyway it rests a little problem with the grub.cfg entries automatically generated during install, here the grub.cfg generated, you can see that the entries are repeated for both systems and most of the entries generated for 12.04 uses the wrong kernel 3.16.0-57:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41
else
  search --no-floppy --fs-uuid --set=root b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=es_PE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
 set gfxpayload="${1}"
 if [ "${1}" = "keep" ]; then
  set vt_handoff=vt.handoff=7
 else
  set vt_handoff=
 fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
 recordfail
 load_video
 gfxmode $linux_gfx_mode
 insmod gzio
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 else
   search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 fi
 linux /vmlinuz-3.16.0-57-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro quiet splash $vt_handoff
 initrd /initrd.img-3.16.0-57-generic
}
submenu 'Opciones avanzadas para Ubuntu' $menuentry_id_option 'gnulinux-advanced-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
 menuentry 'Ubuntu, con Linux 3.16.0-57-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-57-generic-advanced-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.16.0-57-generic ...'
  linux /vmlinuz-3.16.0-57-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro quiet splash $vt_handoff
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.16.0-57-generic
 }
 menuentry 'Ubuntu, with Linux 3.16.0-57-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-57-generic-recovery-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.16.0-57-generic ...'
  linux /vmlinuz-3.16.0-57-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro recovery nomodeset
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.16.0-57-generic
 }
 menuentry 'Ubuntu, con Linux 3.2.0-95-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-95-generic-advanced-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.2.0-95-generic ...'
  linux /vmlinuz-3.2.0-95-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro quiet splash $vt_handoff
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.2.0-95-generic
 }
 menuentry 'Ubuntu, with Linux 3.2.0-95-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-95-generic-recovery-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.2.0-95-generic ...'
  linux /vmlinuz-3.2.0-95-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro recovery nomodeset
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.2.0-95-generic
 }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_linux_proxy ###
function gfxmode {
 set gfxpayload="${1}"
 if [ "${1}" = "keep" ]; then
  set vt_handoff=vt.handoff=7
 else
  set vt_handoff=
 fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode

### END /etc/grub.d/10_linux_proxy ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-a2b476c2-a487-4562-88b1-1a139a1dde55' {
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 else
   search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 fi
 linux /vmlinuz-3.16.0-57-generic root=/dev/sda2
 initrd /initrd.img-3.16.0-57-generic
}
submenu 'Opciones avanzadas para Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-a2b476c2-a487-4562-88b1-1a139a1dde55' {
 menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.16.0-57-generic--a2b476c2-a487-4562-88b1-1a139a1dde55' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.16.0-57-generic root=/dev/sda2
  initrd /initrd.img-3.16.0-57-generic
 }
 menuentry 'Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.2.0-95-generic--a2b476c2-a487-4562-88b1-1a139a1dde55' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.2.0-95-generic root=/dev/sda2
  initrd /initrd.img-3.2.0-95-generic
 }
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_os-prober_proxy ###

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
menuentry "Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-a2b476c2-a487-4562-88b1-1a139a1dde55' {
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 else
   search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
 fi
 linux /vmlinuz-3.16.0-57-generic root=/dev/sda2
 initrd /initrd.img-3.16.0-57-generic
}
menuentry "Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.16.0-57-generic--a2b476c2-a487-4562-88b1-1a139a1dde55' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.16.0-57-generic root=/dev/sda2
  initrd /initrd.img-3.16.0-57-generic
}
menuentry "Ubuntu 12.04.5 LTS (12.04) (en /dev/sda2)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.2.0-95-generic--a2b476c2-a487-4562-88b1-1a139a1dde55' {
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  linux /vmlinuz-3.2.0-95-generic root=/dev/sda2
  initrd /initrd.img-3.2.0-95-generic
}
submenu "experimental"{
menuentry "Ubuntu, con Linux 3.16.0-57-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-57-generic-advanced-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.16.0-57-generic ...'
  linux /vmlinuz-3.16.0-57-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro quiet splash $vt_handoff
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.16.0-57-generic
}
menuentry "Ubuntu, with Linux 3.16.0-57-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-57-generic-recovery-b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41' {
  recordfail
  load_video
  insmod gzio
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  else
    search --no-floppy --fs-uuid --set=root 2d9b6352-9be3-4cbe-9d6a-07b41ca0f7a6
  fi
  echo 'Cargando Linux 3.16.0-57-generic ...'
  linux /vmlinuz-3.16.0-57-generic root=UUID=b4c65dcc-ab6f-47f1-b0c0-d3d7e4320f41 ro recovery nomodeset
  echo 'Cargando el disco RAM inicial...'
  initrd /initrd.img-3.16.0-57-generic
}
}
### END /etc/grub.d/30_os-prober_proxy ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/32_uefi-firmware ###
### END /etc/grub.d/32_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

Revision history for this message
Manfred Hampl (m-hampl) said :
#16

Glad to read that you solved the main problem.

Some further explanations to your remaining open questions:
The double entries are created by having both /etc/grub.d/30_os-prober_proxy and /etc/grub.d/30_os-prober
As far as I know, Ubuntu grub provides only /etc/grub.d/30_os-prober, but Grub-Customizer adds /etc/grub.d/30_os-prober_proxy which in your case creates double entries. I am not familiar with the details of grub-customizer, and do not know what to recommend.

My explanation for the "Ubuntu 12.04 with 3.16.0-57 kernel" entries would be that grub sees that the Ubuntu 12.04 installation on /dev/sda2 uses /boot on /dev/sda1 and consequently creates entries for all kernels it finds there.

dpkg -l | grep grub on Ubuntu 12.04 giving
rc grub-pc 1.99-21ubuntu3.19 GRand Unified Bootloader, version 2 (PC/BIOS version)
tells that grub is no more installed on that system, but a configuration file is remaining from the previous installation (containing some information like the device where the grub boot loader is installed etc.)
If you want that to be deleted as well, issue the command
sudo dpkg --purge grub-pc
on the Ubuntu 12.04 system.

Revision history for this message
smurf (luca-dgh) said :
#17

Thanks for your explanations, just a bit more to understand:
1) I was using grub-customizer on 12.04, not on 14.04. How could affect this to the new installation?
2) Is it so uncommon to have the /boot on a separate partition? I ask that because I see that Grub is not prepared now for this kind of installation and never has been since 2005 when I started using Linux.
3) Is it absolutely safe to purge grub-pc in 12.04?

Thank you for your patience.

Revision history for this message
Manfred Hampl (m-hampl) said :
#18

1) No idea, I never used grub-customizer
2) it is uncommon to use the same /boot partition for two different Ubuntu installations with different releases
3) the grub-pc software is already deinstalled, it is just a remaining configuration file, that would be re-created by a new installation of that package if it is not present.

Revision history for this message
smurf (luca-dgh) said :
#19

2) it is uncommon to use the same /boot partition for two different Ubuntu installations with different releases

So, could you suggest me how to organize the stuff in order to have a partition with a "production" installation of ubuntu and another partition with an experimental partition?

Revision history for this message
Manfred Hampl (m-hampl) said :
#20

I recommend giving each system its own /boot area (either as separate partitions or as part of the / partitions).