LILO Install error: 1024 Cylinder problem? Linload?

I recently tried to install Complete Linux 6.5 and used Partition Magic to partition my HD.  I have a 12gb HD and Windows 98.  Using Partition Magic, I setup a Linux partition of 2gb(default).  The install went fine until I got to the LILO Installation part when I specified "Select First Sector of Boot Partition" (I intended on using Boot Magic), clicked OK on the next screen, then at the Bootable Partition screen I picked the Linux native partition and hit OK.  Then I got "An Error has Occured" and I couldn't go on unless I totally skipped these steps.  So, I'm guessing I have this 1024 cylinder problem that I've heard about and need to do something else to make it work with this problem.  I've read some stuff about a linload.exe that may help, but I don't know if Boot Magic will work with that.

What can I do, how do I do it???  Please help.

Thank you very much,

Spencer Whitten
bootrosAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tq3407Commented:
LILO needs to be in the first 1024 cylinders or it will give an error.  I really don't know enough about Boot loader but I'm doing a dual boot with LILO.  I would tell the install routine to put LILO in the master boot record and not in the first sector of the Linux partition.  When LILO sets up in the master boot record, it will allow you to boot linux and windows.  Linux is defaulted but at the LILO boot prompt, you can type dos ( This is the default label for the Windows partition ) and hit enter.  It will load windows.  By looking at your question, the windows partition is first then the Linux partitions.  This is the easiest way of getting the system to dual boot.
0
biardCommented:
first of all, ditch boot magic.  that program sucks a**.  then, you should install linux and when it asks where to put lilo, install it in the master boot record.  you do need to know what the partition your windows system is on (its name).  when lilo: prompt comes up at boot time, you can just type in this partition name for windows and it will boot to that.  if you want linux, it will go straight thru as default os.  this is much simpler, and requires no extra software.
0
bootrosAuthor Commented:
When I specify "Master Boot Record" instead of "First Sector of Boot Partition", I still get the same error.  "An error occured during step 'Intall Bootloader' of the Install." is the error I get.  I think its clear that my Linux partition (native and swap) are both located past the 1024 cylinder point.  My Windows partition is 10gb and the Linux part is 2gb.  I'm no hard drive expert, but that would indicate to me that the Linux partition is located at the 'end' of the hard drive.  Perhaps I could make my Linux partition like 6gb (my Windows partition would then shrink to 6gb also which is no big deal), and then the Linux part would fall beneath the 1024th cylinder.  Still, I refuse to believe that there is no way for me to boot linux when I resides past this limit.  Any other ideas?  What is this 'loadlin.exe' I've seen mentioned?  Could I use that, and how?

I appreciate the help, I don't know the etiquette about giving points out yet, since the answers given haven't worked.  What am I supposed to do with these points?  
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

biardCommented:
If it didn't work, you need to reject my answer.  Let me do a little research really quick.  Also, what is the drive geometry of you hard disk? C/H/S?
0
bootrosAuthor Commented:
I don't know off hand what the disk geometry is, or what those letters you gave me mean.  But, I can tell you it is an IBM Deskstar 12.9gb EIDE at 7200rpm.  
Another quick note is that I tried checking this checkbox option in the screen where you specify any parameters you need to pass into the loader, I think it was some 'Linear Mode' option.  (sorry I don't have the manual with me right now and can't give you better details)  Anyway, when I did that, it didn't give me the bootloader error when I did that.  I finished the install, rebooted, and my computer froze during bootup.  It got through listing the devices, such as modem and sound card stuff, then it froze with "LI" on the screen.  I had to reinstall Windows to get rid of this problem.  Not a good evening for me.  Fortunately, I didn't lose any data on my windows partition, it just reloaded windows98.  

0
biardCommented:
OK, well, C/H/S is the geometry: cylinders, heads, and sectors.  also, I am curious whether you have the drive set for logical block addressing (LBA mode) in the system BIOS.  The linear mode is usually reserved for SCSI drives rather than IDE drives.  I'll check IBM's web site for the geometry....
0
biardCommented:
OK, I found it.  Just splitting the drive in half will not do to get linux root within the first 1024 cylinders.  That drive has over 13000 cylinders.  You need to pit linux on the primary active partition, which may mean moving winblows away for a while (or for eternity preferably).  

If you want to use LOADLIN still, hee are the steps verbatim from "Linux Network Servers" by Craig Hunt:

1)Boot Linux using the boot floppy created during installation.  Make sure the DOS partition is mounted so that you can write to it from Linux.

2)dOWNLOAD loadlin from metalab.unc.edu (it's stored in  the /pub/Linux/system/boot/dualboot directory under the name lodlin16.tgz).  Use the z option on the tar command line to decompress and restore the file.  Store the resulting executable in the DOS partition.  Remember to place it in a DOS directory that is in the DOS execution path.

3)Copy the kernel to DOS.

4)Reboot the system to DOS.  Enter the LOADLIN command in the form:
    loadlin kernel root ro
where kernel is the path name of the Linux kernel stored in the DOS partition, root is the Linux root partition, and ro is an argument that is required to tell LOADLIN to mount the Linux root directory as read only.  For example, assume you have copied teh kernel to the DOS root directory on C, and assume that the Linux root partition is /dev/hda3.  You would use the following LOADLIN command to boot the system:  loadlin c:\vmlinuz root=/dev/hda3 ro.

 
0
bootrosAuthor Commented:
Ok, let me make sure I understand this.

There's no way for me to get Linux to boot from the point where it is on my hard drive right now.  Is that true?

and....

The Loadlin steps you gave me are only useful once I get my Linux partition moved, or are those steps for getting linux to boot from where I currently have it loaded?  I don't think the latter is the case, but I want to make sure.

I need to keep Windows on this computer, unfortunately, and I really want Linux on there as well.  Does Windows need to be located under this 1024 limit too?

Thanks again, and I won't bug you after you clear this up.  Your points are coming...

0
biardCommented:
Ok.  Loadlin should get you moving with the setup you currently have.  The whole point of Loadlin and Syslinux are to allow you to circumvent the 1024 cyliner problem.  BTW, if all else fails you can always install linux root partition on a small second drive and use partitions on the IBM drive as /home, /opt, etc.  It might not be a bad idea anyway in case something happens to the windows drive, and the whole thing goes up, or vice versa.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bootrosAuthor Commented:
Thanks for the help.  I'm surprised this problem isn't documented better.  It has to happening more often since there are many off-the-shelf packages designed to setup these dual-boot systems.  The lovely people at MacMillan support haven't replied to this question for 5 days now.  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.