Click to See Complete Forum and Search --> : Dual-boot problem


abers
08-09-2005, 07:39 AM
Hi,

I have been running a windows ME/ Mandrake Linux dual boot for about two years now but have experienced problems after being forced too reinstall windows (surprise surprise). After reinstallation windows had removed lilo and all I got was a "Disk I/O error; Please replace system disk and press any key". So I used my Linux installation cd to get lilo back and Linux is working fine but if I chose windows I still get the error message and it refuses to load.

Any ideas of what could be wrong?

Thanks in adavance,

Abers
---

Parcival
08-09-2005, 08:20 AM
Seems like you have to write the correct path of your Windows partition into lilo.conf which should be an easy task.

The Gentoo documentation explains really well how to setup bootloaders, it's also helpful for people running other distros:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap3

saikee
08-09-2005, 04:08 PM
It is possible that the Windows has not been properly installed and re-installing Lilo would not help. Lilo requires each OS bootable first.

I would suggest to restore Windows MBR first. Failing that do a fresh re-installation of Windows. Only when Windows is working properly (no Linux yet) then I would re-install Lilo.

The Windows MBR can be restored by just pop in a Dos or Windows bootable floppy that has the fdisk.exe in it. On booting up just type fdisk /mbr.

As Parcival quoted web page Lilo only needs 2 lines to boot a Windows

other=/dev/hda1
label=windows

but Lilo command must be re-issued every time if its lilo.conf has been modified. If you use the installation CD then it should do this automatically.

Hussam
08-09-2005, 04:20 PM
You should check the right path for your windows parttion and modfy it from the lilo.conf.
Other wise you need to restore rh MBR

je_fro
08-10-2005, 02:56 AM
yeah, it will probably need to write to the mbr, so make a lilo boot floppy and pray winsuck doesn't want to claim the whole disk.