Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
After installing slack I get this error message after the slackware logo appears:
Checking root filesystem.........
/sbin/e2fsck is a directory while trying to open / /:
The superblock could not be read or does not describe a correct ext2
filesystem.
An error occurred during the root filesystem check.
I am not using ext2 filesystem, I am using reiserfs.
If I disable fsck will this message go away?
I have aleady did fsck /dev/hda1 manually and it did not find any problems.
I do have another error on a like in fstab that I cannot fix because I can only login as read-only.
I'm not familiar with slack but with the distros i've used, if you can get to a shell with the root filesystem mounted (even ro) you should be able to mount it rw to fix fstab. at least that has been my experience, depending on the problem may depend on success rate too.
Code:
mount -o remount,rw /
as far as the specific message regarding e2fsck being a dir, not sure. in fstab is where the fsck field is specified but i'd be more interested in if/why it lists ext2|ext3 instead of reiserfs for your root filesystem in fstab than having the fsck pass no. field set.
in fstab is where the fsck field is specified but i'd be more interested in if/why it lists ext2|ext3 instead of reiserfs for your root filesystem in fstab than having the fsck pass no. field set.
And for that reason the problem is probably in his /etc/fstab file. So, take a look at it, and double check that everything is ok.
And for that reason the problem is probably in his /etc/fstab file. So, take a look at it, and double check that everything is ok.
No its not ok, Theres a line that says "IN USE" under / I did not know that thats where fsck works from. I cannot change fstab because I can only log in as read only under root.
After installing slack I get this error message after the slackware logo appears:
Checking root filesystem.........
/sbin/e2fsck is a directory while trying to open / /:
The superblock could not be read or does not describe a correct ext2
filesystem.
An error occurred during the root filesystem check.
I am not using ext2 filesystem, I am using reiserfs.
If I disable fsck will this message go away?
I have aleady did fsck /dev/hda1 manually and it did not find any problems.
I do have another error on a like in fstab that I cannot fix because I can only login as read-only.
Just use your Slackware install cd/dvd to boot as single user then perform the maintenance on the filesystem. Whenever you want to perform maintenance on any filesystem you should be in 'single' user mode to prevent any conflicts no matter the filesystem type.
Just use your Slackware install cd/dvd to boot as single user then perform the maintenance on the filesystem. Whenever you want to perform maintenance on any filesystem you should be in 'single' user mode to prevent any conflicts no matter the filesystem type.
I did that and I still get this error message:
Checking root filesystem.........
/sbin/e2fsck is a directory while trying to open / /:
The superblock could not be read or does not describe a correct ext2
filesystem.
An error occurred during the root filesystem check.
well you better make sure you are using the huge kernel the rieserf is not suported anymore sence the guy that made it is doing 15 to life in a german prison. you need rieserf suport. this might help you reiserfsck and you will never get past single mode till you mount the drive it it has a super block unreadable then the out put is bad super block. boot a live cd and make the change to your fstab /dev/your drive / reiserfs . the big thing is if you installed the system I hope you pushed enter when asking for what ever kernel because if you chose another then you will need to make and initrd.img to load the riserfs support.
I hope this helps. and if you need the initrd.image just do a reinstall and go with a ext3
Post the entire contents of fstab and the output of fdisk -l.
Drakeo, reiserfs might be damned to death, but as long as it continues being shipped on the vanilla kernel, it must work. I don't advice to use it because I never liked it and has many problems, but that has nothing to do at all with the current topic. I wanted to point that out just to avoid confusion.
The error is very clear: an ext2 fs can't be found. That means that either fstab is incorrect (in one or another way), or the volume is corrupted. Period.
Post the entire contents of fstab and the output of fdisk -l.
Drakeo, reiserfs might be damned to death, but as long as it continues being shipped on the vanilla kernel, it must work. I don't advice to use it because I never liked it and has many problems, but that has nothing to do at all with the current topic. I wanted to point that out just to avoid confusion.
The error is very clear: an ext2 fs can't be found. That means that either fstab is incorrect (in one or another way), or the volume is corrupted. Period.
I know your right but if you do a search on this and the new 12.2 it has become an issue. not sure why. but check it out. I think some how during some of the installs they are not getting the right kernel to boot for the reisefs support. and if you look at Pat's read me initrd it always refers to the rieserfs as default wonder why.
Well of course that read me goes back to at least 10.2 what can you say it is a cut and paste world.
Checking root filesystem.........
/sbin/e2fsck is a directory while trying to open / /:
The superblock could not be read or does not describe a correct ext2
filesystem.
An error occurred during the root filesystem check.
I am using reiserfs, not ex2.
What, exactly, did you do? Are you saying that you get this message when you boot the cd/dvd, or after "fixing" and booting your system?
After you boot the install cd, you will need to mount your filesystem. Assuming that you installed to /dev/sda1 you would enter "mount /dev/sda1 /mnt". At that point you will need to edit the file /mnt/etc/fstab. It is almost certainly corrupted.
Checking root filesystem.........
/sbin/e2fsck is a directory while trying to open / /:
This may be somewhat of a shot in the dark, but have you verified that the /sbin/e2fsck binary exists (and is not a directory)? Given that your root FS is Reiser, it shouldn't make a difference, but it seems like this is the first error message you get.
When you boot from the install disk and log in, you will see a full filesystem including /etc/fstab. This is _not_ the same one that you have installed on your hard drive. In order to access your _real_ /etc/fstab you will need to mount your file system as I said in my earlier post. Then you will be able to access and edit your real /etc/fstab by editing /mnt/etc/fstab.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.