Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
hi
when such messages appear, u wait until the system gives u a shell to work on. enter the root password and type fsck /dev/hda5 or what ever ur filesystem name is. then press enter. the system will try repairing the file system. follow onscreen instructions. after successful completion of the fsck, press ctrl+D and the system reboots into normal modes.
I just got the same problem uttamsaxena have this afternoon. I am also a newbie and almost opted to just reinstall Linux. I kept trying to run fsck /dev/hda2 because of the examples that I saw in the man pages. But after reading this thread and then looking closely at my screen, it was actually pointing to "/" instead of "/dev/hda2". Anyhow, I run fsck / and all is well now. Thanks!
Why does this happen? My previous shutdown was fine so I don't understand why.
Boot Up File File System Check Fails In Caldera edesktop 2.4
Hello: I wanted to post a new thread for this problem, but the forum suggested that I add to this one instead because the problem is similar. Hope I can get some guidance with this situation on my Caldera edesktop 2.4 original unmodified distro. It installs just fine on my old Cyrix P-166+ system with 64MB of RAM (in the minimum package selection, desktop and recommended freeze up during install). Then after a shutdown and restart the file system check fails. I get a message in the upper left hand corner that says "Login as root to perform maintenance or press Ctrl-D for normal startup". If I provide my root password, nothing happens and no "shell" appears. If I type Ctrl-D, I get the level 6 kill all signal and then nothing. Will my emergency boot disk made during the installation process work to fix this problem, and if so, how? If I could get a shell, I could try the fsck dev/hda6 or "/" repair suggested elsewhere in this thread. Thanks so much for the assist. james91911
boot your machine using a boot CD and go into rescue mode. Edit the /etc/inittab file and check what is the default runlevel set to. It should not be 6 or 0. set it to either 3 or 5 and thinggs will work fine
Thank you very much for the reply subhasis_ray. One question: I have three floppy disks for my Caldera edesktop 2.4. One is a Lizard Boot Disk, one is a Lisa Boot Disk and the other is the emergency boot disk I made during the install. Which would you suggest I use to edit the file holding the run levels? Thanks so much.
james91911
You boot from the disk which you used for installing the system. Once the intial boot screen comes, you will find the option of going into rescue mode. Use that.
Reboot Error: "initlog: error while loading shared libraries:
libpopt.so.0"
Hi,
I was going to post a new thread when it was suggested I use this thread.
I have a Redhat 9 AS 3.0 system, dual boot with win2k. It has been working fine.
Recently, I installed pcsc-lite & ccid drivers for smart card. While running ./configure for both, I gave --prefix=/usr. After make, make install, I rebooted. The system wont boot properly.
The grub loads, and I can boot successfully with the Win2k. When I choose linux, the initial startup goes on, till it reaches the Init stage. There I get the following messages ( they are not verbatim, and I am only posting some, the rest are other tasks which also [ FAIL ])
-----------------------quote-----------------------------
"
Activating swap partitions [ FAIL]
initlog: error loading shared libraries: libpopt.so.0: cannot open shared object file: No such file or directory
initlog: error loading shared libraries: libpopt.so.0: cannot open shared object file: No such file or directory
Host: Athena [FAIL]
initlog: error loading shared libraries: libpopt.so.0: cannot open shared object file: No such file or directoryinitlog: error loading shared libraries: libpopt.so.0: cannot open shared object file: No such file or directory
Checking Root File system [ WORK]
Mounting local filesystem [ FAIL]
*** An error occurred during file system check. Dropping you to a shell;
*** the system will reboot when you leave the shell
"
-----------------------unquote-----------------------------
It gives me an option to type in root password or press Ctrl-D to continue.
When I give the root password, I get to a shell, Repair Filesystem.
I read other posts on this and other forums, and did a few steps.
/etc/fstab is as follows
-----------quote ----------------------
LABEL=/ / ext3 defaults 11
LABEL=/boot /boot ext3 defaults 12
none /dev/pts
....
....
...
and so on
------------------------------unquote---------------
All seem to be fine.
Running e2fsck on the individual partitions gives no errors
-----------quote----------------
/boot: clean, 39/26529 files, 1377/105840 blocks
...
...
and so on
----------unquote--------------------------
When I exit out of the shell, system says,
----------quote--------------------------
rm: cannot remove '/halt': Read only file system
/etc/rc/d/rc/sysint: line 595 : /var/run/utmpx: No such file or directory
----------unquote--------------------------
I booted using the Redhat CDRom , in the linux rescue mode. I am able to start with networking, and was able to view all the partitions, access any file under various users, etc.
I am not sure what other information any expert would need to fix my problem. I am guessing(hoping) that it is not serious, since I did not explicitly delete any files, only installed some smartcard drivers(pcsc-lite and ccid under /usr ( "[pcsc-lite-@athena] ./configure --prefix=/usr"] ).
Can someone please help me fix any problems, so I can have a normal booting Graphical Linux system like before.
I really am new to this so it might sound trivial. I have tried booting my system running mandrake and it does not go beyond the point that it asks that I enter a run level after displaying these messages:
INIT: No inittab file found
hda: dma_intr: error=0x40{uncorrectable error}, LBAsect=6570092, sector=6570087
hda:dma_intr:sattus=0x51{DriveReady Seekcomplete error}
Hello daloengy. Your hard drive would appear to be just fine. You did not say what version of Mandrake you are using, but my problems were always with older versions of Mandrake, Caldera etc. using the ext2 file system. If you would look at the post by subhasis_ray (#7) above, you will see that he recommended that I use the rescue mode of my boot disk to fix the problem. In that it was an ongoing problem that seems to crop up with ext2, I have graduated to newer versions that use ext3 or reiserfs. Good luck. james91911.
So my problem is that when I run e2fsck I get an error telling me that /dev/null could
not be opened.
When I try an mount / to fix /dev/null I get a messages that:
mount: could not open /proc/partitions, so UUID and LABEL conversion cannot be done.
mount: no such partition found
I can to a ls-alt /dev/null I get:
-rw-r--r-- 1 root root 39 Oct 2 04:02 /dev/null
Which does not match another Linux system I have access to.
when I do a rm -fr /dev/null I get
rm: cannot unlink '/dev/null': Read only file system
So I seem to be stuck...can't mount the file system for RW, can't run 2efsck,
can't fix /dev/null
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.