I am using OpenSuse Leap 42.2 since last November without problems on my desktop computer. Recently however, suddenly I couldn’t boot my system any longer. Just after the GRUB menu, I saw some error messages and the system stopped. I tried via an USB-stick and a rescue system to check the hard disk with smartctl. I didn’t see any errors.
Then I tried to re-install OpenSuse 42.2. Install worked fine until the installation of the bootloader. There it gave an error message:
Internal error. Please report a bug report with logs.
Details: Augeas parsing/serializing error: Malformed child node ‘hd2’ at /usr/share/augeas/lenses/dist/device_map.aug:22.12-.39:
Caller: /usr/lib64/ruby/gems/2.1.0/gems/cfa-0.3.1/lib/cfa/augeas_parser.rb:236:in ‘report_error’
I could finish the installation, but now I can not boot the system. It gives a message:
Missing operating system
DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER
So the installation failed.
I think there is a problem with my hard disk. Is there a way to repair this problem?
Well if you have a BIOS boot would be MBR but if you have a newer UEFI based machine it could be either MBR or EFI and depend on how you booted the install media. It is important to know. Boot the installer and note if the menu screen as additional options on the bottom if so it is MBR boot. Also please report any error message you do see. BTW is this dual boot ie is Windows or other OS also on the machine??
Need to reinstall grub2 in the MBR.(Master Boot Record the first block on the drive)
You will have to use a recovery media or boot the installer using emergency mode option. Maybe try first to boot the system from the install media there is an option to boot the hard drive. If you can do that go to Yast bootloader and make a small change like changing the wait time accept and that should reinstall Grub. Note be sure that the install to MBR is checked and you use grub2 not grub2-efi