[RHCE] troubleshooting preperatoin

Jeremy Portzer rhce@trilug.org
22 Apr 2003 23:24:22 -0400


That wouldn't work if the glibc on the hard drive was messed up,
however.  Because once you chroot, you'll be using the glibc in
/mnt/sysimage.  (Same thing can apply to any other program that you
might need to use, such as rpm, but glibc affects everything).  That's
why the --root option to rpm is so handy.

--Jeremy

On Tue, 2003-04-22 at 21:35, Joseph Tate wrote:
> cd /mnt/sysimage
> chroot .
> Also works well before you reboot after doing an install from the shell 
> at Alt-F2
> 
> Jeremy Portzer wrote:
> 
> >One drawback to using a Knoppix CD to troubleshoot a Red Hat install --
> >you don't have accses to rpm.  Running rpm with the "--root
> >/mnt/sysimage" option can be very useful for a number of reasons, such
> >as correcting the glibc update if you installed the wrong one, for
> >example.  (See my previous post.)
> >
> >--Jeremy
> >
> >On Tue, 2003-04-22 at 19:11, Jon Carnes wrote:
> >  
> >
> >>I'm going to boot to knoppix and explore around.  That will confirm that
> >>it isn't a hardware or disk problem. After that I'll just make sure the
> >>data is safe (and the configurations: /etc copied to a safe place), and
> >>then I'll try the install myself.
> >>
> >>Moving it back to RHCE... If I didn't have Knoppix, I would just boot
> >>the RH cd's to rescue mode and do my poking that way.
> >>
> >>I would love to have you come along, but I'd have to ask the client
> >>first... and they won't be in the office again till tomorrow :-(
> >>
> >>Take care - Jon
> >>
> >>On Tue, 2003-04-22 at 18:59, Jason Tower wrote:
> >>    
> >>
> >>>what did they do - try to apply windows updates?  *grin*
> >>>
> >>>knoppix is terrific for such situations (or the red hat rescue cd, but i 
> >>>find that knoppix is more full featured and offers more networking 
> >>>tools and utilities, including X).  it has saved my butt on more than 
> >>>one occasion.  i'll be happy to join you if you want, it's always 
> >>>informative to watch a pro in action :)
> >>>
> >>>jason
> >>>
> >>>      
> >>>
> >>_______________________________________________
> >>RHCE@trilug.org Mailing list
> >>   http://www.trilug.org/mailman/listinfo/rhce
> >>Archives for the RHCE list:
> >>   http://www.trilug.org/pipermail/rhce
> >>
> >>    
> >>
> >
> >_______________________________________________
> >RHCE@trilug.org Mailing list
> >   http://www.trilug.org/mailman/listinfo/rhce
> >Archives for the RHCE list:
> >   http://www.trilug.org/pipermail/rhce
> >  
> >
> 
> _______________________________________________
> RHCE@trilug.org Mailing list
>    http://www.trilug.org/mailman/listinfo/rhce
> Archives for the RHCE list:
>    http://www.trilug.org/pipermail/rhce
>