Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 12-18-2004, 10:09 AM   #1
LQ Newbie
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
error booting

I have red hat linux 9.0. It has been working fine for a couple of months. But yesterday while booting up, I got the following:

INIT: version 2.84 booting
Setting default font (latarcyrheb-sun16): [OK]

Welcome to /etc/rc.d/rc/rc.sysinnit: line 70 36 Segmentation fault LC_ALL=C grep -q "Red Hat" /etc/redhat-release

Press 'I' to enter interactive startup.
Mounting proc filesystem: [FAILED]
/etc/rc.d/rc.sysinit: line 90: 43 Segmentation fault LC_ALL=C grep -q /initrd /proc mounts
Configuring kernel parameters: Error: /proc must be mounted
To mount / proc at boot you need an /etc/fstab line like:
/proc /proc proc defaults
In the meantime, mount /proc /proc -t proc

The next couple of lines are OK. Then

/etc/rc.d/rc.sysinit: line 182: 66 Segmentation fault LC_ALL=C grep -lq "nousb" /proc/cmdine 2>dev/null
/etc/rc.d/rc.sysinit: line 182: 68 Segmentation fault LC_ALL=C grep -q "usb" /proc/cmdine 2>dev/null

And it hangs there.

Can anyone help? Thanks
Old 12-18-2004, 02:17 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Looks like it's trying to tell you that an important line is missing from /etc/fstab (the /proc line in the error messaes). To fix it, since you can't boot into the system, you will have to boot from the installation cd, which will give you a running system from the cd, not the hard disk.
Once booted from cd, log in as root user (you may be in command-line mode. I hope you're comfortable with that).

To be able to fix fstab, you will first need to be able to mount the partition in which RH is installed (not the same as mounting the filesystem at boot). To do that, you will have to edit the running version of fstab (not the installed one).

first command:
cd /etc

vim fstab

In case you're not familiar with vim, I'll give you the commands. If you know how to use vim, just skip over these commands.

Press the letter i to enter insert mode.
Scroll to the bottom of the list, and add a line like this:
/dev/hda1 /mnt/redhat ext2 defaults 1 2

where hda1 is the partition in which RH is installed. If your partition is different, supply that number insead.
where /mnt/redhat is the mount you will create, ext2 is the default linux filesystem type. if you're useng ext3 or something else, use that instead.

once that line is entered into the running version of fstab, press the esc key to exit insert mode. to save the changes, press :wq (that's colon w q) to save and exit vim.

next, creat the mount point in the running system (this will disappear when you reboot):
mkdir /mnt/redhat

now, you have a place to mount your redhat partition to gain access files for repair.

next command:
mount /dev/hda1 (or whatever you put in fstab)

cd /mnt/redhat/etc to get to the fstab on the rh partition (not the running one).
vim fstab (the installed one, not the running one) and look for the /proc line given in the boot error messages. If it isn't there, add it (as you did with the running fstab), then esc :wq to save the repair.
Now, unmount the partition:
umount /dev/hda1

remove the install cd from the drive, and reboot. If proc not being in fstab was the only problem, that should fix it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
booting error bijo Linux - Hardware 1 11-03-2005 05:42 AM
booting error? kee Slackware 2 06-03-2005 09:02 AM
Error while booting. soner Linux - General 1 10-29-2004 02:33 PM
booting error mrfreeze Linux - Newbie 2 07-03-2004 02:15 PM
error 28 while booting help chander Linux - Software 2 10-19-2003 04:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration