0

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?

user4035
  • 903

1 Answers1

0

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.

user4035
  • 903