1 |
Hi all, |
2 |
My machine went feral which resulted in me having to kill the power to |
3 |
kill it. Upon reboot everything looked good, fsck did it's job, [ok]'s |
4 |
scrolled up the screen etc and then I got the login prompt. I entered my |
5 |
username & password and then the fun began. |
6 |
|
7 |
I got: |
8 |
|
9 |
-bash: .: /etc/profile.env: cannot execute binary file |
10 |
|
11 |
If I tried any command, say ls, I got: |
12 |
|
13 |
-bash: ls: no such file or dir |
14 |
|
15 |
I've now rebooted the machine using a relatively recent sysrescueCD and |
16 |
had a look at profile.env and it's binary but I thought it should have |
17 |
been text!!!! In the top line or so it mentions "ld" for some reason. I |
18 |
checked the same file on the boot disk and it's text. One or two I found |
19 |
on line are also text. |
20 |
|
21 |
Does anyone have any idea as to what's going on here? Should I just |
22 |
grab the profile.env from the boot disk and drop it into the /etc dir? |
23 |
Or should I go through the whole process of chroot off a gentoo disc and |
24 |
then run env-update as it says in the header of the text versions I'v seen? |
25 |
|
26 |
Thoughts greatly appreciated, |
27 |
|
28 |
Andrew |