mkinitrd fails with perl-bootloader, no partition found errors

This document (7009728) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Desktop 11


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.


Recreate the /boot/grub/ file.

1. cd /boot/grub/
2. mv
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 mappings. Removing /boot/grub/ forces grub to reprobe the BIOS for the disk devices and write the (hd) to /dev/ (GrubDev2UnixDev) mappings to a new file.

There has also been a case where reprobing the BIOS failed to write the correct information to the /boot/grub/ file. A /dev/cciss/c0d0 was written to /boot/grub/ as /dev/sda1. After manually editing the file with the correct /dev/cciss device, no further perl-bootloader errors were seen.


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 Support Forums

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

Join Our Community

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.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center