The wikis are now using the new authentication system.
If you did not migrate your account yet, visit

SDB:Windows Does Not Boot with the Boot Manager LILO

Şuraya atla: kullan, ara

Version: 8.0


After having installed SuSE Linux 8.0, your Windows operating system does not boot with the boot manager LILO. Your Linux system, however, boots correctly. Linux and Windows are located on different hard disks.


The cause is an incorrect entry in LILO's configuration file.


Change LILO's configuration manually. First, open a shell as root by performing the following steps:

  1. Press the key combination ALT+F2 in KDE.
  2. Enter "xterm" in the entry field.
  3. Click on "Run".
  4. Enter the command "su -" in the displayed window.
  5. Enter your root password at the prompt.

Execute fdisk -l to obtain an overview of how your system is partitioned. The output may be similar to:

Disk /dev/hda: 64 heads, 63 sectors, 1023 cylinders
Units = cylinders of 4032 * 512 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      1023   2062336+   6  FAT16
Disk /dev/hdb: 255 heads, 63 sectors, 1655 cylinders
Units = cylinders of 16065 * 512 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1         2     16033+  83  Linux
/dev/hdb2             3        19    136552+  82  Linux swap
/dev/hdb3            20      1655  13141170   83  Linux

In this example, Windows resides on the first partition of the first hard disk, referred to as /dev/hda1.

Start YaST2 and open the dialog System -> Boot loader configuration.

  1. Select Change current configuration and confirm with Next.
  2. Select where to install the boot loader.
  3. Skip the dialog Global LILO properties by clicking Next.
  4. In the next dialog, select the entry windows and click Edit.
  5. Select the label of your Windows partition as Boot partition from the list (in our example /dev/hda1) and confirm with Next.
  6. This returns you to the dialog about the configuration of LILO's sections. Click Next.
  7. Click End to complete the configuration and confirm with Yes.

Exit YaST2. You should now be able to boot Windows without any problem.

Manual Procedure

If you prefer to edit LILO's configuration file manually, proceed as follows:

Open the file /etc/lilo.conf with a text editor of your choice. Search for the boot entry for Windows. It might be something like:

  other  = /dev/hdb1
  label  = windows

Change the device entry. According to our example, it would be:

  other  = /dev/hda1
  label  = windows

If you boot LILO from a floppy disk, check the variable "boot=" (which can be found at the beginning of the file). To boot from a floppy disk, the variable must be set to boot=/dev/fd0.

Save the changes and exit the editor (key combination CTRL-X in pico). Now execute the command lilo in the shell to update the boot manager with the new settings. If you boot from a floppy, the LILO boot floppy disk has to be inserted in the drive for rewriting purposes.

Restart your computer. Booting Windows should no longer pose a problem. <keyword>windows,lilo,boot,bootmanager,bootmanager</keyword>