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.
|
 |
11-30-2003, 07:50 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Location: Oak Ridge, TN
Distribution: Slack 10.2+
Posts: 12
Rep:
|
/sbin/fsck: no such file or directory??
Scenario: old K6-III pc, installed 2 HDs (both are reiserfs; hda: 1 partition, root, 2GB; hdb: 2 partitions, swap & home, 3 GB). Fresh install of Slack 9.1 went very smoothly, reboots nice, etc. Lilo is on MBR (assumably of hda, since it didn't ask me). Compiled new kernel, updated lilo, ran /sbin/lilo, reboot. Lilo executes fine, boot sequence is running till I get:
/etc/rc.d/rc.S: line 38: /sbin/fsck: No such file or directory.
Then it lets me get into a single-user shell for system maintenance. What happened? I've run a complete install twice, with identical results after the new compile. I assume something is happening with lilo getting written again.
Thanks!
Dakota Mike
|
|
|
11-30-2003, 08:17 PM
|
#2
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
check in /sbin and see if the file system checkers are actually there.
like these. you could change your entry in rc.S to point to the correct one, if
you can get sbin mounted. you may have to use a rescue disk.
you could also edit fstab so it doesn't try to check the drive for now by
change the last 2 1's in the fstab line to 0's. you'll need to have the drive
mounted rw to do this.
maybe a line like
mount /dev/hda -o remount,rw might do it.
fsck fsck.ext3 fsck.minix fsck.xfs
fsck.ext2 fsck.jfs fsck.msdos
|
|
|
12-01-2003, 08:30 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Location: Oak Ridge, TN
Distribution: Slack 10.2+
Posts: 12
Original Poster
Rep:
|
Thanks, whansard. /sbin contained several file system checkers, including fsck.reiserfs. My /etc/rc.d/rc.S looked like this:
# Check the root filesystem:
if [ ! $READWRITE = yes ]; then
RETVAL=0
if [ ! -r /etc/fastboot ]; then
echo "Checking root filesystem:"
/sbin/fsck $FORCEFSCK -C -a /
RETVAL=$?
I changed the /sbin/fsck to /sbin/fsck.reiserfs & it boots fine now. My question is why? Another Slack box I have reads the same as above (i.e. no specific fsck listed) & it boots fine. Is it an issue because of the 2nd hard drive?
Thanks
|
|
|
12-01-2003, 09:48 PM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
reiserfs doesn't get checked. the filesystem checker is really just for
emergencies, and your system, i think, is trying to check anyway.
maybe your fstab settings are wrong and your reiserfs filesystem is set
to be checked, when it shouldn't. i don't know.
|
|
|
All times are GMT -5. The time now is 09:20 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
|
|