Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Well, it says corrupted filesystem. The best way to proceed is to load a live CD distro on to the system, and run fsck on the affected partition. That might fix you right up.
If it doesn't fix you up, then what you do next just depends on the error messages that come back from fsck and from the system message log (which will probably also print on the system console - ctrl alt F1).
The server is red hat and i haven't any red hat cd...
can i use another linux live cd to boot it?
How to boot into single user mode??
p.s. sorry to all friend , i'm not a linux user so i really don't know
I'm following this thread because I have identical problem (but I'm on FC2). This server was sitting on a shelf for 6 months - no power - completely unused. It was a backup server. It has raid5. The root partition is hda2. Yesterday I decided to make it useful again.
It booted but I noticed some EXT3-fs errors. The filesystem came up in read only mode also- another indicator that there was a problem. Today, when I tried to log in to start working on it, it wouldn't accept my password.
I rebooted. Reboot ended badly:
"kernel panic no init" message appears. Followed instructions found in this current thread to boot into single user because I'm hoping to run e2fsck.
I think I am in single user mode because at the end of the boot I get this:
(none) login:
But I'm back where I started this morning where it doesn't accept login id nor does it ask for password. I do however see a message flash on the screen but it happens too fast.
1) how can I pause this flashed message long enough to read it when attempting to log in?
2) do you think I succeeded in getting into single user mode?
3) if I lose my boot partition and rebuild this, will I lose all the raid data too? I'm not clear on the relationship between my raided drives and the boot partitions. This is a software raid by the way.
I think I am in single user mode because at the end of the boot I get this:
(none) login:
It looks like you're at runlevel 3
single user mode won't give you a id/password prompt...
You'll just be at the root prompt # as root user without having to log on.
I've tried "single" and "1" both had same effect when I edited the grub line:
"kernel /vmlinux-2.6.10-1.771_FC2 ro root=LABEL=/ rhgb single"
I don't know why I can't get into single. Now maybe I just need to try knoppix to run e2fsck. But this server doesn't have a dvd/cd reader. All flat cables are being used for the raid5 hard drives. I need to install a dvd/cd reader which will require that I disconnect at least one of the raided drives. The data on the raid5 hard drives isn't critical but I'd like to leave it intact if at all possible.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.