Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a partition /dev/sdb1, where my old Windows XP resides. All the files are there intact and I can see them, mounting the disk from Linux. Linux is on /dev/sdb2. But when I choose Windows in LILO prompt, it doesn't load.

I have the following lilo.conf:

boot = /dev/sdb
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sdb2
  label = Linux
  read-only  # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
  other = /dev/sdb1
  label = Windows
  table = /dev/sdb
# Windows bootable partition config ends

What can be wrong?

share|improve this question
What does happen when you select the windows partition? – blueberryfields Oct 23 '12 at 20:22
It says: "booting Windows". And hangs. – user4035 Oct 23 '12 at 20:26
I have a suspicion, that I have corrupted MBR. Cause I ordered LILO to be installed into disk MBR, where Windows was sitting previously. – user4035 Oct 23 '12 at 20:31
You can check if that's the problem - try these instructions:… - if they fix things, you know what's what :) – blueberryfields Oct 23 '12 at 20:35
Whenever this has happened to me, using the 'fix mbr' option from the Windows installation disc and then restoring the dual-boot bootloader has resolved the issue. – jam Oct 23 '12 at 21:19
up vote 0 down vote accepted

I did it directly from Linux Slackware 14.0 without Windows CD-ROM. I did this:

  1. Installed ms-sys
  2. Ran:

    ms-sys -m /dev/hdb

This restores Windows XP MBR. Then:

lilo /dev/hdc

Installing lilo to another drive /dev/hdc. Then set in BIOS to boot from hdc and ran Windows from LILO. It worked.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .