I restarted the a Centos 5.6 server tonight and I ran in this issue:
I was able to boot. Then instead of a normal boot with graphical interface the system requested : 'Enter run level' 'INIT' I typed 5 then I got 'INIT: no more process left in this run level
How can I recover from the situation? This is a production system back-up are made but left on the disk and transfer at the end of the day into an other system
--- Michel Donais
On Sat, 2011-09-03 at 22:44 -0400, Michel Donais wrote:
Then instead of a normal boot with graphical interface the system requested : 'Enter run level' 'INIT' I typed 5 then I got 'INIT: no more process left in this run level
Try 3.
If that does not work try 1 and see if the machine will start.
Paul.
Subject: Re: [CentOS] big problem at boot
On Sat, 2011-09-03 at 22:44 -0400, Michel Donais wrote:
Then instead of a normal boot with graphical interface the system requested : 'Enter run level' 'INIT' I typed 5 then I got 'INIT: no more process left in this run level
Try 3.
If that does not work try 1 and see if the machine will start.
I also tried 1 and 3
It's whorst than expected. I booted the system with a Centos 5.6 boot disc in rescue mode and when it's time to search for linux partition on the system hard disk I get a message telling that there is no partition on that disk.
So what's next to recover
--- Michel Donais
On Sun, 2011-09-04 at 09:29 -0400, Michel Donais wrote:
It's whorst than expected. I booted the system with a Centos 5.6 boot disc in rescue mode and when it's time to search for linux partition on the system hard disk I get a message telling that there is no partition on that disk.
So what's next to recover
I would download Parted Magic from http://partedmagic.com/doku.php?id=downloads
Copy it to a CD.
Boot from that CD. It runs in RAM.
After setting the screen size form an icon on the left side, run GPARTED which will give you a clearer understanding of your hard disk drive.
Good Luck,
Paul.
Try looking at your inittab under /etc Sent on the Sprint® Now Network from my BlackBerry®
-----Original Message----- From: "Michel Donais" donais@telupton.com Sender: centos-bounces@centos.org Date: Sat, 3 Sep 2011 22:44:38 To: CentOS mailing listcentos@centos.org Reply-To: CentOS mailing list centos@centos.org Subject: [CentOS] big problem at boot
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Sun, 2011-09-04 at 03:01 +0000, Lisandro Grullon wrote:
Try looking at your inittab under /etc
This is my /etc/inittab on Centos 5.6 X64
# Default runlevel. The runlevels used by RHS are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # id:5:initdefault:
# System initialization. si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0 l1:1:wait:/etc/rc.d/rc 1 l2:2:wait:/etc/rc.d/rc 2 l3:3:wait:/etc/rc.d/rc 3 l4:4:wait:/etc/rc.d/rc 4 l5:5:wait:/etc/rc.d/rc 5 l6:6:wait:/etc/rc.d/rc 6
# Trap CTRL-ALT-DELETE ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes # of power left. Schedule a shutdown for 2 minutes from now. # This does, of course, assume you have powerd installed and your # UPS connected and working correctly. pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it. pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
# Run gettys in standard runlevels 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6
# Run xdm in runlevel 5 x:5:respawn:/etc/X11/prefdm -nodaemon
----
Hope this helps,
Paul.
Michel Donais <donais@...> writes:
I restarted the a Centos 5.6 server tonight and I ran in this issue: I was able to boot. Then instead of a normal boot with graphical interface the system requested : 'Enter run level' 'INIT' I typed 5 then I got 'INIT: no more process left in this run level How can I recover from the situation?
A tad late but you can try running "smartctl -H /dev/sdX" or "smartctl -a /dev/sdX" where /dev/sdX is your boot disk. Chances are that it will only tell you what you already know: the drive is dying. I've had good luck with smartd telling me when a disk is starting to fail. Partition tables don't just disappear on healthy hard drives.
Cheers, Dave
Than's a lot everybody who answered my help request.
You just give me a way to search finding a solution. I noticed that the on the disk the boot sector was there and permit booting but the system failed because was'nt able to find /etc/inittab. That let me think that perhaps it was ok on the rest of the surface.
I found a Windows software (sorry) named 'Neucleus Kernel Linux' by http://www.nucleustechnologies.com/ With it I was able to scan the surface of the disk and recover all my lost files.
--- Michel Donais