mkinitrd fails with perl-bootloader, no partition found errors
This document (7009728) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Desktop 11
Situation
ERROR: "perl-bootloader: 2011-11-03 08:13:49 WARNING: GRUB::GrubDev2UnixDev: No partitions found for /dev/sda with 1."
A new ramdisk is created and the server seems to boot without a problem.
Resolution
1. cd /boot/grub/
2. mv device.map device.map.old
3. grub
4. At the grub> prompt, type quit
5. Rerun mkinitrd, it should no longer have the perl-bootloader errors.
Additional Information
There has also been a case where reprobing the BIOS failed to write the correct information to the /boot/grub/device.map file. A /dev/cciss/c0d0 was written to /boot/grub/device.map as /dev/sda1. After manually editing the device.map file with the correct /dev/cciss device, no further perl-bootloader errors were seen.
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:7009728
- Creation Date: 11-Nov-2011
- 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