LinuxQuestions.org
Help answer threads with 0 replies.
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 08-14-2008, 05:50 PM   #1
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Rep: Reputation: 31
Error checking root filesystem in boot. Automatically reboots before log in.


I just compiled a new kernel for my MSI Wind, the 2.6.26.2 kernel, and I compiled it with jfs support so I wouldn't need an initrd, but at boot it gives me an error, it tells me to give the root password for maintenance or press ctrl+d for setup. I've tried running jfs_fsck, both as root at bootup and by loading the slackware cd, same error. Eventually, and I'm not sure when it started doing this, it just automatically continues with boot, as if there were no errors, and then after awhile it will start giving reboot messages, and shut down before I ever get to udev or the log-in.

So, any ideas? I remember some jfs errors when I was compiling my kernel, but it took 1.5 hours for my kernel to compile on my laptop, I really don't want to go through that again. If the jfs should be the problem, is there any way I can compile those individually?
I can boot into slackware using the boot cd or one of the old kernels, so I'm not totally blocked out.

Last edited by Romanus81; 08-14-2008 at 06:13 PM.
 
Old 08-14-2008, 09:18 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Have you tried any other filesystems? Is there a particular reason you want to use JFS?
 
Old 08-14-2008, 10:00 PM   #3
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Original Poster
Rep: Reputation: 31
I saw a thread on here that said JFS was pretty good, so I started using it. It's a bit faster than ext3, I believe. But I am not going to reformat my install just to fix this. There has to be another way.
 
Old 08-14-2008, 11:04 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

When you used the Slackware install cd/dvd to boot. What was done next to attempt the repair of the filesystem? What errors?
 
Old 08-15-2008, 10:08 PM   #5
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Original Poster
Rep: Reputation: 31
There were no errors,
Thanks for your help, I found out that the error was in my fstab. The install process read all my drives as hda, but when I booted slackware read them has sda, thus the fstab that the install setup looked at was wrong. I changed the entries and it all worked out.
 
Old 08-16-2008, 09:55 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Glad to hear your up!

You could have passed the 'noprobe = hdn' (where n= a,b,c,d) option to the kernel.

Last edited by onebuck; 08-17-2008 at 11:38 PM. Reason: spelling
 
Old 08-17-2008, 06:14 PM   #7
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Quote:
The install process read all my drives as hda, but when I booted slackware read them has sda
It sounds like you used the new ATA kernel driver, rather than the older one that the default Slackware kernels use. The new driver addresses both SATA and PATA devices as /dev/sdX. The same thing actually happened to me when I built a new kernel for my EEE 701.
 
Old 08-17-2008, 10:40 PM   #8
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by onebuck View Post
Hi,

Glad to hear you up!

You could have passed the 'noprobe = hdn' (where n= a,b,c,d) option to the kernel.
Yeah, I started doing that, everything is resolved so far.
 
Old 08-18-2008, 08:38 AM   #9
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
Quote:
Originally Posted by MS3FGX View Post
It sounds like you used the new ATA kernel driver, rather than the older one that the default Slackware kernels use. The new driver addresses both SATA and PATA devices as /dev/sdX. The same thing actually happened to me when I built a new kernel for my EEE 701.
Is this the case for dvd also? In my system (slackware 12.1) my sata hd always show up as /dev/sdx.

But my sata dvd has shown up as /dev/hdc or /dev/sr0 depending on kernel settings.

I've never seen dvd show up as /dev/sdx. I did recently have problems burning a dvd and so I'm curious if it showing as /dev/sdx might improve performance.
 
  


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
dm-crypted root with filesystem checking /y0shi Slackware 3 02-16-2008 06:55 AM
Problem checking root filesystem when booting Slackware daschaich Slackware 2 09-01-2006 09:55 PM
booting stops at - checking root filesystem varun_saa Mandriva 3 09-29-2005 12:58 AM
Log in as root automatically, possible? rand0mh3ro Linux - General 16 11-30-2004 11:41 PM
Can you log in as root automatically? ludwig W Linux - Software 18 04-16-2003 08:39 PM

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

All times are GMT -5. The time now is 01:15 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