[99474] in RedHat Linux List
Re: Recovering from Partition Magic
daemon@ATHENA.MIT.EDU (Eric Goforth)
Sat Nov 14 16:19:56 1998
Date: Sat, 14 Nov 1998 16:17:06 -0500
To: Tony Nugent <Tony.Nugent@usq.edu.au>
From: Eric Goforth <ericgoforth@csi.com>
Cc: redhat-list@redhat.com
In-Reply-To: <199811140620.QAA25237@tashi.sci.usq.edu.au>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
At 04:20 PM 11/14/98 +1000, Tony Nugent wrote:
>
>[ log story of woes with Partition Magic]
>
>> The next step is where I ran into problems, as suggested I tried setting
>> the lilo boot sector with lilo -r /mnt. It then complained that the
>> version code in the boot record was the wrong one, as the instructions said
>> it might so I tried /mnt/sbin/lilo -r /mnt instead. I then get a message
>> saying "No such file or directory." However, if I change to the /mnt/sbin
>> directory I see lilo there. Doing an ls -l showed that root could rwx the
>> file. Any idea why it doesn't recognize /mnt/sbin/lilo?
>
>It can, but the problem is that it is not finding your glibc libraries that
>it needs.
>
>LD_LIBRARY_PATH=/mnt/lib:/mnt/usr/lib/
>export LD_LIBRARY_PATH
>/mnt/sbin/lilo -r /mnt
>
>This should (normally) work.
I went back through all the steps. I wasn't clear if I needed to set the
root file system partition and set the new swap partition on subsequent
reboots with the rescue disk so I did it again just to be safe. I went
through the steps that you suggested to get lilo to find my glibc libraries
and still got the "No such file or directory" message I then realize that
I had left out a leading slash. I had typed the following:
LD_LIBRARY_PATH=/mnt/lib:mnt/usr/lib/
export LD_LIBRARY_PATH
/mnt/sbin/lilo -r /mnt
I figured that this might cause a problem since it might look for the
/mnt/usr/lib relative to the current working directory. I then redid it
just like you sent it to me with the same result. I then added a trailing
"/" to what you had sent me, ie:
LD_LIBRARY_PATH=/mnt/lib/:/mnt/usr/lib/
export LD_LIBRARY_PATH
/mnt/sbin/lilo -r /mnt
with the same results. Could the glibc libraries be in another location or
something? This is a RH 5.0 installation.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.