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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-21-2010, 04:59 AM
|
#1
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
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
|
|
|
|
02-21-2010, 05:09 AM
|
#2
|
|
Member
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 484
Rep: 
|
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.
|
|
|
|
02-21-2010, 05:29 AM
|
#3
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
Original Poster
|
Quote:
Originally Posted by rg3
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 05:35 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:30 AM.
|
|
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
|
|