Hard disk with more than 1024 cylinders and LILO

Hard disk with more than 1024 cylinders and LILO

Post by Milan Gorni » Thu, 06 Jan 2000 04:00:00



In version 5.0 of Redhat Linux there is multiple system loader - LILO. When
I installed Linux for the first time (that was last year), i had Quantum
4,3GB hard disk and there was no problem at all. LILO was installed properly
and I was able to load either Windows or Linux.

Now, I have Quantum 13GB hard disk, and LILO can't install. It reports that
problem is number of cylinders (more than 1024), which is important to BIOS
disk I/O routines. The rest of installation went allright - I was able to
make both linux native and swap partitions and to copy the system to first
one. Well, the only problem is that I can't boot linux.

Before several years, I have used Slackware linux version 3 or something and
I have used boot floppy disks with it. I'm not sure is there any way to make
boot diskette on my present system (without access to linux partition). If
there is newer version of LILO, or some other freeware loader, please give
me it's URL.

I don't know is it important, but I have Award BIOS v4.51PG (BX chipset) on
my computer. Is it really incompatible with HDD larger than 1024 cylinders?

 
 
 

Hard disk with more than 1024 cylinders and LILO

Post by Hugh Laws » Thu, 06 Jan 2000 04:00:00



>Now, I have Quantum 13GB hard disk, and LILO can't install. It reports that
>problem is number of cylinders (more than 1024), which is important to BIOS
>disk I/O routines. The rest of installation went allright - I was able to
>make both linux native and swap partitions and to copy the system to first
>one. Well, the only problem is that I can't boot linux.

Here are a couple of possibilities.  

1. Use a boot floppy to boot Linux.  Then make a copy of the Linux kernel
on your install to a floppy. Use the 'dd' command.  With the new floppy
you can boot linux from the new floppy.  Be sure the rdev command reports
the correct information for the kernel on the new floppy.

2. Once you can get to the Linux kernel on your hard drive, copy it to a
dos partition, and use loadlin in that partition to boot Linux.

man dd
man rdev

--
Hugh Lawson
Greensboro, NC


 
 
 

Hard disk with more than 1024 cylinders and LILO

Post by Pera Putni » Thu, 06 Jan 2000 04:00:00



Quote:> In version 5.0 of Redhat Linux there is multiple system loader - LILO.
When
> I installed Linux for the first time (that was last year), i had Quantum
> 4,3GB hard disk and there was no problem at all. LILO was installed
properly
> and I was able to load either Windows or Linux.

> Now, I have Quantum 13GB hard disk, and LILO can't install. It reports
that
> problem is number of cylinders (more than 1024), which is important to
BIOS
> disk I/O routines. The rest of installation went allright - I was able to
> make both linux native and swap partitions and to copy the system to first
> one. Well, the only problem is that I can't boot linux.

> Before several years, I have used Slackware linux version 3 or something
and
> I have used boot floppy disks with it. I'm not sure is there any way to
make
> boot diskette on my present system (without access to linux partition). If
> there is newer version of LILO, or some other freeware loader, please give
> me it's URL.

  Try some disk manager like EZ Drive or Ontrack Disk Manager. And install
not Lilo in MBR, but in Linux partition.

   PP

 
 
 

Hard disk with more than 1024 cylinders and LILO

Post by nospa » Fri, 07 Jan 2000 04:00:00



Quote:> In version 5.0 of Redhat Linux there is multiple system loader - LILO.
When
> I installed Linux for the first time (that was last year), i had Quantum
> 4,3GB hard disk and there was no problem at all. LILO was installed
properly
> and I was able to load either Windows or Linux.

> Now, I have Quantum 13GB hard disk, and LILO can't install. It reports
that
> problem is number of cylinders (more than 1024), which is important to
BIOS
> disk I/O routines. The rest of installation went allright - I was able to
> make both linux native and swap partitions and to copy the system to first
> one. Well, the only problem is that I can't boot linux.

I have the exact same problem as you with a 9.1 GB SCSI drive. It seems like
no one has a clue how to fix this problem, or, no one understands what we
are asking.
 
 
 

Hard disk with more than 1024 cylinders and LILO

Post by Hugh Laws » Fri, 07 Jan 2000 04:00:00





Followup-To:




>> In version 5.0 of Redhat Linux there is multiple system loader - LILO.
>When
>> I installed Linux for the first time (that was last year), i had Quantum
>> 4,3GB hard disk and there was no problem at all. LILO was installed
>properly
>> and I was able to load either Windows or Linux.

>> Now, I have Quantum 13GB hard disk, and LILO can't install. It reports
>that
>> problem is number of cylinders (more than 1024), which is important to
>BIOS
>> disk I/O routines. The rest of installation went allright - I was able to
>> make both linux native and swap partitions and to copy the system to first
>> one. Well, the only problem is that I can't boot linux.

>I have the exact same problem as you with a 9.1 GB SCSI drive. It seems like
>no one has a clue how to fix this problem, or, no one understands what we
>are asking.

As I understand it, there is presently no lilo solution to booting Linux
when the kernel is located past the 1024 limit.  So how to deal with this
problem?  I believe each of the following will work.

1. Use loadlin in a msdos partition to boot Linux
2. Use a boot kernel on a floppy to boot Linux
3. Partition the drive so that the kernel will be on the low side of the
1024 limit.

If I've got this wrong, please correct!

--
Hugh Lawson
Greensboro, NC

 
 
 

Hard disk with more than 1024 cylinders and LILO

Post by nos.. » Fri, 07 Jan 2000 04:00:00





clipped:
>> Now, I have Quantum 13GB hard disk, and LILO can't install. It reports
>that
>> problem is number of cylinders (more than 1024), which is important to
>BIOS
>> disk I/O routines. The rest of installation went allright - I was able to
>> make both linux native and swap partitions and to copy the system to first
>> one. Well, the only problem is that I can't boot linux.

Then nospam said:
>I have the exact same problem as you with a 9.1 GB SCSI drive. It seems like
>no one has a clue how to fix this problem, or, no one understands what we
>are asking.

-----------------------------------------
Thu, 6 Jan 2000  16:29:28

That is not exactly true nospam, I have read several fixes
circumventing the cyl 1024 limitation on these newsgroups over the
recent few weeks....
        Some of them entail the use of the FIPS program to enable you
to put a kernel image in a /boot section in what is now your dos
partition below the 1024 cyl...there LILo will reach it..or the use of
Linloader or perhaps GRUB or you can put the Kernel on a floppy and
boot Linux from there....lots of fixes and workarounds..

        I cannot give you details for I do not use Linux and plan to
install it in the future...but right now I have zero experience..

not even a newby yet
Olly P

 
 
 

Hard disk with more than 1024 cylinders and LILO

Post by r-verhee » Fri, 07 Jan 2000 04:00:00


In addition:
Your bios can only read the first 1024 cilinders of a hard drive. Large disks
(more than 1024 cilinders) fool the bios by telling it that there are less
cilinders, but more heads and cilinders, reaching the same original size. This
works fine for wintendo.
Lilo isn't fooled by this as it ignores the bios.
A possibility not yet mentioned here is to create an additional bootsector for
linux below cilinder 1024. 32 Mb could already be sufficient. Partition magic can
do this for you.
When mounting partitions during installation, mount the bootdrive (wich is the
small drive you made below cilinder 1024) at /  and the larger drive at /usr
(this drive can be as large as you want.
This worked fine for me on an 13.6 Gb drive.

Greetings, Remko

 
 
 

Hard disk with more than 1024 cylinders and LILO

Post by Yury Donsko » Thu, 03 Feb 2000 04:00:00






> Followup-To:




> >> In version 5.0 of Redhat Linux there is multiple system loader - LILO.
> >When
> >> I installed Linux for the first time (that was last year), i had Quantum
> >> 4,3GB hard disk and there was no problem at all. LILO was installed
> >properly
> >> and I was able to load either Windows or Linux.

> >> Now, I have Quantum 13GB hard disk, and LILO can't install. It reports
> >that
> >> problem is number of cylinders (more than 1024), which is important to
> >BIOS
> >> disk I/O routines. The rest of installation went allright - I was able to
> >> make both linux native and swap partitions and to copy the system to first
> >> one. Well, the only problem is that I can't boot linux.

> >I have the exact same problem as you with a 9.1 GB SCSI drive. It seems like
> >no one has a clue how to fix this problem, or, no one understands what we
> >are asking.

> As I understand it, there is presently no lilo solution to booting Linux
> when the kernel is located past the 1024 limit.  So how to deal with this
> problem?  I believe each of the following will work.

> 1. Use loadlin in a msdos partition to boot Linux
> 2. Use a boot kernel on a floppy to boot Linux
> 3. Partition the drive so that the kernel will be on the low side of the
> 1024 limit.

> If I've got this wrong, please correct!

When partitioning a brand new drive for booting(i.e., you'll place the whole OS
on it - like I did with a 27GB Quantum), create a small partition(say, 10MB)
right at the very beginning of your drive and mount it at /boot.  Like this:
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda2               317706     61046    240255  20% /
/dev/hda1                13141      1397     11066  11% /boot

This'll take care of all these problems, no matter what drive you use.

Yury

--
-------------
"Join the Imperial Fleet and see the universe.
Meet interesting new forms of life and run away from them.
Helm, get us the hell out of here.  My head hurts."
    Captain John Silence on the bridge of the Starcruiser Dauntless.

 
 
 

1. LILO Problem(>1024 Cylinders in Hard Disk)

Dear Sir/Madam,

     My system configuration is as follows:

        AMD DURON 750 MHz.
        40GB Seagate HDD with more than 1024 cylinders(approx.4885)
        Micro Star International Motherboard
        160 MB SDRAM
     Partition Information:
        First 20GB for Windows 2000 Normal Server
        Remaining 20GB for RH Linux 6.2

     Now my problem is as follows:

         I have installed Windows 2000 Normal Server in my system with
FAT32 Filesystem.Now when I try to install RH Linux 6.2 it causes
problems.Ofcourse, I am able to install it completely without any
problem.The problem is with LILO boot.Infact the LILO Boot does not
comes after installation and rebooting.Only LI comes and the system
gets hanged.So I was not able to go to any of the OS's.Also I have
reserved 20GB of Hard disk space for the whole Linux System.Actually
the problem is with my HDD Cylinder.It has more than 1024 cylinders
and the lilo file and the linux boot files goes out of these 1024
cylinder mark.How I can rectify this problem so that I can get the
LILO boot option to go to either of the OS ?.Can this be solved
without formatting my Hard Disk ?.Please suggest a detailed remedy as
I was really fed up with this problem for the last one week doing the
trial and error.Please help immediately.

Thanks a lot in advance,
Sekhar Hari.

2. Help with awk ...

3. Q) How can I use LILO on the hard drive bigger than 1024 cylinders?

4. RIPEM/SIG

5. LILO won't work on my 1.3Gb Hard drive with > 1024 cylinders

6. how to execute a .exe file under unix?

7. Large disk boot beyond 1024 cylinders with LILO

8. Debugging with dynamic linking

9. Hard Disk Cylinder > 1024

10. How to use > 1024 cylinder hard disks

11. Hard Disk Cylinder > 1024

12. More than 1024 cylinders on the second hard disk

13. Large Hard Disk(more than 1024 cylinder)