I've been really afraid to post this for fear that it is
something REALLY stupid, but I still can't figure it out.

I'm running a box-stock RedHat 6.1, no new kernel.

Downloaded the dos.zip versions of both 1.7.361 and 2.0.96,
created my flops, and booted tomsrtbt.  Made all the mount
points, mounted them, did the chroot --- and it doesn't work. 
Read all I could find that seemed related in the FAQ and the
wikiwiki, and it seems they all say "chroot <mountpoint>
/bin/sh" should do the job in most any environment (except for
the RH7 stuff, but that's not a concern for now)  Tried both
versions of rtbt, with essentially identical results.

OK, what bonehead blunder did I make?

Here is my relevant configuration information.

Putting on my flame-retardant suit now.

Filesystem 1k-blocks   Used Available Use% Mounted on
/dev/ram0      2373    2283        90  96% /
none              0       0         0   -  /proc
/dev/ram3      4049       1      4048   0% /tmp
/dev/hda6   1166688  766428    340992  71% /rootpart
/dev/hda1    527112  207260    319852  39% /rootpart/Win98
/dev/hda3   1035788 1028028         0 100% /rootpart/data
/dev/hda5    257673  109541    134828  48% /rootpart/usr/users


-rwxr-xr-x 1 root root 373176 Apr  6 1999 /rootpart/bin/bash
lrwxrwxrwx 1 root root      4 Jun 29 2001 /rootpart/bin/sh->bash
-rwxr-xr-x 1 root root  70864 Sep 22 1999 /rootpart/sbin/lilo

----- with tomsrtbt-1.7.361 -----

  + chroot /rootpart bash
  chroot: cannot execute bash: No such file or directory
  + chroot /rootpart /bin/bash
  chroot: cannot execute /bin/bash: No such file or directory
  + chroot /rootpart /sbin/lilo -q
  chroot: cannot execute /sbin/lilo: No such file or directory

----- with tomsrtbt-2.0.96 -----

  + chroot /rootpart /bin/sh
  + RC=254
  + chroot /rootpart /bin/bash
  + RC=254
  + chroot /rootpart /sbin/lilo -q
  + RC=254

=====
Bill Kemmery, Unix Admin since 1979

"There is no good implementation of a bad design."

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

Reply via email to