LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-10-2010, 10:43 AM   #1
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
/sbin/e2fsck: No such file or directory while trying to open /dev/sda2


After upgrading to the latest major -current changes, my system fails to boot with my old custom kernel (not changed). It does however, boot just fine with the huge-kernel supplied with -current.

So my question is - what's changed on the userlevel side related to e2fs that makes a custom kernel report the following:
Quote:
/sbin/e2fsck: No such file or directory while trying to open /dev/sda2
/dev/sda2:
The superblock could not be read or does not describe a correct ext2 filesystem.
...
The filesystem in question is ext4, and my custom kernel is also 2.6.33, upgraded from 2.6.32.6 which ran just fine before the latest -current upgrade. ext4 is built into the kernel. It seems like the kernel cannot even see the harddisk at all, since entering rescue mode shows cfdisk claiming there is no /dev/sda ...

Disclaimer: Yes - I know custom kernels are not supported "out of the box" - but since I am curious as to what has changed to cause this, I'm still asking, since there definitely is a change somewhere.
The -current-upgrade in question ran fine without warnings, interruptions or any problems.

Thanks in advance for any insight!

-y1
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-10-2010, 12:00 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Do you have any /dev/sdaX devices?
Code:
ls -l /dev/sda*
If not check that you have disable the deprecated sysfs in your custom kernel:
Code:
grep SYSFS /usr/src/linux/.config
# CONFIG_SYSFS_DEPRECATED_V2 is not set
Regards
 
2 members found this post helpful.
Old 03-10-2010, 12:48 PM   #3
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Original Poster
Rep: Reputation: 36
Thanks much - that did the trick - system now works perfectly again!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
e2fsck -p /dev/sda2 jec25 Linux - Newbie 6 11-05-2009 08:50 PM
cannot open dev modem no such file or directory Cakyla Linux - Software 6 03-20-2009 11:44 AM
[SOLVED] cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver. procfs Linux - Software 5 01-18-2008 10:06 AM
v4l: open /dev/video0: No such file or directory mdkusr Linux - Hardware 1 11-08-2006 09:40 PM
/sbin/rc: line 271: /sbin/devfsd: No such file or directory Alexander.s Linux - General 3 04-22-2005 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration