public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Machine not booting properly: profile.env cannot execute binary file
@ 2017-10-25  3:28 Andrew Lowe
  2017-10-25  3:50 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andrew Lowe @ 2017-10-25  3:28 UTC (permalink / raw
  To: gentoo-user

Hi all,
	My machine went feral which resulted in me having to kill the power to 
kill it. Upon reboot everything looked good, fsck did it's job, [ok]'s 
scrolled up the screen etc and then I got the login prompt. I entered my 
username & password and then the fun began.

	I got:

-bash: .: /etc/profile.env: cannot execute binary file

If I tried any command, say ls, I got:

-bash: ls: no such file or dir

	I've now rebooted the machine using a relatively recent sysrescueCD and 
had a look at profile.env and it's binary but I thought it should have 
been text!!!! In the top line or so it mentions "ld" for some reason. I 
checked the same file on the boot disk and it's text. One or two I found 
on line are also text.

	Does anyone have any idea as to what's going on here? Should I just 
grab the profile.env from the boot disk and drop it into the /etc dir? 
Or should I go through the whole process of chroot off a gentoo disc and 
then run env-update as it says in the header of the text versions I'v seen?

	Thoughts greatly appreciated,

		Andrew


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-25 19:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-25  3:28 [gentoo-user] Machine not booting properly: profile.env cannot execute binary file Andrew Lowe
2017-10-25  3:50 ` Dale
2017-10-25  5:37 ` Alexander Kapshuk
2017-10-25 18:45 ` Andrew Lowe
2017-10-25 19:25   ` Alexander Kapshuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox