grub disapeared dual 14.04 / 17.04

Asked by Matias Fernandez

Hi, I had ubuntu14.04LTS running and installed ubuntu 17.04 making a partition. So I got 2 choices at startup. This worked fine until a couple of weeks. I assume after a 14.04 update, the initial menu (grub?) disapeared, and notebook starts directly on 14.04.

I tryed boot-repair with this result: GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again. Alternatively, you can retry after activating the [Separate /boot/efi partition:] option.

Things from there are too complicated in forums, I am not an expert, just a user.

Partitions are still there with all the content.

bootinfo from boot-repair: http://paste.ubuntu.com/25575784/

Hope someone can help. Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Matias Fernandez
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo update-grub

I suspect it will be an update in 17.10 because it isn't stable and isn't ready

Revision history for this message
Matias Fernandez (matiasfd) said :
#2

output:
mfd@mfd-Inspiron-3458:~$ sudo update-grub
[sudo] password for mfd:
Generando archivo de configuración grub...
Aviso: Ya no se permite establecer GRUB_TIMEOUT a un valor distinto de cero cuando GRUB_HIDDEN_TIMEOUT está activado.
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-129-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-129-generic
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-128-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-128-generic
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-125-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-125-generic
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-123-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-123-generic
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-121-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-121-generic
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-38-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-38-generic
Adding boot menu entry for EFI firmware configuration
hecho
 (spanish)

I think not a 17.10 update, because I was not booting from 17.10 since weeks.
I know it is not stable, but was strongly reccomended by developer of a sound software I am exploring (Tydalcycles).

Thank you!

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

What is the output of the command

mount

Revision history for this message
Matias Fernandez (matiasfd) said :
#4

mfd@mfd-Inspiron-3458:~$ mount
/dev/sda4 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/sda1 on /boot/efi type vfat (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1001/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=mfd)
mfd@mfd-Inspiron-3458:~$

Revision history for this message
Matias Fernandez (matiasfd) said :
#5

it is 17.04 not 17.10

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

What output do you get for the command

sudo os-prober

Revision history for this message
Matias Fernandez (matiasfd) said :
#7

/dev/sda6:Ubuntu 17.04 (17.04):Ubuntu:linux

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

This is the expected output. os-prober correctly detects your Ubuntu 17.04 installation.
Now run the commands

sudo linux-boot-prober /dev/sda6
sudo update-grub

and copy/paste all output that you get.

Revision history for this message
Matias Fernandez (matiasfd) said :
#9

mfd@mfd-Inspiron-3458:~$ sudo linux-boot-prober /dev/sda6
[sudo] password for mfd:
/dev/sda6:/dev/sda6:NO USAR > Ubuntu 17.04:/boot/vmlinuz-4.10.0-24-generic.efi.signed:/boot/initrd.img-4.10.0-24-generic:root=UUID=00aee336-b9ae-4c75-8edc-a19adb0b5451 ro quiet splash $vt_handoff
mfd@mfd-Inspiron-3458:~$

mfd@mfd-Inspiron-3458:~$ sudo update-grub
[sudo] password for mfd:
Generando archivo de configuración grub...
Aviso: Ya no se permite establecer GRUB_TIMEOUT a un valor distinto de cero cuando GRUB_HIDDEN_TIMEOUT está activado.
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-132-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-132-generic
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-129-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-129-generic
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-128-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-128-generic
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-125-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-125-generic
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-123-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-123-generic
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-121-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-121-generic
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-38-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-38-generic
Adding boot menu entry for EFI firmware configuration
hecho
mfd@mfd-Inspiron-3458:~$

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

I am surprised to see "NO USAR" ( I assume that means "do not use") as description of the Ubuntu 17.04 system.
Do you know where this comes from?

Revision history for this message
Matias Fernandez (matiasfd) said :
#11

Yes, it was my message in the menu, so as my child don't go 17.04

Revision history for this message
Matias Fernandez (matiasfd) said :
#12

It was edited with some kind of grub editor I used

Revision history for this message
Matias Fernandez (matiasfd) said :
#13
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#14

Thanks for posting the link. It may help others.