On Mon, Nov 11, 2002 at 03:29:35PM +0000, Pigeon wrote: > On Mon, 11 Nov 2002 07:24:56 +0000, Pigeon <[EMAIL PROTECTED]> > wrote: > > >Nah - no luck. Rescue disk has no dpkg. It's the same as the boot > >image you get in the Debian 2.1 single CD.
Instead of using rescue disk you could try tomsrtbt at http://www.toms.net/rb/. > > > >I tried copying /lib/* and /etc/ld.so.cache from the rescue disk to > >the hard drive. Now the kernel can find init, but it still gets an > >error loading shared libraries - undefined symbol: stderr - and panics > >(unsurprisingly). Same with rescue 2.2.12 kernel and my 2.4.18. > > > Am I right in thinking that all ldconfig does is update the symlinks > and /etc/ld.so.c[ache|onf]? If so, isn't all I need to know, what is > the binary data at the beginning of /etc/ld.so.cache, and how to > calculate it? From man page: ldconfig creates the necessary links and cache (for use by the run-time linker, ld.so) to the most recent shared libraries found in the direc- tories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/usr/lib and /lib). ldconfig checks the header and file names of the libraries it encounters when determining which versions should have their links updated. ldconfig ignores sym- bolic links when scanning for libraries. > I'm also limited in my ability to experiment because the Linux box is > too broken to run tar/gzip so I can't unpack debs from my CD to > restore stuff from. ar still works, and WinZip can handle .tar.gz > format, so it's sort of possible with a lot of rebooting to swap OS. > Is there a Win98 archiver that can unpack debs? You can unpack debs with ar. See http://www.debian.org/doc/manuals/reference/ch-package.en.html#s6.2.9 Alternative: you can download package tar files from subdirectories of http://ftp.debian.org/debian/pool/ and use tar to unpack. You can search for specific packages at http://www.debian.org/distrib/packages. There will be a link to tar file on the packsage html page also. -- Jerome
msg12367/pgp00000.pgp
Description: PGP signature