Lilo installation problem

Lilo installation problem

Post by Marcin Romaszewic » Thu, 28 Jun 2001 06:29:21



Hi All,

I've got a problem installing lilo, and I'm at my wits' end as to how to
solve it.

The drive layout on the machine I'm working on is like this:
hda: 18GB EIDE windows disk
hdb: CD Writer
hdc: 40GB EIDE linux disk
hdd: CD drive
lilo version 21.7.5
redhat 7.1
kernel 2.4.2

The linux drive is laid out like this
1st 100 Mb:        /boot  (ext2)
next 1Gb:          swap
remaining 38 Gb :  /      (ext2)

In this situation, lilo should work fine regardless of lba32, linear or
plain old CHS modes since all files lilo needs to boot will be under 100
Mb and definitely under the 1023 cylinder limit. I've tried CHS, lba32
and linear,
but none worked.

I ran the lilo diagnostic floppy and it told me the motherboard supports
the large drive ATA extensions, so lilo deduces the drive geometries
correctly.

Lilo -v -v -v reports success installing there are no warnings or
errors.

However, when I boot, I get this:

L 02 02 02 02...

This means that the first stage boot loader (on hda) loaded fine, but
that it could not seek to the second stage boot loader in /boot.

For now, I've made a tiny linux partition on hda and put /boot on that
drive, and it works perfectly. The /boot is above 17Gb, so I'm using the
lba32 option. I need to get lilo installed in /boot on hdc though. Any
suggestions on what I might try?

Thanks in advance. When following up, please follow up via email as
well. I've got my actual email address in the message header.

-- Marcin

 
 
 

Lilo installation problem

Post by Marcin Romaszewic » Thu, 28 Jun 2001 07:35:47


Nevermind. I specified a disk=... line which lists the correct geometry
and removed "lba32" and now it works fine from the 100 Mb boot partition
on hdc.

-- Marcin


> Hi All,

> I've got a problem installing lilo, and I'm at my wits' end as to how to
> solve it.

> The drive layout on the machine I'm working on is like this:
> hda: 18GB EIDE windows disk
> hdb: CD Writer
> hdc: 40GB EIDE linux disk
> hdd: CD drive
> lilo version 21.7.5
> redhat 7.1
> kernel 2.4.2

> The linux drive is laid out like this
> 1st 100 Mb:        /boot  (ext2)
> next 1Gb:          swap
> remaining 38 Gb :  /      (ext2)

> In this situation, lilo should work fine regardless of lba32, linear or
> plain old CHS modes since all files lilo needs to boot will be under 100
> Mb and definitely under the 1023 cylinder limit. I've tried CHS, lba32
> and linear,
> but none worked.

> I ran the lilo diagnostic floppy and it told me the motherboard supports
> the large drive ATA extensions, so lilo deduces the drive geometries
> correctly.

> Lilo -v -v -v reports success installing there are no warnings or
> errors.

> However, when I boot, I get this:

> L 02 02 02 02...

> This means that the first stage boot loader (on hda) loaded fine, but
> that it could not seek to the second stage boot loader in /boot.

> For now, I've made a tiny linux partition on hda and put /boot on that
> drive, and it works perfectly. The /boot is above 17Gb, so I'm using the
> lba32 option. I need to get lilo installed in /boot on hdc though. Any
> suggestions on what I might try?

> Thanks in advance. When following up, please follow up via email as
> well. I've got my actual email address in the message header.

> -- Marcin


 
 
 

Lilo installation problem

Post by Rasmus B?g Hanse » Thu, 28 Jun 2001 07:57:03



> The drive layout on the machine I'm working on is like this:
> hda: 18GB EIDE windows disk
> hdb: CD Writer
> hdc: 40GB EIDE linux disk
> hdd: CD drive
> lilo version 21.7.5
> redhat 7.1
> kernel 2.4.2

> The linux drive is laid out like this
> 1st 100 Mb:        /boot  (ext2)
> next 1Gb:          swap
> remaining 38 Gb :  /      (ext2)

> In this situation, lilo should work fine regardless of lba32, linear or
> plain old CHS modes since all files lilo needs to boot will be under 100
> Mb and definitely under the 1023 cylinder limit. I've tried CHS, lba32
> and linear,
> but none worked.

> I ran the lilo diagnostic floppy and it told me the motherboard supports
> the large drive ATA extensions, so lilo deduces the drive geometries
> correctly.

> Lilo -v -v -v reports success installing there are no warnings or
> errors.

> However, when I boot, I get this:

> L 02 02 02 02...

Putting:

disk=/dev/hdc
     bios=0x81

in lilo.conf will probably help you.

Rasmus

--
-- [ Rasmus 'M?ffe' B?g Hansen ] --------------------------------------
If you only have a hammer
everything looks like a nail
--------------------------------- [ moffe at amagerkollegiet dot dk ] -n

 
 
 

1. LILO installation PROBLEMS *****

        I'm having problems getting LILO to work.  I installed the lates
Slackware distribution (the first four disks).  Everything seemed to be going
smoothly until I installed LILO.  From the LILO install menu I selected
the option which worked with the OS/2 boot manager (2nd option which was root)
and I added the Linux partition to LILO and then selected install.  Upon
reboot OS/2 gave me an error.  It seems it could not find the partition that
Linux was on.

Anyone have any insight?

2. Basic Question About Partitions

3. LILO Installation Problem with Slackware 3.5

4. GW2000 ATI MACH64 problem with screen draws...

5. LILO installation problem, writing to MBR

6. run program?

7. Lilo installation problem

8. Question: Any viruses for Linux?

9. LILO Installation problems

10. LILO installation problems

11. LILO installation problem

12. SOLVED: LILO installation problem

13. Lilo Installation Problem