Boot Failure due to Missing Boot Flag

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

Environment

SUSE Linux Enterprise Desktop 11
SUSE Linux Enterprise Desktop 10
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10

Situation

The server fails to boot with either of the following errors:

"Invalid partition table"
"Operating System not found"

Boot Installed System works properly and rescue mode can chroot the installed system successfully. The output of the parted command on a SLES10 SP4 server shows the following:

# parted -s /dev/sda print
Disk geometry for /dev/sda: 0kB - 16GB
Disk label type: msdos
Number  Start   End     Size    Type      File system  Flags
1       32kB    1579MB  1579MB  primary   linux-swap   type=82
2       1579MB  16GB    15GB    primary   reiserfs     type=83
 

Resolution

No disk has the boot flag set. The BIOS relies on a boot flag being set to successfully boot the operating system. Set the boot flag on the correct disk partition using fdisk or parted commands.

# parted -s DEVICE set NUMBER FLAG STATE, where DEVICE is the path to the device being changed, NUMBER is the partition number, FLAG is "boot", and STATE is "on".

To set the boot flag in the example above, do the following:

# parted -s /dev/sda set 2 boot on
# parted -s /dev/sda print
Disk geometry for /dev/sda: 0kB - 16GB
Disk label type: msdos
Number  Start   End     Size    Type      File system  Flags
1       32kB    1579MB  1579MB  primary   linux-swap   type=82
2       1579MB  16GB    15GB    primary   reiserfs     boot, type=83
                                                       ^^^^^


Reboot the server.

 

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:7008829
  • Creation Date: 16-Jun-2011
  • Modified Date:28-Sep-2022
    • 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

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