Solved

Can't install Lilo - Bad cyl #

Posted on 1998-06-02
9
216 Views
Last Modified: 2013-12-15
I just tried to install Slakware 3.4 on a 2 GB IDE disk. When I tried to install Lilo, it complained about my cylinder number 2081, which is bigger than 1023... This sounds awfully much like old DOS. :-( How do I fix it?
0
Comment
Question by:obg
  • 4
  • 3
  • 2
9 Comments
 
LVL 1

Expert Comment

by:m4rc
Comment Utility
from what i understand, it doesnt mean you cannot use fdisk w/ that drive.  i just installed slackware 3.4, and recieved the same error.  the reason was because the drive was so large.  linux can handle big drives w/o problem, but lilo, apparently, is only good at recognizing/accessing cylinders up to a certain point.  i use lilo and it works fine, because my main partition starts before cylinder 1024.  does your system boot up to linux?  w/ lilo?  or a boot disk?  if not, you might try repartitioning and arrange your / close to the front, like /dev/hda1, for example.

0
 
LVL 2

Author Comment

by:obg
Comment Utility
Thanks for your quick answer. I'm sorry to reject it, but I can't believe that there is no way to make Lilo able to handle bigger disks... As you said, fdisk seems to work fine with that drive.
0
 
LVL 1

Expert Comment

by:m4rc
Comment Utility
perhaps there is a way to tell lilo about the geometry of your drive.  try looking into lilo options like:

disk=device-name
              Defines  non-standard  parameters for the specified
              disk.  See section "Disk geometry" of user.tex  for
              details.

       disktab=disktab-file
              Specifies  the  name  of  the disk parameter table.
              The map installer looks for /etc/disktab if  `disk-
              tab'  is  omitted.  The use of disktabs is discour-
              aged.

0
 
LVL 3

Accepted Solution

by:
marcelofr earned 100 total points
Comment Utility
It's not a lilo problem, it's BIOS problem: Linux depends on BIOS to recognize partition table, detect bootable partition, *LOAD* and exec partition table boot program which will finally load and pass control to lilo to load the kernel...

-- Marcelo
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 2

Author Comment

by:obg
Comment Utility
I know, but new BIOS:es can handle large disks. Why can't lilo keep up?
0
 
LVL 3

Expert Comment

by:marcelofr
Comment Utility
New BIOSes can handle large disks but NOT in NORMAL layout. You must use LBA or whatever trick your bios gives you to remap the disk geometry.

Really have you installed ANY OS booting from a partition outside 1024 cyls without a disk driver (which surely LILO supports)?
0
 
LVL 2

Author Comment

by:obg
Comment Utility
I know that too, but why can't Lilo use LBA, then?

I must admit, I haven't tried that many boot-menu-systems. I used OS/2's boot manager for a while. - Until I stopped using OS/2 a year (or two) ago. I am not used to speak positively about M$, but isn't their boot upp menu capable of booting NT/95 from large disks?
0
 
LVL 3

Expert Comment

by:marcelofr
Comment Utility
LILO DOES USE LBA... Maybe your bios gives you more than 1023 cyls EVEN with LBA... Again the problem is a 10 bit number...

Actually I'm using a one partition 6Gb disk with a translation named extended (I don't remember exactly) without any problems... It uses 780 cyls of 4Mb each..

Good Luck,

-- Marcelo
0
 
LVL 2

Author Comment

by:obg
Comment Utility
?!?!? I don't know much about the LBA standard at techniqual level, but I do know that my bios (which is almost brand new) reports LBA-disks with far more than 1024 cylinders. If you use a large disk, I'd guess you're lucky having got your boot-strap at a sector which can be contained within that old 16-bits word...

BTW: The problem is already solved long ago. However, the subject is still interresting.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now