1828368 Members
2730 Online
109976 Solutions
New Discussion

partition problem

 
SOLVED
Go to solution
O'lnes
Regular Advisor

partition problem

My server has install the Lilo and two OS ??? Linux & Windows, the system is crashed after I try to install linux 7.3 , now the server only shows the message ???LI??? when boot up, I think the Lilo partition has problem. How can I resume the windows ? Thanks.
Andy
2 REPLIES 2
O'lnes
Regular Advisor

Re: partition problem

How can i completely uninstall the linux without affect the windows? Thanks.
Andy
Oren Amit
Advisor
Solution

Re: partition problem

Hi,

The reason for the LI is that lilo has a problem bootstraping itself.
The most common reason is that you have it installed below the 1024th cylinder.

You can remove LILO by:
1) Run lilo -u
2) If you cant boot linux at all, boot to Windows and run fdisk /mbr
This will over write the Master Boot Record of your disk and leave only Windows there.

If you want to fix the problem so you can use both OS's you can setup RedHat to install lilo in the partition where linux is installed (lets say /dev/hda5)
Then do:
dd if=/dev/hda5 of=bootsect.lnx bs=1 count=512
This creates a file named bootsect.lnx that contains the boot sector for linux.
Now copy this file to your MS partiton (c:\)and edit boot.ini (under NT, XP) and add the line:
c:\bootsect.lnx="RedHat 7.3"
Next time you boot your Windows you will hve a choice of RedHat7.3.
Note: If you do this you will need to update bootsect.lnx each time you run lilo in linux.

Hope this helps.