SUSE Support

Here When You Need Us

Grub fails with Error 17: Cannot mount selected partition

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

Environment

SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 11 Service Pack 2

Situation

After an online update grub fails with:
 
Error 17: Cannot mount selected partition

Resolution

Solution:

For systems running SLES11SP1 or immediate action to get the system back online please see the workaround below. On systems running SLES11SP2 update perl-Bootloader to version 0.4.89.44-0.4.2.1 or later.

Workaround:

Press enter to get back into the grub menu, press "e" on the default boot entry (usually the first in the list), select the line root (hd0) and press "e" again. Change root (hd0) to the desired value (e.g. if the root device is /dev/sda1, the location would be hd0,0) and press enter. Check the changes on the screen for correctness and press "b" to boot.

Once the system is online, please adjust /boot/grub/menu.lst and change all root (hd0) entries to their correct values.

Cause

After the update /boot/grub/menu.lst contains
 
root (hd0)

for the default boot entry but should contain
 
root (hdx,y)

instead.

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:7010670
  • Creation Date: 23-Aug-2012
  • Modified Date:28-Sep-2022
    • 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.