Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-25-2013, 09:42 PM
|
#1
|
LQ Newbie
Registered: Aug 2006
Posts: 16
Rep:
|
slackware-current-boot fails with linux-3.10*
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
|
|
|
07-25-2013, 09:58 PM
|
#2
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Did you compile the kernel with the EXT 2/3/4 file system loading driver built into the kernel itself or as separate modules?
|
|
|
07-25-2013, 10:41 PM
|
#3
|
LQ Newbie
Registered: Jan 2007
Location: Pontianak, Indonesia
Distribution: Slackware64-14.0
Posts: 26
Rep:
|
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
|
|
2 members found this post helpful.
|
07-26-2013, 04:34 AM
|
#4
|
LQ Newbie
Registered: Aug 2006
Posts: 16
Original Poster
Rep:
|
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
|
|
|
07-26-2013, 07:39 AM
|
#5
|
LQ Newbie
Registered: Jan 2007
Location: Pontianak, Indonesia
Distribution: Slackware64-14.0
Posts: 26
Rep:
|
Don't forget to mark this thread as solved then 
|
|
|
07-26-2013, 03:27 PM
|
#6
|
Member
Registered: Apr 2013
Distribution: Slackware
Posts: 81
Rep: 
|
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.
|
|
|
07-27-2013, 12:56 AM
|
#7
|
LQ Newbie
Registered: Aug 2006
Posts: 16
Original Poster
Rep:
|
Problem solved
|
|
|
07-27-2013, 01:25 AM
|
#8
|
Member
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528
|
Quote:
Originally Posted by mainam
Problem solved
|
Marking a problem/post as SOLVED means using the "Thread Tools" menu at the top of the page and selecting the solved option.
The solved status will then appear next to the title in the list of threads.
|
|
|
All times are GMT -5. The time now is 02:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|