Boot Messages changed after mondorestore

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Boot Messages changed after mondorestore
# 1  
Old 07-22-2009
Boot Messages changed after mondorestore

Hello All,

I backed up my RHEL 4 as an image.
Then I restored the image (by mondorestore) on my machine. Everything went fine but I dont get the normal boot sequence as it used to come when I freshly installed RHEL4.

The messages that are shown when the system boots are something like-
" .....
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
"

At this point, system waits for a while and then login prompt comes up normally. Everything in the system is working fine.

I just need to understand how this boot sequence got changed.
Is there anyway by which I can restore the normal boot sequence which used to get previously...
something like (may not be exactly similar)-

*** Welcome to Red Hat Linux Enterprise ***

Starting cups ..... [OK]
Starting NFS ...... [OK]
Starting *** ..... [OK]
Starting eth0 [OK]
....etc


Can anybody please tell me how do I get this kind of boot sequence again ??

This also occurs even if I restore a simple image instead of mondo image(thru mondorestore)

Regards,
Shamik.
# 2  
Old 07-22-2009
Linux startup service scripts are found in the directory /etc/rc.d/rc#.d/ (for Rehdat) where the symbol # represents the run level.
i.e. the run level "3" will run all the scripts in the directory /etc/rc.d/rc3.d/ which start with the letter "S" during system boot. This starts the background processes required by the system. Services start in numerical order. S20abc is run before S30xyz. These S# and K# files are just links to the actual scripts in /etc/init.d

Note: K is for kill or shutdown. Those scripts are executed when you shutdown the system.

If you are in runlevel 5, then have a look at /etc/rc.d/rc5.d and see how the scripts have been numbered. You can change the numbering, but that should only done if you know what you are doing! Otherwise some services may not start as they are dependent on other. Smilie

-Nitin
# 3  
Old 07-23-2009
Question

Yes, i totally agree with what is said.

The problem is all the services get started as usual, but i dont see any messages like which services got started and which failed to start.

After observing boot log I came to know that the messages-
"EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
"

also come in normal unimaged system, and since they are very quick, we just cant read those. After the last message shown above, another message comes saying-
"switching to new root"

and thereafter the desired messages-

*** Welcome to Red Hat Linux Enterprise ***

Starting cups ..... [OK]
Starting NFS ...... [OK]
Starting *** ..... [OK]
Starting eth0 [OK]
....etc


start coming up.

But in the problem case described here, after image restore, the system doesnt show these messages. It stops for sometime at-
"EXT3-fs: mounted filesystem with ordered data mode."

and then normal login prompt appears.

How can I get those messages to appear again as before ?
# 4  
Old 07-23-2009
What runlevel are you booting into? Sounds like you are booting into single user.
# 5  
Old 07-23-2009
Runlevel-3
# 6  
Old 07-23-2009
Okay,

So reboot the box, append to the end of grub "single" and boot the os; after you are at the bash prompt run fsck /dev/sda1 (or w/e your drives are) and make sure they pass an fsck. If all is good after that mount the drive and double check you dont have any .autofsck files on the fs. Then reboot and see what happens.
# 7  
Old 07-23-2009
The boot loader is LILO and not GRUB

Also,

whenever I try to run the fsck after the system boots up completely, it does nothing. Just shows the version of fsck and exits-

#root# fsck
fsck 1.35 (28-Feb-2004)
#root#

I dont know what to do now. M totally blank and running out of options and clues.

What I deduce till now is kernel is booting fine, system is also booting fine, but after the kernel boot up messages, Init messages are not shown on the console, it just finishes running in the background and gives the login prompt.

The init messages are not shown even during shutdown process.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Customized boot log messages

Hi all Many years ago, I found online this script that was incredibly funny and I had blogged it Unfortunately because of my poor record-keeping, I seem to have lost the shell script Would somebody be kind enough to tell me how to replicate this? Thank you! (0 Replies)
Discussion started by: hedkandi
0 Replies

2. Red Hat

Custom-Spin doesnt boot to GUI when /etc/skel is changed

Heyas So i have my custom Fedora with AwesomeWM spin with alots of customizations using the kickstart method for a liveimage. A few weeks (2-3 months) ago, i've done some changes i cannot remember. Those changes made the image from bootable to gui, to not booting to gui any more. Just... (3 Replies)
Discussion started by: sea
3 Replies

3. Red Hat

Grub.conf kernel field boot messages verbosity configuration

I am trying to understand what are the differences of boot messages verbosity levels for the kernel field in grub.conf From my research, there appear to be three levels: quiet verbose debug I have also found documents that specify removing quiet from the kernel field. If this is done, is... (1 Reply)
Discussion started by: thaebich
1 Replies

4. Shell Programming and Scripting

Script to echo "File permissions or ownership changed from required " when accidentally changed.

Hi All, I have to work in the late nights some times for server maintenance and in a hurry to complete I am accidentally changing ownership or permission of directories :( which have similar names ( /var in root and var of some other directory ).:confused: Can some one suggest me with the... (1 Reply)
Discussion started by: shiek.kaleem
1 Replies

5. Filesystems, Disks and Memory

Boot Sequence changed After Image Restore

Hello All, I backed up my RHEL 4 as an image. Then I restored the image on my machine. Everything went fine but I dont get the normal boot sequence as it used to come when I freshly installed RHEL4. The messages that are shown when the system boots are something like- " ..... EXT3-fs:... (2 Replies)
Discussion started by: shamik
2 Replies

6. Red Hat

mondorestore

Hi Guys :) I am finding out the way to use mondorestore via command line only, no GUI. I am able to use mondoarchive in the same way but not mondorestore. can anybody help me out.... Thanks in advance! halides:b: (0 Replies)
Discussion started by: halides
0 Replies

7. AIX

has bosboot command changed characteristics of boot image?

hi all i just found one of my p650 server showing a warning message when i tried to run bosboot command after upgrading TL to AIX 530803. i also tried to run chpv -c hdisk0 and chpv -c hdisk1 to clear out the old boot info in hdisk0 and hdisk1 and rerun bosboot -a. it still showed... (0 Replies)
Discussion started by: rs6000er
0 Replies

8. Linux

boot messages

Where do all those messages at boot time get stored / logged? like: starting eth0 : OK starting mysql : OK etc... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

9. Solaris

boot messages

(Solaris 8, 4 cpu's) When I look at my boot messages (/var/adm/messages or dmesg) I noticed the following: Sep 23 08:53:00 server1 unix: cpu0: SUNW,UltraSPARC-II (upaid 0 impl 0x11 ver 0xa0 clock 450 MHz) Sep 23 08:53:00 server1 unix: cpu1: SUNW,UltraSPARC-II (upaid 1 impl 0x11 ver... (1 Reply)
Discussion started by: finster
1 Replies

10. UNIX for Dummies Questions & Answers

boot messages - how to eliminate them

Anyone would know how to get rid off a message that comes up during a boot-up on Solaris? It says that the clusters for this software are not installed. I deleted the software because it was crashing some other stuff but it did not get rid off all the stuff. Yes, I am coming from windows and... (2 Replies)
Discussion started by: softarch
2 Replies
Login or Register to Ask a Question