SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In slackware-current with linux-3.10 series boot comes to dead end with fsck.ext2:exec format error-emergency shell no help. Compiled 3.10* several times.Please help
I've this problem too recently. I first thought that this problem comes from e2fsprogs. Rebuilding e2fsprogs didn't solve the problem. You would check your kernel config, make sure CONFIG_BINFMT_SCRIPT is configured to Y (not M / N).
Code:
...
#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_BINFMT_SCRIPT=y
# CONFIG_HAVE_AOUT is not set
CONFIG_BINFMT_MISC=y
...
From kernel help menu:
Quote:
CONFIG_BINFMT_SCRIPT: │
│ │
│ Say Y here if you want to execute interpreted scripts starting with │
│ #! followed by the path to an interpreter. │
│ │
│ You can build this support as a module; however, until that module │
│ gets loaded, you cannot run scripts. Thus, if you want to load this │
│ module from an initramfs, the portion of the initramfs before loading │
│ this module must consist of compiled binaries only. │
│ │
│ Most systems will not boot if you say M or N here. If unsure, say Y.
Last edited by parcox; 07-25-2013 at 10:43 PM.
Reason: Added kernel help info
Parcox your reply solved the problem.boots new compiled kernel.many thanks
Quote:
Originally Posted by parcox
I've this problem too recently. I first thought that this problem comes from e2fsprogs. Rebuilding e2fsprogs didn't solve the problem. You would check your kernel config, make sure CONFIG_BINFMT_SCRIPT is configured to Y (not M / N).
Code:
...
#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_BINFMT_SCRIPT=y
# CONFIG_HAVE_AOUT is not set
CONFIG_BINFMT_MISC=y
...
From kernel help menu:
Hullo Parcox,
You have solved the problem for me.Recompiled kernel with suggested changes and now boots normally. Many thanks
I do really recommend to use, at least as the initial point, configuration file offered directly by Slackware
Btw, it already has CONFIG_BINFMT_SCRIPT option set to yes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.