Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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: linuxquestions.org/questions/slackware-installation-40/… - 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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.