LILO doesnt like > 1024 cyls? - help please

LILO doesnt like > 1024 cyls? - help please

Post by John O'Brie » Sun, 26 Mar 1995 03:43:47



I'm running a 486 with 8 MB ram + two 540 MB Seagate Drives each
having 1057 cylinders.  I installed Slackware 1.1.59 on the
slave drive ( IDE drives ) and have dos/win on the first.
I can not get LILO to boot from the mbr of the dos drive.  I
have to use a floppy to boot Linux.  While installing Linux
I got a message saying that since I had more than 1024 cylinders
I might have problems with some software.  the only problem I
have had is getting LILO to boot from the MBR.  Does anyone
have a suggestion?  I have removed LILO from the mbr and tried
reinstalling it but no success.   Any advice will be really
appreciated.                            John O'Brien
 
 
 

LILO doesnt like > 1024 cyls? - help please

Post by Bil He » Sun, 26 Mar 1995 13:30:33


: I'm running a 486 with 8 MB ram + two 540 MB Seagate Drives each
: having 1057 cylinders.  I installed Slackware 1.1.59 on the
: slave drive ( IDE drives ) and have dos/win on the first.
: I can not get LILO to boot from the mbr of the dos drive.  I
: have to use a floppy to boot Linux.  While installing Linux
: I got a message saying that since I had more than 1024 cylinders
: I might have problems with some software.  the only problem I
: have had is getting LILO to boot from the MBR.  Does anyone
: have a suggestion?  I have removed LILO from the mbr and tried
: reinstalling it but no success.   Any advice will be really
: appreciated.                          John O'Brien

My limited understanding is that LILO should still work provided that the
kernel it's trying to boot exists within the first 1024 cylinders.  Rather
than try and figure out whats wrong with your LILO config, might I suggest
LOADLIN.  You keep one or several kernal images on your dos drive and
pass one of them to the dos program loadlin and off ya go.  I had to
resort to this after installing NT on my system and didn't want to
get overly complicated 'bout who does what to the MBR. A nice side effect
is when your done Windozin ya can go right into Linux w/o rebootin.

--
/////////////////////////////
/  Bil Herd                 /

/  "It's only sand..."      /
/////////////////////////////

 
 
 

LILO doesnt like > 1024 cyls? - help please

Post by John O'Brie » Tue, 28 Mar 1995 05:41:39



>than try and figure out whats wrong with your LILO config, might I suggest
>LOADLIN.  You keep one or several kernal images on your dos drive and
>pass one of them to the dos program loadlin and off ya go.  I had to

Thanks for your suggestion.  I did it and it works jest fine!  Why couldn't
I have thought of that?  Your "limited understanding" is a lot less limited
then mine is.                                           Regards,
                                                        John O'Brien
 
 
 

LILO doesnt like > 1024 cyls? - help please

Post by Johnny J Ch » Wed, 29 Mar 1995 00:58:55




>>than try and figure out whats wrong with your LILO config, might I suggest
>>LOADLIN.  You keep one or several kernal images on your dos drive and
>>pass one of them to the dos program loadlin and off ya go.  I had to

>Thanks for your suggestion.  I did it and it works jest fine!  Why couldn't
>I have thought of that?  Your "limited understanding" is a lot less limited
>then mine is.                                               Regards,
>                                                    John O'Brien

Since your drives have 1057 cylinders, have you tried to half the
cylinders and double the heads?  I was told that would work.  Since I
have a different controller, I can't tell you if this will work.
--

Onesimus Enterprises International, Inc.         tel: +1 (718) 251-6930
                                                 fax: +1 (718) 251-1722
 
 
 

LILO doesnt like > 1024 cyls? - help please

Post by Delepine Jean Charl » Thu, 30 Mar 1995 04:00:00


: I'm running a 486 with 8 MB ram + two 540 MB Seagate Drives each
: having 1057 cylinders.  I installed Slackware 1.1.59 on the
: slave drive ( IDE drives ) and have dos/win on the first.
: I can not get LILO to boot from the mbr of the dos drive.  I
: have to use a floppy to boot Linux.  While installing Linux
: I got a message saying that since I had more than 1024 cylinders
: I might have problems with some software.  the only problem I
: have had is getting LILO to boot from the MBR.  Does anyone
: have a suggestion?  I have removed LILO from the mbr and tried
: reinstalling it but no success.   Any advice will be really
: appreciated.                          John O'Brien

Your boot partition have to be <1024 cylinders and it must end before
the 1024th cylinder.
Read the file /usr/src/linux/drivers/block/README.ide
--
----------------------------------------------------------------------------
  Jean Charles Delepine          /// D.E.A. Informatique

 
 
 

LILO doesnt like > 1024 cyls? - help please

Post by douglas craig holla » Thu, 30 Mar 1995 04:00:00



:I'm running a 486 with 8 MB ram + two 540 MB Seagate Drives each
:having 1057 cylinders.  I installed Slackware 1.1.59 on the
:slave drive ( IDE drives ) and have dos/win on the first.
:I can not get LILO to boot from the mbr of the dos drive.  I
:have to use a floppy to boot Linux.  While installing Linux
:I got a message saying that since I had more than 1024 cylinders
:I might have problems with some software.  the only problem I
:have had is getting LILO to boot from the MBR.  Does anyone
:have a suggestion?  I have removed LILO from the mbr and tried
:reinstalling it but no success.   Any advice will be really
:appreciated.                           John O'Brien

Something you might want to do is read the Large-IDE howto in the mini-howto
directory on sunsite or another Linux ftp site.  It describes in detail the
problems Linux and its utilities (fdisk and LILO) have with EIDE drives.
I had the same problem with an EIDE hard disk with 1048 cylinders, but if you
know the magic incantation, you can use LILO to boot off of anywhere on
your hard drive, even from partitions that live in the area > 1024 cylinders.

For one thing, you need to make sure Linux's fdisk is partitioning your drive
properly, since it gets confused by EIDE translation.  With my drive, I
had to type 'x' in fdisk to go into expert mode, and change my cylinders and
heads from 1048 cylinders & 16 heads to 524 cylinders and 32 heads, so it
would see the partition table the same way Mess-DOS sees it, and partition
it correctly.

To get LILO to work, I installed Slackware normally, but when I installed
LILO, I used the LILO configuration program to generate a normal lilo.conf
file, then I edited the file and added the line "linear" to it, so LILO would
get sector translation on the fly, instead of using premapped values which
are untranslated.  Once this line was added, LILO worked great.

Everything else should work OK once you do these two things, since newer
Linux kernals can handle EIDE drives automatically.

Good luck.

Doug

--
---------------------------------- "I'll be back."
Doug Holland                     | "Only in a rerun."

Finger for PGP keys              | _The Running Man_

 
 
 

1. fdisk says >1024 cyls, but loadlin doesnt....??

Hi.

        I have a 730 MB IDE drive.  My bios supports LBA.  LILO works
fine.  I have dos on /hda1, linux on /dev/hda2 and a swap on /dev/hda3.  
Here is my lilo.conf file:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hd=1416,16,63"
linear
boot = /dev/hda
compact        # faster, but won't work on all systems.
prompt
vga = normal    # force sane state
ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /vmlinuz
  root = /dev/hda2
  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

        When I boot DOS from lilo, and then run loadlin, fdisk reports my
BIOS setup (708,32,63) and I get no errors.  When I just load Linux, I
get fdisk of (1416,16,63) and a crapload of errors.  Is there no way I
can fix this junk?  Also, I cannot install lilo now because I get a
logical block difference for hda2.  Any suggestions?

-bryan

/ ##########################################################
. ##____________________________________________________/ ##

. ## Valued Client Since 1.1.59                         | ##
. ##########################################################
/........................................................./

2. FTP problem !!

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

4. NetBIOS with NAT using iptables helper module

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

6. cron: updateb ???

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

8. Stats comp.os.linux.networking (last 7 days)

9. disk w/cyl >1024 and lilo

10. Lilo install probs > 1024 cyl

11. LiLo Question - How Boot > 1024 Cyl?

12. LILO, >1024 cyl?

13. getting LILO to work if cyl > 1024