Problems with RedHat-4.0 and LILO-installation

Problems with RedHat-4.0 and LILO-installation

Post by Iiro Harjunkoski » Tue, 08 Oct 1996 04:00:00



Hello!

I tried to install RedHat-4.0 via ftp and everything seemed to be in
order, but at the end of the installation in the section "Bootloader
installation", suddenly the program could not install LILO. I tried
all the possibilities (master boot record = /dev/hda, Linux
partition = /dev/hdb2 and /dev/fd0) but each of them failed.

Unfortunately the error message is of MS-type and only tells that
'An error occured during step "Install bootloader" of the install'.

Has anyone been faced with this problem (and solved it)? Please, if
you have a solution, let me know!

I have a Pentium-90 and my former harddrive /dev/hdb crashed, which caused
a loss of the entire /usr-directory. Now I try to install the new Linux on
the new clean harddrive, so it should be equal to installing a new system.
More precisely, all partitions (/ /usr etc) are on this drive (/dev/hdb).
If the fault is in the installation package, where can I find a working site?

I would be pleased if you could drop me an e-mail as well.

Thank you in advance,

                Iiro Harjunkoski

 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by Mike Lask » Tue, 08 Oct 1996 04:00:00



: I tried to install RedHat-4.0 via ftp and everything seemed to be in
: order, but at the end of the installation in the section "Bootloader
: installation", suddenly the program could not install LILO. I tried
: all the possibilities (master boot record = /dev/hda, Linux
: partition = /dev/hdb2 and /dev/fd0) but each of them failed.

: Has anyone been faced with this problem (and solved it)? Please, if
: you have a solution, let me know!

The problem seems to be that the kernel referenced by lilo is
different in file name from the one installed.  At the time you get to
lilo install.  Switch to the shell prompt (Alt-F2) and:
cd /mnt/boot
cat vmlinuz-2.0.18 > vmlinuz

Switch back to installation (Alt-F1) and it should work.

--
Mike


 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by Bria » Mon, 14 Oct 1996 04:00:00


Quote:> I tried to install RedHat-4.0 via ftp and everything seemed to be in
> order, but at the end of the installation in the section "Bootloader
> installation", suddenly the program could not install LILO. I tried
> all the possibilities (master boot record = /dev/hda, Linux
> partition = /dev/hdb2 and /dev/fd0) but each of them failed.

I have experienced the same problem.  This is my system.
cpu: amd486 80Mghz
mem: 25 M
/dev/hda : 407 M
        2 partitions
        hda1 DOS
        hda2 linux swap
/dev/hdb : 2 G, about 3800 cylinders, but the root partition is in the
        first 1024 cylinders.  many partitions /, /usr, /home, /usr/local,
        etc.

HELP!!!

|__      __   o
|   \ |/    \ |
|__ / |       |

 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by Bria » Mon, 14 Oct 1996 04:00:00



> : I tried to install RedHat-4.0 via ftp and everything seemed to be in
> : order, but at the end of the installation in the section "Bootloader
> : installation", suddenly the program could not install LILO. I tried
> : all the possibilities (master boot record = /dev/hda, Linux
> : partition = /dev/hdb2 and /dev/fd0) but each of them failed.

> The problem seems to be that the kernel referenced by lilo is
> different in file name from the one installed.  At the time you get to
> lilo install.  Switch to the shell prompt (Alt-F2) and:
> cd /mnt/boot
> cat vmlinuz-2.0.18 > vmlinuz

> Switch back to installation (Alt-F1) and it should work.

I tried this procedure and it seemed to work, but then when i reboot i get
a lot of errors about loading libraries.  Finally when i try to login,
like the other guy, i get a flash about some library.

Put it this way.  If you don't help me, i may just go back to using
Windoze.  Ok, that's just a threat, i would never.

|__      __   o
|   \ |/    \ |
|__ / |       |

 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by Iiro Harjunkosk » Tue, 15 Oct 1996 04:00:00



> I tried this procedure and it seemed to work, but then when i reboot i get
> a lot of errors about loading libraries.  Finally when i try to login,
> like the other guy, i get a flash about some library.

> Put it this way.  If you don't help me, i may just go back to using
> Windoze.  Ok, that's just a threat, i would never.

The problems I had were caused by a buggy ftp-installation program.
However, an installation seems to be possible if you do a minimal
installation with the base + gcc, make and perl, in order to be able to
compile packages or install them with RPM.

There are two possibilities: either you can wait until the bugs are
fixed and install everything at once, or then you can do as I did, do
the minimal installation and continue installing packages with RPM or
some other way. I think that it is best to install X without RPM. I had
some problems with the 312G (complaints about too old ncurses-library)
but the 312F works well.

I do not recommend fixing the libraries by adding symlinks because then
the login-program does not work. Thus, there are more problems than just
the one with the kernel and the other with the libraries.

Best regards,
                Iiro Harjunkoski

 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by Clarence Wilkers » Tue, 15 Oct 1996 04:00:00


I had no luck installing from its own hardrive partition
or via NFS. However FTP install did work pretty smoothly.
One bug with the install from hard drive was that if the
source drive with listed in your old fstab, the install would
not mount it.

With the Sparc version, the boot disk images will
not dd out cleanly to a floppy from a Sun, because
their length is not a multiple of 512. After I filled
out the length to the next higher multipleof 512, it
dd'ed ok, and booted from my IPX ok.

Clarence Wilkerson

 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by Brandon S. Darb » Tue, 15 Oct 1996 04:00:00


: There are two possibilities: either you can wait until the bugs are
: fixed and install everything at once, or then you can do as I did, do
: the minimal installation and continue installing packages with RPM or
: some other way. I think that it is best to install X without RPM. I had
: some problems with the 312G (complaints about too old ncurses-library)
: but the 312F works well.

I read all of the ftp install nightmares...  And my cd order was a week over
due...  Came to the idea to ftp the whole thing into its own linux partition,
and install it from there.  Worked flawless.  First I tried the upgrade, just
to see (upgrade from 3.0.3) if it worked.  Terrific.  Then, because I wanted to
blow away many self compiled things that were installed all over hell and back,
I did a clean install.  Worked equaly well.

If you're going to ftp it to install, and if you have the space, just put it on
its own partition and install it locally.  Then you won't have any of the
net-install bugs.

*Darb



 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by Brandon S. Darb » Tue, 15 Oct 1996 04:00:00



: I read all of the ftp install nightmares...  And my cd order was a week over
: due...  Came to the idea to ftp the whole thing into its own linux partition,
: and install it from there.  Worked flawless.  First I tried the upgrade, just
: to see (upgrade from 3.0.3) if it worked.  Terrific.  Then, because I wanted to
: blow away many self compiled things that were installed all over hell and back,
: I did a clean install.  Worked equaly well.

: If you're going to ftp it to install, and if you have the space, just put it on
: its own partition and install it locally.  Then you won't have any of the
: net-install bugs.

I had several of emails on my previous post, asking about the specifics of
where I put the RedHat ftp'd files.  Rather then email them all, I'll post
here.

I have a 1.6 gig EIDE drive, partitioned with 1) 32 meg swap and 2) Linux.  I
also have a scsi Panasonic PD optical drive...  partitioned to /dev/sda1.  I
put the entire Redhat ftp collection on the optical, /dev/sda1 (ext2
filesystem).  I told the installation program what device it was on and it went
from there.

This should also work if you make a dedicated partition on your EIDE disk.
Partition it like so:

        1) dos (if you *really* deem it necessary)
        2) linux swap
        3) linux (main, ext2 format)
        4) linux (extra, ext2 format)

And put the distribution on 4.  Granted the order may vary, but you get the
idea.  The distribution is about 170 megs, if I remember correctly.  You could
even use FIPS to shrink your dos partition to make room for the extra linux
partition, do the install, remove the extra partition, and use FIPS to give the
space back to dos. (shudder)

I have been told by RedHat that the Archive 4 CD set w/ redhat4.0 has been
delayed, and that it will ship as soon as they get them in...  So you might
just want to wait.

*Darb


 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by Charles A. Plat » Tue, 15 Oct 1996 04:00:00



: If you're going to ftp it to install, and if you have the space, just put it on
: its own partition and install it locally.  Then you won't have any of the
: net-install bugs.

Anyone know why I can only login via telnet, but not over pop3, or ftp?  I
did a clean install, and everything seemed to go ok, but I cannot login
via ftp, or pop, and this is kind of a problem. I can however login for
anonymous ftp, just my user id's can't log in to do ftp to their home
dirs, etc. I'm assuming that this is because of the shadow password
support, but I'm not sure.  Anyone else have this problem.

--

        Charles A. Plater, Lab Supervisor, Wayne State University

     o                  Lola Valley Lodge #583 F&AM               o
    /^\        Valley of Detroit AASR | Moslem Shrine AAONMS     /^\
  \/ G \/           Kindness Chapter No. 523 O.E.S.            \/ G \/

                <a href="http://www.ascl.wayne.edu/~cplater>

 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by Nicolai P Gub » Tue, 15 Oct 1996 04:00:00



    B >  Put it this way.  If you don't help me, i may just go back to
    B >  using Windoze.  Ok, that's just a threat, i would never.

Pretty weak threat,  considering the fact that it is you who will have
to wrestle with Windows...
--
        nicolai

 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by W. Paul Mil » Wed, 16 Oct 1996 04:00:00






>>: I tried to install RedHat-4.0 via ftp and everything seemed to be in
>>: order, but at the end of the installation in the section "Bootloader
>>: installation", suddenly the program could not install LILO. I tried
>>: all the possibilities (master boot record = /dev/hda, Linux
>>: partition = /dev/hdb2 and /dev/fd0) but each of them failed.

>>: Has anyone been faced with this problem (and solved it)? Please, if
>>: you have a solution, let me know!

>>The problem seems to be that the kernel referenced by lilo is
>>different in file name from the one installed.  At the time you get to
>>lilo install.  Switch to the shell prompt (Alt-F2) and:
>>cd /mnt/boot
>>cat vmlinuz-2.0.18 > vmlinuz

>>Switch back to installation (Alt-F1) and it should work.
>I had the same problem, and just did as you described.  At first, it
>seemed to work fine, but upon rebooting, when the login: prompt comes
>up, and I type root, the error message "/bin/login   can't load
>library libdl.so.1" flashes very quickly.  ALSO, now in my win95
>partition, the HD controllers are loading in MS-DOS compatability
>mode, causing performance hits and my CD-ROM is not recognized unless
>I load the real mode drivers.  I don't have any idea how this
>happened, but it all happened at once, so I know they are related.  Do
>you have any ideas?

Sounds like plug-n-PRAY problems to me. Aren't M$ standards great! But you
may also have a missing or corrupt libdl.so.1, link problems,..

--
 ----------------  http://www.tyrell.net/~wpmills/  ----------------
: W. Paul Mills          : Compiler Bug: Any action of the compiler :
: Topeka, Kansas, U.S.A. :               that I did not intend. It  :





: compuserve 70023,1750  : #define MY_TRUE_LOVE computer            :
 --------------  http://homepage.midusa.net/~wpmills/  -------------

 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by zd.. » Wed, 16 Oct 1996 04:00:00


I am having a very similar problem...

Everything works up until the lilo install.  I can switch to my
virtual console (Alt-2), and /boot/vmlinuz is a sym-link to the actual
kernel.  Still can't lilo install.

If I try run LILO by myself (on the virtual console) it says:
"Must specify LOADER for BIOS device xxxx"

Any hints?

 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by Anders Sjolu » Thu, 17 Oct 1996 04:00:00




>> I tried this procedure and it seemed to work, but then when i reboot i get
>> a lot of errors about loading libraries.  Finally when i try to login,
>> like the other guy, i get a flash about some library.

>> Put it this way.  If you don't help me, i may just go back to using
>> Windoze.  Ok, that's just a threat, i would never.

>The problems I had were caused by a buggy ftp-installation program.
>However, an installation seems to be possible if you do a minimal
>installation with the base + gcc, make and perl, in order to be able to
>compile packages or install them with RPM.
>There are two possibilities: either you can wait until the bugs are
>fixed and install everything at once, or then you can do as I did, do
>the minimal installation and continue installing packages with RPM or
>some other way. I think that it is best to install X without RPM. I had
>some problems with the 312G (complaints about too old ncurses-library)
>but the 312F works well.
>I do not recommend fixing the libraries by adding symlinks because then
>the login-program does not work. Thus, there are more problems than just
>the one with the kernel and the other with the libraries.
>Best regards,
>            Iiro Harjunkoski

Or do what I did - First ftp-install EVERYTHING, partition and format
the /, /usr, /var, ..., partitions you want. At the end of this
installation you're hit by the ftp-install bug, and you can't put lilo
on the master boot block. SKIP this step, and the installation is done
(broken, but finished...)

Then you reboot the boot floppy again, but this time you ftp-install
nothing but the base distribution (you select nothing in the package
selection screen). DO NOT format the partitions. This time the
installation finishes OK. Reboot, and you have the complete
installation up and running !

There may be an intermediate step you have to make - I don't think
it's necessary, but I did it when trying to fix the broken first
installation:
Boot from the floppy in single user mode:
        lilo: linux root=/dev/hda2 single
(substitute your root partition for hda2 above)
Go to the /boot directory and hard link the vmlinuz-2.0.18 kernel to
vmlinuz
        # ln vmlinuz-2.0.18 vmlinuz

I hope this helps while waiting for the CD or RedHat to fix the ftp
installation.

/Anders

Anders Sj?lund         Tel     +46 18 132010, +46 70 5270114
Unilog Systems AB       Fax     +46 18 132011

753 23 Uppsala          WWW     http://www.unilog.se/anders

 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by Larry Smit » Thu, 17 Oct 1996 04:00:00



 >     B >  Put it this way.  If you don't help me, i may just go back
to
 >     B >  using Windoze.  Ok, that's just a threat, i would never.

 > Pretty weak threat,  considering the fact that it is you who will
have
 > to wrestle with Windows...

I think that was an example of the "cutting off
one's nose just to spite one's face" mentality -
an example of the mental illness that can be
caused by configuration problems or regular
use of Microsoft products...

 
 
 

Problems with RedHat-4.0 and LILO-installation

Post by Erik Tro » Thu, 17 Oct 1996 04:00:00



>>>: I tried to install RedHat-4.0 via ftp and everything seemed to be in
>>>: order, but at the end of the installation in the section "Bootloader
>>>: installation", suddenly the program could not install LILO. I tried
>>>: all the possibilities (master boot record = /dev/hda, Linux
>>>: partition = /dev/hdb2 and /dev/fd0) but each of them failed.

>>>: Has anyone been faced with this problem (and solved it)? Please, if
>>>: you have a solution, let me know!

There is now a new supp.img that should fix the problems everyone's been
seeing with the ftp install. It's available from:

        ftp.redhat.com:/pub/redhat/redhat-4.0/updates/images/i386

Erik

-------------------------------------------------------------------------------
   Always hoped that I'd be an apostle. Knew that I would make it if I tried.
     Then when we retire we can write the gospels so they'll all talk about
       us when we've die. - "The Last Supper" from Jesus Christ Superstar

 
 
 

1. LILO Installation problems (Redhat)

I'm trying to install the Redhat 4.0 release of Linux with Windows NT
and 95 already running on my system. I have a 3.2 gig EIDE hard drive,
and 95 and NT are both running in the first primary partition, which
is 2 gigs in size. During the Redhat installation process I created a
Linux native partition and a Linux swap partition in the remaining 1.2
gigs of space on my hard drive, and the installation goes smoothly,
and everything seems to be going well, until the very end of the
installation process, while installing LILO. For some reason I can't
get LILO to install into the first sector of the Linux root partition.
It gives me a rather undescriptive error, telling me that it failed to
install LILO, and gives no good reason. Now, it very well might work
installing LILO to my MBR but I don't want it to trash my NTLDR stuff,
making me unable to boot into NT and 95. I have a program to add the
linux partition to the NT boot manager if I can just get LILO to
install to that partition. Is there any reason why LILO would refuse
to install? And has anyone else had similar problems with trying to
install LILO into a partition's root sector? Thanks in advance for the
help.

Raefer Gabriel

2. FTP not working....

3. redhat installation problem at LILO stage: help needed

4. How to catch signals

5. LILO Installation problems (Redhat)

6. Redirecting pages based on the domain

7. LILO Installation in RedHat 4.0

8. 2.5.45 build failures

9. redhat installation/lilo fail

10. How To Install LILO after RedHat installation ?

11. Error During Installation of RedHat Linux (at LILO section)

12. Lilo/RedHat/SCSI Installation failure. Infuriating!

13. Installation/LILO question redhat 5.2