Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 11-10-2003, 08:08 AM   #1
LQ Newbie
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
Exclamation can't install lilo, mbr not compatible

I have 2 windows and 2 linux distributions.
Las time I installed few linux distributions.
After I installed Debian 3.0 with Grub Bootloader on my mbr I can't start windows anymore.
I have problem with lilo as well. After I configured /etc/lilo.conf, run lilo command and restart the system I have still grub on my mbr.
I can remove grub from mbr with fdisk /mbr but I can't install any lilo or windows bootloader. I can install on mbr only grub.

during windows installation I get the message mbr is not windows-compatible.

Do you have any ideas how to fix my mbr?
Old 11-10-2003, 08:57 AM   #2
LQ Newbie
Registered: Nov 2003
Posts: 24

Rep: Reputation: 15
what is wrong with grub? why do u want install windows?
when u ran /sbin/lilo did u get any complaint from lilo? did u do it as root?
do u know what is the windows partition name like ...hda1 or hda3 etc?
u did create a boot disk, didn't you?
i use a knoppix cd to boot and recover (chroot)
if u have a windows 98 cd boot from it and choose to boot with no cdrom support
when u r at the shell fdisk the mbr again and try to transfer the system to the windows partition, if u have windows 98 or is trying to install it, at the shell type sys c: if u get the message system transferred remove cd and boot ... if windows is not installed yet you will see the windows boot logo pretty fast and then down to the dos shell.
now boot from the windows cd and install windows.
if it's windows xp or 2kpro just boot from the cd and pick the non linux partition to format as ntfs (if u have redhat 9 u need to install the ntfs driver so that u can see the windows partition from linux and it't read only ) windows xp and 2k will erase lilo ... at least it never happened with me.
use the linux boot disk to boot to linux and add the windows partition:
label=dos (or nt or windows or your cat's name...etc)
or just boot to linux with the boot disk and run the grub install again and edit the grub.conf file by hand. and make sure is looking for wdows on the right place
good luck.
Old 11-10-2003, 09:20 AM   #3
LQ Newbie
Registered: Nov 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for our last email.

I have to disks.

first disk:
1st partition (hda1) windows boot partition FAT32.
2nd parition (hda2) windows XP NTFS
3rd partition (hda3) redhat9 EXT3
4th parition (hda4) swap

second disk:
1st partition (hb1) suse8.2 EXT3

I installed grub from suse8.2, that's mean my first disk is hd1 and my second disk is hd0.

After I erase mbr with fdisk /mbr and try to install grub with the command grub-install (hd1), nothing occurs. It works first when I use e.g. the boot configure tool included in webmin.

I tried as well use manuall comand to install lilo and grub and the suse config tools to change the bootloader. It doesn't work.

I never had problems like this with the windows installations.
what does it mean when I get the message "mbr is not windows-compatible", it happens as well after i did fdisk /mbr.

Dose exist any other way to change my mbr?

MBR on my first disk has size 9642
and on my second disk 6150.

The status for the moment is: after configuration of menu.lst for grub when I choose windows too boot from grub menu I will directly passed to grub shell. I don't get any error messages.

Old 11-10-2003, 10:13 PM   #4
LQ Newbie
Registered: Nov 2003
Posts: 24

Rep: Reputation: 15
1st partition (hda1) windows boot partition FAT32.
2nd parition (hda2) windows XP NTFS
3rd partition (hda3) redhat9 EXT3
4th parition (hda4) swap

so /dev/hda1 for windows 9x
/dev/hda2 for windows xp
/dev/hda3 redhat9
/dev/hdb1 suse8.2

this is my lilo.conf:

append="hdc=ide-scsi root=LABEL=/"
append="hdc=ide-scsi root=LABEL=/"

for your windows u should do


this is grub.conf (i use lilo with no windows)

# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
title Red Hat Linux (2.4.20-20.9)
root (hd0,1)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-20.9.img
title Red Hat Linux (2.4.20-8)
root (hd0,1)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title nt
rootnoverify (hd0,0)
chainloader +1

see if this helps ( i don't know how 'cause your prob is the mbr and lilo and grub)
u should pick one of the distros and remove the others (coment out) on grub.conf one at a time and like it says dont rerun grub after changing it see if u can get at least xp to boot right and get rid of the others.
and for your own sanity.... PICK ONE PLEASE i would go for either mandrake or red hat.
oh and please chek out gentoo linux
good luck.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install lilo to MBR and no floppy booting msalimane Slackware 7 01-28-2013 11:54 PM
If I install LILO to the MBR, can I use it to boot Windows XP? squirrels Linux - General 3 06-11-2004 02:18 PM
lilo MBR install problem nobu Slackware - Installation 5 04-04-2004 07:33 PM
Can't install lilo to MBR or floppy pele_smk Slackware 7 12-10-2003 04:46 PM
mbr had over write so lilo is gone how to rewrite lilo to mbr mch Linux - Software 4 10-25-2002 02:55 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration