SUSE Support

Here When You Need Us

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 Server 11
SUSE Linux Enterprise Desktop 11

Situation

Attempting to create a new ramdisk fails.
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

Recreate the /boot/grub/device.map file.

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

The per-bootloader errors are due to incorrect device.map mappings. Removing /boot/grub/device.map forces grub to reprobe the BIOS for the disk devices and write the (hd) to /dev/ (GrubDev2UnixDev) mappings to a new device.map file.

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.