Installing to LVM2 Disk without a Separate Boot Partition
This document (7015808) is provided subject to the disclaimer at the end of this document.
Environment
Logical Volume Manager (LVM)
Situation
While the installation process is configuring the boot loader, the following error is observed: "An error occurred during boot loader installation. Retry boot loader configuration?"
The /var/log/YaST2/y2log contains the following error: "[Ruby] modules/Bootloader.rb:508 Installing bootloader failed"
The installer sometimes shows the error: "Internal error. Please report a bug report with logs. Details: undefined method `<=` for nil:NilClass. Caller: /mount/mp_0001/usr/share/YaST2/include/bootloader/grub2/misc.rb:454:in `block in grub_updateMBR`"
The server fails to boot and never shows the GRUB menu or command. The bootloader failed to install properly.
Resolution
Cause
Additional Information
2.1.1 Installing with LVM2, Without a Separate /boot Partition
SUSE Linux Enterprise 12 generally supports the installation with a linear LVM2 without a separate /boot
partition, for example to use it with Btrfs as the root
file system, to achieve full system snapshot and rollback.
However, this setup is only supported under the following conditions:
Only linear LVM2 setups are supported.
There must be enough space in the partitioning "label" (the partition table) for the grub2 bootloader first stage files. If the installation of the grub2 bootloader fails, you will have to create a new partition table. CAVEAT: Creating a new partition table destroys all data on the given disk!
For a migration from an existing SUSE Linux Enterprise 11 system with LVM2 to SUSE Linux Enterprise 12 the /boot
partition must be preserved.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7015808
- Creation Date: 21-Oct-2014
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com