LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 06-22-2008, 11:49 PM   #16
kevalvora
LQ Newbie
 
Registered: Jun 2008
Posts: 22

Original Poster
Rep: Reputation: Disabled

for time being, just provide the link 4m wer ill get firstboot...............lets c if it works...plzzzz
 
Old 06-23-2008, 12:20 AM   #17
BinWondrin
Member
 
Registered: Jun 2008
Distribution: Fedora, RHEL, Ubuntu
Posts: 33

Rep: Reputation: 15
Wink

Sorry, I was outside enjoying the weather.
I will paste the contents of my firstboot files.

First: /etc/sysconfig/firstboot
Code:
RUN_FIRSTBOOT=YES
Second: /etc/rc.d/init.d/firstboot
Code:
#!/bin/bash
## BEGIN INIT INFO
# Provides: firstboot
# Default-Start: 3 5
# Default-Stop: 0 1 2 4 6
# Required-Start:
# Should-Start: $network
# Short-Description: Starts the firstboot configuration program
# Description: Firstboot runs the first time a machine is booted after
#              installation.  It checks for the existance of an
#              /etc/sysconfig/firstboot file.  If the file exists and
#              contains RUN_FIRSTBOOT=NO, firstboot will not run.  Otherwise
#              firstboot will be run.  If /etc/reconfigSys exists or if
#              "reconfig" is provided in the kernel boot arguments,
#              firstboot will run in reconfiguration mode.
## END INIT INFO

#
# firstboot: Starts the firstboot druid if it hasn't been run before
#
# chkconfig: 35 99 95
#
# description: Firstboot is a druid style program that runs on the first \
#              time a machine is booted after install.  It checks for \
#              the existence of an /etc/sysconfig/firstboot file.  If \
#              the file exists and contains RUN_FIRSTBOOT=NO, firstboot \
#              will not run.  Otherwise, firstboot will be run.  \
#              If /etc/reconfigSys exists or if "reconfig" is provided \
#              in the kernel boot arguments, firstboot will run in \
#              reconfiguration mode.
#

# Source function library.
. /etc/init.d/functions

FILENAME=/etc/sysconfig/firstboot

[ -z "$HOME" ] && export HOME=/

case "$1" in
    start)
        args=""

        if [ -f $FILENAME ] && [ ! -z "$(grep 'RUN_FIRSTBOOT=NO' $FILENAME)" ]; then
            exit 0
        fi

        if grep -i "reconfig" /proc/cmdline >/dev/null || [ -f /etc/reconfigSys ]; then
            args="--reconfig"
        fi

        # If X isn't running but the default runlevel is 5, start s-c-display
        # to configure X.  After that, firstboot can run.
        runlevel=$(set -- $(runlevel); eval "echo \$$#")

        if grep -q "^id:5:initdefault:" /etc/inittab && [ "$runlevel" = "5" ]; then
            . /etc/sysconfig/i18n

            if [ ! -f /etc/X11/xorg.conf ] && [ ! -f /etc/X11/XF86Config ]; then
                echo -n $"X is not configured.  Running system-config-display."
                /usr/bin/system-config-display
                echo -n $"X is now configured.  Starting firstboot."
            fi
        fi

        /usr/sbin/firstboot $args
        RETVAL=$?

        # If firstboot succeeded, chkconfig it off so we don't see the message
        # in rhgb every time about starting up firstboot.
        if [ "$RETVAL" -eq 0 ]; then
            action "" /bin/true
            /sbin/chkconfig firstboot off
        else
            action "" /bin/false
        fi

        exit $RETVAL
        ;;

    stop)
        exit 0
        ;;

    *)
        echo $"Usage: $0 {start|stop}"
        exit 3
        ;;
esac
Good luck!
 
Old 06-23-2008, 04:32 AM   #18
kevalvora
LQ Newbie
 
Registered: Jun 2008
Posts: 22

Original Poster
Rep: Reputation: Disabled
k
I had the /etc/rc.d/init.d/firstboot file already & i made the /etc/sysconfig/firstboot file

Now, while booting, the firstboot service runs, and while viewing details, it gives

FIRSTBOOT ERROR: Module language does not contain a class named Moduleclass ; skipping

The System hangs after this Screen & ends up with a Cursor(with no loading Symbol) and a Blue Screen.
So, we are back where we started.
NOw, any other solution?
 
Old 06-23-2008, 11:18 AM   #19
BinWondrin
Member
 
Registered: Jun 2008
Distribution: Fedora, RHEL, Ubuntu
Posts: 33

Rep: Reputation: 15
It's too bad you are stuck with just me for this problem. I think you need some input from somebody who is a lot more Linux savvy than I am.
Personally I would have tried a re-install and I would also make sure that you completely wipe the disk during that install.
You could try to submit a new post and hope that somebody who knows more about installs will respond.
:-)
Good luck!
 
Old 06-23-2008, 01:29 PM   #20
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
Quote:
Originally Posted by kevalvora View Post
k
I had the /etc/rc.d/init.d/firstboot file already & i made the /etc/sysconfig/firstboot file

Now, while booting, the firstboot service runs, and while viewing details, it gives

FIRSTBOOT ERROR: Module language does not contain a class named Moduleclass ; skipping

The System hangs after this Screen & ends up with a Cursor(with no loading Symbol) and a Blue Screen.
So, we are back where we started.
NOw, any other solution?
Are you able to boot into any other run levels? For instance booting into run level 3? If so please go in and disable SELinux by running system-config-selinux. If that isn't available or won't work then use the following URL to explain how to disable SELinux -> http://www.crypt.gen.nz/selinux/disable_selinux.html

Then you can proceed to try and reboot, see if that helps.
 
Old 06-24-2008, 07:54 AM   #21
kevalvora
LQ Newbie
 
Registered: Jun 2008
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shafty023 View Post
Are you able to boot into any other run levels? For instance booting into run level 3? If so please go in and disable SELinux by running system-config-selinux. If that isn't available or won't work then use the following URL to explain how to disable SELinux -> http://www.crypt.gen.nz/selinux/disable_selinux.html

Then you can proceed to try and reboot, see if that helps.



I tried booting through run level 3, it hangs
I booted from run level 1 & disabled the SELinux through the command.
But normal booting was not at all affected by this, it hangs at same point.

 
Old 06-24-2008, 09:00 AM   #22
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
Ok there's obviously something unsupported with your hardware that's causing the issue. People install Fedora 9 all the time without having any of these issues. Can you download and boot from a Fedora 9 Live cd. Let me know if it boots completely and without error. All you do is download the ISO, burn it to a cd, pop it in your cdrom drive and reboot. It should boot off the cd, then just choose the option that will let you boot from the live cd. If it hangs or fails then we're looking at unsupported hardware.
 
Old 06-25-2008, 10:23 AM   #23
BinWondrin
Member
 
Registered: Jun 2008
Distribution: Fedora, RHEL, Ubuntu
Posts: 33

Rep: Reputation: 15
Hey Shafty,

of course, the liveCD! Why didn't I think of that? I actually installed my current fedora machine from the LiveDvD.

:-)
 
Old 06-25-2008, 01:08 PM   #24
kevalvora
LQ Newbie
 
Registered: Jun 2008
Posts: 22

Original Poster
Rep: Reputation: Disabled
I made a clean re-install with no additional softwars.............still it is behaving the same
 
Old 06-26-2008, 03:55 AM   #25
kevalvora
LQ Newbie
 
Registered: Jun 2008
Posts: 22

Original Poster
Rep: Reputation: Disabled
I took a live CD and booted it.
While Booting, it gave following error:

end_request: I/O error dev sr0, sector [sector_no eg. 1424768]
Buffer I/O error on device sr0, logical block [block_no eg. 356192]

Above mentioned error occured approximately 20 times with different sector/block no.s.
Then, the Graphical loading started & rest entire procedure went without errors.
The desktop was loaded with only 1 icon of "Install on Drive".
However, my periperals were not working and i was unable to communicate with the system.
Even on pressing "Caps Lock" key, the LED on keyboard was not responding.
Soon, i was able to see a small icon at bottom right of a mouse and a red circle, indicating that mouse was not detected.
There were 3 other icons also, but i couldn't makeout the meaning.

But i am 100% sure that it was not a Hang, because the Clock timing at bootom right was changing minute by minute.
 
Old 06-26-2008, 03:56 AM   #26
kevalvora
LQ Newbie
 
Registered: Jun 2008
Posts: 22

Original Poster
Rep: Reputation: Disabled
I took a live CD and booted it.
While Booting, it gave following error:

end_request: I/O error dev sr0, sector [sector_no eg. 1424768]
Buffer I/O error on device sr0, logical block [block_no eg. 356192]

Above mentioned error occured approximately 20 times with different sector/block no.s.
Then, the Graphical loading started & rest entire procedure went without errors.
The desktop was loaded with only 1 icon of "Install on Drive".
However, my periperals were not working and i was unable to communicate with the system.
Even on pressing "Caps Lock" key, the LED on keyboard was not responding.
Soon, i was able to see a small icon at bottom right of a mouse and a red circle, indicating that mouse was not detected.
There were 3 other icons also, but i couldn't makeout the meaning.

But i am 100% sure that it was not a Hang, because the Clock timing at bootom right was changing minute by minute.
 
Old 06-26-2008, 04:20 AM   #27
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,470
Blog Entries: 54

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. Your other thread should be merged with this one because it is a duplicate.
 
Old 06-26-2008, 10:27 AM   #28
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
There's either a kernel boot option you can add to fix this or Fedora 9 is not supported with your hardware configuration.
In your error "sr0" is your cdrom drive.

Can you make sure you have that configured correctly in your system. In other words open your case, check if you have the cdrom on the secondary ide controller as primary. Also check the jumper on the back of the cdrom drive and make sure its set to either cable select or master. If you have it installed as a slave on the primary ide controller explain why u did that. Moving along, if it's installed as a slave on the primary IDE controller make sure the jumped on the back of the cdrom is set to either cable select or slave.
 
Old 06-26-2008, 10:29 AM   #29
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
The error looks like it's having trouble reading the CD. But that shouldn't of caused the first problem.


Some ideas:

What about trying a different distro?
Or even a different version of Fedora?
Was the CD/DVD burn't correctly, try another disk?

Is the system a new build? faulty ram? faulty components?
 
Old 06-26-2008, 02:36 PM   #30
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
kevalvora - I have merged your two identical threads together and moved them to the Fedora forum. For the future, please post your thread just once.
 
  


Reply

Tags
booting, fedora, hang


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
Fedora 9 hangs during booting kevalvora Fedora 15 06-26-2008 10:27 AM
Fedora hangs on CUPS when booting. Ordinary12 Fedora 4 04-30-2007 12:59 PM
My computer hangs while booting linux fedora core 1 Grothendieck Fedora 3 02-12-2007 05:36 PM
RH 9 hangs on booting rtzra Linux - Hardware 1 05-29-2003 05:17 AM


All times are GMT -5. The time now is 01:07 AM.

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