[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dynamically linked lilo is a problem



On Tue, Aug 13, 2002 at 06:52:01PM +0100, Colin Watson wrote:
> On Wed, Aug 14, 2002 at 03:43:25AM +1000, Andrew Luke Nesbit wrote:
> > Whew!  I just had a frightful past couple of hours trying to restore a
> > trashed MBR :(
> > 
> > What made this process far more difficult than necessary was the fact
> > that the lilo executable (/sbin/lilo.real) is a dynamically linked
> > executable, so it can't be run when mounted by a rescue disk.
> 
> You should have /lib in that context, where all of /sbin/lilo.real's
> libraries live. Say you have the filesystem mounted on /target; then
> 'LD_LIBRARY_PATH=/target/lib /sbin/lilo.real' will allow it to run.

Okay, I'll try that.  What if I were to run /sbin/lilo.real in a chroot
environment... would that also put /lib into the context?  Thanks.

Andrew.



Reply to: