rollinrob
February 22nd, 2019, 07:49 PM
Hi!
Yesterday I upgraded the "shim-signed" package on my Ubuntu 16.04.5 server, which failed and left me with a broken system that won't boot again. So I booted an Ubuntu 16.04.5 live stick, installed boot-repair (https://help.ubuntu.com/community/Boot-Repair) and started a "recommended repair", which unfortunately also left me with an error and the following message:
An error occurred during the repair.
You can now reboot your computer.
Please do not forget to make your BIOS boot on sda1/EFI/ubuntu/shimx64.efi file!
I don't really know how to proceed now as I don't know how GRUB and the whole boot mechanism works. Could anyone please help me? I saved all the information boot-repair gave to me (Boot-Info and log) and can provide parts or all of it if that would help. I will attach the first section of the Boot-Info as this looks like it would tell people who know what they are doing a lot about the system ;)
The server has two HDDs and (temporarily) an USB stick attached.
Thanks in advance!
Rob
Boot-Info:
Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdb and looks at sector
1 of the same hard drive for core.img, but core.img can not be found at
this location.
=> No known boot loader is installed in the MBR of /dev/sdc.
sda1: __________________________________________________ ________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/grub.cfg /Boot/bootx64.efi
/ubuntu/shimx64.efi /EFI/Boot/bootx64.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi
/EFI/ubuntu/shimx64.efi
sda2: __________________________________________________ ________________________
File system: ext2
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/grub.cfg
sda3: __________________________________________________ ________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________ ________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/grub.cfg
sdc1: __________________________________________________ ________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /dev/sdc1 is already mounted or /mnt/BootInfo/sdc1 busy
sdc2: __________________________________________________ ________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: According to the info in the boot sector, sdc2 starts
at sector 0. But according to the info from fdisk,
sdc2 starts at sector 9828. According to the info in
the boot sector, sdc2 has 0 sectors.
Mounting failed: mount: /dev/sdc1 is already mounted or /mnt/BootInfo/sdc1 busy
mount: /dev/sdc2 is already mounted or /mnt/BootInfo/sdc2 busy
robserver-vg-root: __________________________________________________ ___________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.5 LTS
Boot files: /etc/fstab
robserver-vg-swap_1: __________________________________________________ _________
File system: swap
Boot sector type: -
Boot sector info:
Yesterday I upgraded the "shim-signed" package on my Ubuntu 16.04.5 server, which failed and left me with a broken system that won't boot again. So I booted an Ubuntu 16.04.5 live stick, installed boot-repair (https://help.ubuntu.com/community/Boot-Repair) and started a "recommended repair", which unfortunately also left me with an error and the following message:
An error occurred during the repair.
You can now reboot your computer.
Please do not forget to make your BIOS boot on sda1/EFI/ubuntu/shimx64.efi file!
I don't really know how to proceed now as I don't know how GRUB and the whole boot mechanism works. Could anyone please help me? I saved all the information boot-repair gave to me (Boot-Info and log) and can provide parts or all of it if that would help. I will attach the first section of the Boot-Info as this looks like it would tell people who know what they are doing a lot about the system ;)
The server has two HDDs and (temporarily) an USB stick attached.
Thanks in advance!
Rob
Boot-Info:
Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdb and looks at sector
1 of the same hard drive for core.img, but core.img can not be found at
this location.
=> No known boot loader is installed in the MBR of /dev/sdc.
sda1: __________________________________________________ ________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/grub.cfg /Boot/bootx64.efi
/ubuntu/shimx64.efi /EFI/Boot/bootx64.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi
/EFI/ubuntu/shimx64.efi
sda2: __________________________________________________ ________________________
File system: ext2
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/grub.cfg
sda3: __________________________________________________ ________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________ ________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/grub.cfg
sdc1: __________________________________________________ ________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /dev/sdc1 is already mounted or /mnt/BootInfo/sdc1 busy
sdc2: __________________________________________________ ________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: According to the info in the boot sector, sdc2 starts
at sector 0. But according to the info from fdisk,
sdc2 starts at sector 9828. According to the info in
the boot sector, sdc2 has 0 sectors.
Mounting failed: mount: /dev/sdc1 is already mounted or /mnt/BootInfo/sdc1 busy
mount: /dev/sdc2 is already mounted or /mnt/BootInfo/sdc2 busy
robserver-vg-root: __________________________________________________ ___________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 16.04.5 LTS
Boot files: /etc/fstab
robserver-vg-swap_1: __________________________________________________ _________
File system: swap
Boot sector type: -
Boot sector info: