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 10
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10
Situation
"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
# 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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com