On Sun, 2004-02-29 at 13:48, Jeff Johnson wrote: > With your advice on the environmental variables and the chroot process > I was able to successfully chroot into the newly rsynced client. In > order to do this I had to build a static, 32-bit bash as well as a > static busybox and install them in a /bin32 directory on the new client. > After doing this I was able to chroot and run any of the busybox linked > commands. At this point you cannot run systemconfigurator because it > requires perl and the 32-bit shell cannot execute the perl in the 64-bit > distro.
I installed Perl (using rpm --relocate, see below) and managed to get it to run, but ended up running into a tangled net of dependencies on other system binaries. Since my cluster gets all network configuration via DHCP, I didn't need the network portion of SystemConfigurator, so I ended up just running grub-install directly. > I tried to bypass perl and whittle the install script to directly run > grub-install to, at least, get a booting client. Alas grub is a 64-bit > binary as well. I compiled a static version of grub > but it relies on several other binaries in the OS that cannot be > executed by the 32-bit shell. I installed the 32 bit grub from RedHat 9, using RPM's --relocate function to install it into the 32 bit tree. (I made an entire tree at /usr/i386 so that I could relocate all package components into that tree, allowing the 32 bit and 64 bit RPMs peacefully coxexist). I then tweaked all of the paths in the 32 bit grub scripts so that they pointed to /usr/i386/bin for external binaries, and replaced the entire SystemConfigurator stanza of the autoinstall script with: OLD_SHELL=$SHELL OLD_PATH=$PATH export SHELL=/usr/i386/bin/sh export PATH=/usr/i386/bin:/usr/i386/sbin:$PATH chroot /a/ grub-install /dev/sda || shellout SHELL=$OLD_SHELL PATH=$OLD_PATH -- Kevin Murphy <[EMAIL PROTECTED]> ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Sisuite-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-users
