lilo not working on my old 486 and disk geo > 1024 cyl

lilo not working on my old 486 and disk geo > 1024 cyl

Post by Sang Nguye » Tue, 28 Jul 1998 04:00:00



Hi folks:

I installed a vanilla installation of linux (2.0.13) on my older 486 w/
16mb RAM. The installation went perfectly smooth. I installed the lilo
boot loader on the mbr of the disk. The disk is a WD Caviar with 2585
cylinders. The bios is old and does not support LBA translation. Well,
to make a long story short, when I boot up the computer, it will hang
with lilo. It gets as far as:

LILO

and just hangs after that. I can boot it up using a floppy and mounting
/dev/hda1 just fine. The disk is brand new. Any suggestions? Thanks in
advance.

 
 
 

lilo not working on my old 486 and disk geo > 1024 cyl

Post by Simon Chatfie » Tue, 28 Jul 1998 04:00:00


Well, for disks with more cylinders than 1024, I always make a 50Meg root
partition, which is where the Image will reside. That way, you will never
have a problem with the image being on a cylinder higher than 1024. the BIOS
can't reach any cylinder higher than that. I hope this helps.

-Simon

: Hi folks:

: I installed a vanilla installation of linux (2.0.13) on my older 486 w/
: 16mb RAM. The installation went perfectly smooth. I installed the lilo
: boot loader on the mbr of the disk. The disk is a WD Caviar with 2585
: cylinders. The bios is old and does not support LBA translation. Well,
: to make a long story short, when I boot up the computer, it will hang
: with lilo. It gets as far as:

: LILO

: and just hangs after that. I can boot it up using a floppy and mounting
: /dev/hda1 just fine. The disk is brand new. Any suggestions? Thanks in
: advance.

 
 
 

lilo not working on my old 486 and disk geo > 1024 cyl

Post by Robert Hell » Wed, 29 Jul 1998 04:00:00



  In a message on Mon, 27 Jul 1998 09:31:03 -0700, wrote :

SN> Hi folks:
SN>
SN> I installed a vanilla installation of linux (2.0.13) on my older 486 w/
SN> 16mb RAM. The installation went perfectly smooth. I installed the lilo
SN> boot loader on the mbr of the disk. The disk is a WD Caviar with 2585
SN> cylinders. The bios is old and does not support LBA translation. Well,
SN> to make a long story short, when I boot up the computer, it will hang
SN> with lilo. It gets as far as:
SN>
SN> LILO
SN>
SN> and just hangs after that. I can boot it up using a floppy and mounting
SN> /dev/hda1 just fine. The disk is brand new. Any suggestions? Thanks in
SN> advance.

Just guessing, but your partition something looks something like this:

/dev/hda1 (most of disk) as /
/dev/hda2 (last 64 meg of disk) as swap

You are going to have to repartition your disk.  I recommend partitioning
it like this:

/dev/hda1 64 meg as /     (64 meg should be well below the 1K cylinder limit)
/dev/hda2 64 meg as swap
/dev/hda3 700 meg as /usr
/dev/hda4 rest of disk as /home

and then re-installing Linux from scratch.

What is happening is that /boot/vmlinuz is not all below the 1K
cylinder limit and LILO is using your (old) BIOS to read past what the
BIOS believes the end of the disk and is* or something.

--
                                     \/

http://www.veryComputer.com/~heller  ||FidoNet:    1:321/153
http://www.veryComputer.com/;/\

 
 
 

lilo not working on my old 486 and disk geo > 1024 cyl

Post by Bill Corne » Thu, 30 Jul 1998 04:00:00


[snip]

Quote:>to make a long story short, when I boot up the computer, it will hang
>with lilo. It gets as far as:

>LILO

>and just hangs after that. I can boot it up using a floppy and mounting
>/dev/hda1 just fine. The disk is brand new. Any suggestions?

Read the manual page "lilo.conf", particularly the [disk=], [fix-table],
[linear] and [append=] sections. One of those may work for you.

--
Bill Cornett

 
 
 

lilo not working on my old 486 and disk geo > 1024 cyl

Post by Bill Corne » Thu, 30 Jul 1998 04:00:00


[snip]

Quote:>to make a long story short, when I boot up the computer, it will hang
>with lilo. It gets as far as:

>LILO

>and just hangs after that. I can boot it up using a floppy and mounting
>/dev/hda1 just fine. The disk is brand new. Any suggestions?

Read the manual page "lilo.conf", particularly the [disk=], [fix-table],
[linear] and [append=] sections. One of those may work for you.

--
Bill Cornett

 
 
 

1. disk w/cyl >1024 and lilo

 My partition table goes as follows:

   Device Boot  Begin   Start     End  Blocks   Id  System
/dev/sda1   *       1       1     350  358384    6  DOS 16-bit >=32M
/dev/sda2         351     351     700  358400   63  GNU HURD
/dev/sda3         701     701    1000  307200    7  OS/2 HPFS
/dev/sda4        1001    1001    1685  701440    5  Extended
Partition 4 has different physical/logical endings:
     phys=(1023, 63, 32) logical=(1684, 63, 32)
/dev/sda5   *    1001    1001    1300  307184   83  Linux native
/dev/sda6        1024    1301    1332   32752   82  Linux swap

 and the lilo error is :

geo_comp_addr: Cylinder number is too big (1248 > 1023)

 Is there any way to get lilo to install this without making the entire
 partition reside below 1024?

--


         M.I.S. Manager * Open Environment Corporation * 617.562.0900          
                       25 Travis St * Boston, Ma * 02134                      
 -- - -- - -- - --  That's my story and I'm stickin' to it   -- - -- - -- - --

2. Two solaris questions from an HP/UX user, please help?

3. getting LILO to work if cyl > 1024

4. xdm won't export display to NT exceed

5. LILO/disk >1024/old Bios

6. InterViews with gcc 2.4.5/2.5.0?

7. Installing lilo on a >1024 cyl SCSI HD?

8. add_timer??

9. LILO doesnt like > 1024 cyls? - help please

10. Eide > 1024 cyl : linear (lilo.conf)

11. Lilo install probs > 1024 cyl

12. LiLo Question - How Boot > 1024 Cyl?

13. LILO, >1024 cyl?