LILO doesn't boot Windows
Hi!
I've installed Slackware 12.0 few days ago and i had a problem with LILO. During installation of LILO the error appeared, saying, that LILO can't be installed on MBR and it has to be done manually. I've run liloconf and tried to do something with this, but the same error appeared. Of course, after reboot only WindowsXP loads. I changed the bootable disk in BIOS and... LILO has appeared! There's Windows on the list, but when i'm selecting it, the system restarts and LILO appears again. It only boots Slackware. So when i want to boot Slackware, I have to switch the disk in the BIOS and the same thing with Windows. Slackware and Windows are installed on different disks (Slackware on SATA, Windows on old "taped" one). My LILO configuration file looks like this: Code:
# LILO configuration file Linux bootable patition is named as sda6 I don't know what to do, how to configure Lilo to successfully boot windows and slackware from LILO (without any BIOS disk changes). Please help me! |
First thing's first, since you can still boot both, if you have a floppy drive, make boot disks for windows and linux just to be safe. For windows make boot disk and ERD.
Windows boot disk Windows ERD In slack, the command I believe is makebootdisk slack boot disk Also, if you can burn, now would be a good time to backup anything you can't afford to lose. With that stuff out of the way, the first thing I would do is go back into slack and rerun liloconfig, making double and triple sure that the answers you give are correct, also paying attention to make sure you tell it to write the MBR on the drive you plan on booting to from the BIOS every time. (Which one, either /dev/sda or /dev/hdc is up to you. I assume you know the tendencies of your own board.) Then of course run lilo to install it. If that still doesn't get it, then please su into root and post the output of the following 3 commands: Code:
cat /etc/fstab Code:
cat /etc/lilo.conf Code:
/sbin/lilo Also you say your windows C: is on /dev/sda1, but your lilo.conf says it is /dev/hdc5: Code:
# Windows bootable partition config begins EDIT ---- Btw, in case you don't know, when we talk about the "/dev" stuff:
|
All times are GMT -5. The time now is 04:14 AM. |