Re: A lilo problem?
Ya it will take some time for me before I can enter the RedHat forum mailing lists. I wanted to post the question there, thought I would check out with the guys here first.
By the way, I seem to be having trouble managing this account of mine at freshmeat. Whenever my mailbox is full I get this message here that "We encountered an error". So it may take me some time before I can respond to your posts. Please pardon me.
Hope to get back soon.
> Many things can go wrong during the
> RedHat setup process. RedHat
> distributes a version of LILO which is 3
> years out of date, so I would say their
> support is tepid at best. I would
> suggest you contact RedHat with this
> installation problem. Not knowing what
> the installation program has written
> into the configuration file, little help
> can be given you. I suggest editing
> '/etc/lilo.conf' youself, and try
> reinstalling the boot loader by
> re-running /sbin/lilo.
A lilo problem?
HDD SIZE=36 GB (3 partitions 10GB+13GB+13GB)
OPERATING SYSTEM CURRENTLY INSTALLED=Windows Millenium Edition
OPERATING SYSTEM TO BE INSTALLED=RedHat Linux Personal edition 8.0
This is the information to start with. Windows ME recognizes the 3 partitions as C drive, D drive and E drive (10GB=C:\, 13GB=D:\=E:\)
I insert the RedHat CD, go through the various options step-by-step (.i.e The Language, What is the Keyboard, The Mouse, what type of installation- Custom/Typical/Desktop/.... e.t.c). Finally I encounter the partition window. There are 3 partitioning tools that can be seen- Automatically partition, Partition using Disk Druid and fdisk.
I want to keep Windows ME too, so ignore Automatically partition. FDisk seems to be complicated, so I select Didk Druid.
Sure enough Disk Druid shows up 3 partitions, all of vfat type. I select the last one /dev/hda3 (E:\ drive in Windows language) allocate around 12.7 GB for an ext3 filesystem and the rest (around 256 MB) for a swap partition. I force the ext3 to be the PRIMARY partition. After the partition stuff comes the most important stage- bootloader.
I select Lilo and can see 2 options- Install bootloader in /dev/hda (MBR), Install in /dev/hda3. Do a quick thinking select /dev/hda.
After this I install RedHat successfully (ofcourse the 3rd partition is formatted for an ext3 drive), and after the successful installation the CD drive gets ejected automatically.
But what is this, at boot time I DONT see the lilo window. Instead Windows ME boots up!
Whew after all that installation RedHat does not show up! I repeat the above procedure excepting this time, I delete both the D:\ and E:\ drives (/dev/hda2 and /dev/hda3), combine them into one partition (/dev/hda2) repeat the process for ext3 and swap partitions- this time ext3 gets a larger size of the hard disk, same procedure for the bootloader, bootloader gets installed in /dev/hda's MBR. But after RedHat installation and restarting the system same problem RedHat or lilo dont show up, Windows ME boots up instead!
Last time I insert the CD invoke the RedHat rescue program and voila the RedHat command prompt can be seen.
I figure out that the whole problem is with the bootloader. Either the CD has a scratched surface whereby during installation lilo is not being written at all or else lilo is not getting written successfully into MBR.
I am unable to draw a proper diagram here but here is what roughly the scenario is: inside the MBR is lilo and inside lilo is the Windows boot script-
| MASTER BOOT |
| RECORD |
| _____________ |
| | LILO | |
| | | |
| | __________ | |
| | | Windows| | |
| | | ME | | |
| | | Boot | | |
| | | Script | | |
| | |________| | |
| | | |
| |_____________| |
lilo is not getting invoked and the Windows boot script gets initialized.
Any suggestions are welcome. Google searching is not yielding any results.
Thanx in advance.