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

exec: 426: chroot: not found



Hello,

I broke my system and do not have a clue about getting it up and running
again.

Here are the last few lines displayed before she stops:
Attached scsi disk sda at scsi1, channel 0, id 0, lun0
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
exec: 426: chroot: not found
Kernel panic - not syncing: Attempted to kill init!

Background:
This was my first attempt at an AMD64 installation.
A new machine, a nice AMD64 HOW-TO, sid-amd64-netboot CD.
Installation went smoothly and all but Openoffice.org worked just fine.
I did a minimum install and used apt to install only what I wanted.

wrt OO:
- followed "Using an IA32 chroot to run 32bit applications" in
the AMD64 HOW-TO
- apt-get install ia32-libs
- followed the "Installing a Debian IA32 chroot system" but did not
do "ln -s /var/chroot/sid-ia32/lib/ld-2.3.2.so ld-linux.so.2" as a link
existed to /emul/ia32-linux/lib/ld-linux.so.2 ??
- did "apt-get install dchroot" immediately after the "apt-get install
chroot" (I interpreted the "Leave the chroot and install the dchroot
package" line in the HOW-TO to not mean "Leave out / skip the chroot
..." ?)

- OO would start (in XFCE4) but without the "File Edit Tools Window
Help" options visible, Alt-F would display the drop-down menu and I
could open a new doc. The new doc also had no "File Edit etc" visible. 

I decide (dangerous move ...) that it had something to do with the link
mentioned above so I move the /emul/ia32-linux/lib/ld-linux.so.2 link to
something else and did the ln -s /var/chroot/sid-ia32/lib/ld-2.3.2.so
ld-linux.so.2 thing folowed by a ldconfig - no change in OO.
I then deleted the newly created ld-linux.so link and tried to mv the
previously moved link back - I found that I could not exec anything in
/bin!
Ctrl-Backspace closed XFCE4.
I used SSL from another machine, but could not exec anything.
Panic - I hit the reset switch ... and there was my error message.

I then booted with Knoppix, restored the original
/emul/ia32-linux/lib/ld-linux.so.2 link.
No change.

I have played around with /etc/ld.so.conf and /etc/fstab without any
success. 
I cannot do a chroot from the Knoppix boot as I get a
"/bin/bash: exec error"
Should I try to remove the "chroot" and how would I do this?
Recovery mode makes no difference.
Running kernel 2.6.9-9.amd64-k8

Google did not help with this specific problem and I could not find
anything usefull in the AMD64 archives. 

Any assistance will be deeply appreciated.

Regards and Thanks

*****

Lourens Steenkamp
Enjoying Debian GNU/Linux 3.0 r2

*****

Here is bigger than you can imagine,
Now is forever ...
  Bruce Cockburn : "Messenger Wind"



Reply to: