LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-21-2010, 05:59 AM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
Root file sys check on JFS during boot fails with e2fsck message


Hello

After creating a new JFS root file system, boot (actually /etc/rc.d/rc.S ?) fails when checking it with:
Code:
fsck 1.41.8
/sbin/e2fsck: Bad magic number in super-block while trying to open /dev/sda7:
The superblock ...
After booting using the old ext4 root file system, using the same command as used by /etc/rc.d/rc.S:
Code:
root@CW8:~# /sbin/fsck -C -a /dev/sda7
fsck 1.41.8 (11-July-2009)
fsck.jfs version 1.1.14, 06-Apr-2009
processing started: 2/21/2010 16.10.13
Using default parameter: -p
The current device is:  /dev/sda7
Block size in bytes:  4096
Filesystem size in blocks:  3662812
**Phase 0 - Replay Journal Log
Filesystem is clean.
The JFS root file system mounts OK during boot with "VFS: mounted root (jfs filesystem) readonly on device 8:7"

This is happening on Slackware 13.0 32-bit with a separate ext3 /boot file system and with /usr on root.

A workaround would be to create /etc/fastboot but that's not ideal.

Best

Charles
 
Old 02-21-2010, 06:09 AM   #2
rg3
Member
 
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 514

Rep: Reputation: Disabled
I haven't hit this problem myself, but it seems it tries to fsck the JFS filesystem using e2fsck, which is for ext[234] filesystems, so the problem may stem from there. Maybe your /etc/fstab indicates the wrong filesystem, or something similar.
 
Old 02-21-2010, 06:29 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Original Poster
Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
Quote:
Originally Posted by rg3 View Post
I haven't hit this problem myself, but it seems it tries to fsck the JFS filesystem using e2fsck, which is for ext[234] filesystems, so the problem may stem from there. Maybe your /etc/fstab indicates the wrong filesystem, or something similar.
Thanks, rg3 Hole in one! Changed fstab and testing (am confident that was the problem, though).

EDIT: yup, that was it

Last edited by catkin; 02-21-2010 at 06:35 AM.
 
  


Reply

Tags
boot, e2fsck, jfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Issues with Fedora, cannot boot. File system check fails, no shell starts. Mamsaac Linux - General 8 10-20-2009 02:27 AM
JFS Filesystem, boot fs check fails. Romanus81 Slackware 3 10-14-2008 06:27 PM
what to do when automatic file system check of the root filesystem fails? kayaksport15 Linux - Newbie 4 07-08-2008 08:31 AM
e2fsck, during boot, trying to check incorrect drive using LABEL hmccurdy Slackware 4 08-18-2007 04:18 PM
File-system check on boot fails-- ALSA hang vivalinux Mandriva 6 11-25-2003 09:24 AM


All times are GMT -5. The time now is 06:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration