Click to See Complete Forum and Search --> : Lilo and 1024cylinder boundary


Stormrider888
01-20-2001, 06:03 AM
I've recently installed RedHat7 on my disk, putting LILO on a separate logical partition outside the 1024 cylinders.I tried to boot Linux from BootMagic, but it doesnt works,
although it worked the same way with Mandrake7.2
Now I've read that some older vesions of LILO wont start outside 1024, so I've downloaded a newer version from freshmeat.
As a newbie, I would like to ask how I should uninstall the older LILOand how to install the latest one on my /boot partition. I can get into KDE with my bootdisk. Thanks a lot!

Tiger
01-20-2001, 06:43 AM
Open up a terminal logged in as root and type.

cd /sbin
mv lilo lilo.old

cd /etc
mv lilo.conf lilo.conf.old

If you downloaded a tarball do something like this. tar -xzvf <filename.tar.gz>. After it unpacks read the README and/or INSTALL files and follow the instructions to make LILO.

To install it so you can use it to boot just type /sbin/lilo -v.

After it's working you can go back and remove the .old files you made. rm lilo.old
Be very careful with that command, especially in there.

------------------
Badges? We don't need no stinking badges.



[This message has been edited by Tiger (edited 20 January 2001).]

Stormrider888
01-20-2001, 07:10 AM
the problem is theres no instruction, so can u tell me what to do?

Tiger
01-20-2001, 07:53 AM
OK, if you got the newest version of LILO it is lilo-21.6.1.tar.gz.

In a terminal cd to the directory you downloaded it to and type tar -xzvf lilo-21.6.1.tar.gz and the file will unpack.

Type cd lilo-21.6.1, type ls.
Look for a README or INSTALL file and type pico README or INSTALL. Follow the directions, usually make, then make install.

------------------
Badges? We don't need no stinking badges.

[This message has been edited by Tiger (edited 20 January 2001).]

CMonster
01-20-2001, 10:39 AM
The problem is likely Boot Magic - as far as I know BM cannot see beyond 8GB - at least the lasst time I used it. Don't be shy, if you have RH7 you could probably just install GRUB into the MBR.

------------------
CMonster says, "You can't choose the right OS if you don't have a choice."

Stormrider888
01-20-2001, 02:27 PM
Oh, i use Bootmagic 6, and I had boot properly using Mandrake with LILO
Well, I tried to reinstall the latest LILO , but no success, can anybody tell me if that 1024 limit still exists in latest version?
But why can Mandrake boot usin Linux?Are there special parameters telling LILO to ignore that limit?
There can I get grub and is there also that 1024 cylinder problem?
Thanks a lot all the Lilo/Linux experts out there!

veloctTX
01-20-2001, 03:15 PM
New versions of LILO do not have the 1024th cylinder issue and I believe it works with hard drives bigger than 8GB also (someone correct me if this is wrong).

DarkAvenger
01-20-2001, 03:53 PM
If you have the latest LILO installed, try adding the line 'lba32' to your /etc/lilo.conf file. That's the magic word that *should* stop your cylinder-problem. Then run /sbin/lilo. It should now say something like:

Added win
Added linux *

I have RH7 too, and LILO never worked for me till I did this. I had a query like this a while back, it may be of some interest to you.. find it at
http://www.linuxnewbie.org/ubb/Forum4/HTML/006885.html . As for Mandrake, I believe it auto-adds the lba32 line.

You'd do well to do a total forum search for LILO, there maybe some other posts of interest. I hope this was of some help.

[This message has been edited by DarkAvenger (edited 20 January 2001).]

Stormrider888
01-20-2001, 03:53 PM
Hey guys!! Thank u all! It works now,
after doin some research I found out that in newer versions I just had to put a "LBA32" in the configuration file in order to make LILO boot beyond 1024 cylinders!
Thanks alot for the replies