[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lilo warning causing problems

Felipe Martínez Hermo wrote:
	Hi all!

	I have just installed a new Debain box and configured a new
	kernel. I run Lilo and it says:

	Warning: Int 0x13 function 8 and function 0x48 return different
	head/sector geometries for BIOS drive 0x80 (also for drive 0x81)

This is usually caused by your BIOS reporting a "geometry" for the HD that is different from what the Linux kernel detects during its probing. All the BIOSes have to do something with the Cylinder-Head-Sector settings in order to accomodate the newer, larger HDs. All of this is covered in the "Large Disk HOWTO" at the LDP if you are interested in the details. The different brands of BIOS have differently appearing setup screens, so the below is a description of what I am seeing here...yours might be different, but you should be able to figure it out.

In the BIOS setup you should find a description of the HD(s) on your system with some settings you can change. One of them should be called "Access Mode" and will offer a few different settings....select the "LBA" setting. Other choices might be "AUTO", "CHS", "LARGE". You might want to cycle through all of these settings and see what the BIOS sets for the CHS values. I find the "LBA" setting works best for me here.

	It installs correctly the boot sector, but when I try to boot
	with my new kernel, after the first kernel messages it reboots
	again and again and again....

You might have something else going on here...dunno. With something other than the "LBA" setting in the BIOS I usually see a series of letters (usually an "m") before it eventually hangs. If changing the BIOS setting doesn't help you get past this point, you might want to post your /etc/lilo.conf file here...maybe some other eyes can see somehthing else. Did you "roll your own" kernel or are you using one of the "stock" kernels? Which version?

-Don Spoon-

Does anybody have a clue?

Thank you


Reply to: