Lilo & cylinders > 1023

Lilo & cylinders > 1023

Post by David Kammey » Tue, 25 Jul 1995 04:00:00



Hi.  I have a 1.2GB scsi hard drive.  I have been using the top 600 megs
(cyls. 583-1183) for linux.  Before I re-installed linux (due to ext2fs
screwing up beyond the point that e2fsck could fix it), I had a partition
in the same place.  Lilo booted just fine before I re-installed linux.  
The problem now is that I got unlucky and the kernel ended up being
placed at cyl. 1083.  I've looked at dumpe2fs, and there's plenty of
space down below 1023, but I can't get it down there... Any ideas?

--
--------------------------------------------------------------------------

"The general public is a      | Yes, I use PGP.  Finger me for my key.
 pretty stupid person" - Me   | Linux -- The choice of a GNU generation!
--------------------------------------------------------------------------

 
 
 

Lilo & cylinders > 1023

Post by Robert Nicho » Tue, 25 Jul 1995 04:00:00



:Hi.  I have a 1.2GB scsi hard drive.  I have been using the top 600 megs
:(cyls. 583-1183) for linux.  Before I re-installed linux (due to ext2fs
:screwing up beyond the point that e2fsck could fix it), I had a partition
:in the same place.  Lilo booted just fine before I re-installed linux.  
:The problem now is that I got unlucky and the kernel ended up being
:placed at cyl. 1083.  I've looked at dumpe2fs, and there's plenty of
:space down below 1023, but I can't get it down there... Any ideas?

There's no way to guarantee that a file will occupy any particular
physical location within a partition.  In addition to the kernel
image, you have to worry about some of the files in /boot, including
the map file created by the Lilo installer each time you run it.  If
any part of these files ends up above cylinder 1023, you won't be able
to boot.

I suggest creating a tiny partition (perhaps 2 or 3 megabytes,
depending on how many kernel images you keep) below cylinder 1024.
Put the files in /boot and your kernel image(s) there.  Modify
/etc/fstab to mount this partition on /boot when the system is
running.  That should take care of the problem.

--


 
 
 

1. LILO configuration question (> 1023 cylinders)

Dear Linux hackers,

I am having trouble getting LILO to work on the new version of Linux.
(Slackware 3.0, Linux kernel 2.0.0, LILO version 19).

I have a single 1080M IDE disk with three partitions.  The first is for Dos,
the second is for Linux swap, and the third is for Linux itself.

When I attempt to install LILO (on the Master boot record of the disk), it
fails with the error:
        geo_comp_addr: Cylinder number is too big (1026 > 1023)

I am aware that my disk is >1023 cylinders, so I can expect problems.
However, this configuration used to work for me on an ealier kernel.  I was
under the impression that as long as the *start* of the Linux partition
(and the kernel image on that partition?) was below cyliner 1024, that I
would be ok.

Does anyone know if anything has changed recently?  Is there a better way to
setup this system?  (Currently I am booting with LOADLIN on the Dos partition,
but I would prefer to use LILO if possible.)

Thanks for any help,
        Richard.

Encl: details of configuration
------------------------------------------------------------------------
1. Linux fdisk gives the following:

Disk /dev/hda: 16 heads, 63 sectors, 2112 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hda1   *        1        1      407   205096+   6  DOS 16-bit >=32M
/dev/hda2          408      408      473    33264   82  Linux swap
/dev/hda3          474      474     2112   826056   83  Linux native

2. /etc/lilo.config contains the following (generated with /sbin/liloconfig)

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact        # faster, but won't work on all systems.
delay = 50
vga = normal    # force sane state
ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /vmlinuz
  root = /dev/hda3
  label = linux
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
  label = dos
  table = /dev/hda
# DOS bootable partition config ends

3. "/sbin/lilo -v" gives the following error:

LILO version 19, Copyright 1992-1996 Werner Almesberger

Reading boot sector from /dev/hda
Merging with /boot/boot.b
geo_comp_addr: Cylinder number is too big (1026 > 1023)

2. anybody has luck with 133MHz pentium by New World?

3. Lilo: cylinder no. too big (> 1023)

4. TCP/IP book

5. HOWTO test for BIOS cylinder capy > 1023 for LILO?

6. MENU progam for AIX 3.1 RS/6000

7. COL225: LILO says: geo_comp_addr: Cylinder number is too big (1137 > 1023)

8. iMac Power Off

9. LILO and 1023 cylinders, again

10. infamous 1023 cylinder problem: partitioning IDE hard drive for LILO

11. LILO and more than 1023 cylinders

12. lilo and cylinder 1023

13. LILO with more than 1023 cylinders