Re: [CentOS] big problem at boot [SOLVED]

2011-09-07 Thread Michel Donais
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 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] big problem at boot

2011-09-04 Thread Michel Donais
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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] big problem at boot

2011-09-04 Thread Lisandro Grullon
I hope you have good backups, print the partition table and reload the OS in 
the box...check the logs maybe someone hack your box and changed things around. 
Alternatevely, you can always try installing X window system from init 3, try 
doing a yum grouremove X Window System Desktop -y  yum groupinstall X 
Window System Desktop -y 

Let us know how it goes.

--Original Message--
From: Michel Donais
Sender: centos-boun...@centos.org
To: CentOS mailing list
ReplyTo: CentOS mailing list
Subject: Re: [CentOS] big problem at boot
Sent: Sep 4, 2011 9:29 AM

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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Sent on the Sprint® Now Network from my BlackBerry®
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] big problem at boot

2011-09-04 Thread Always Learning

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.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] big problem at boot

2011-09-04 Thread Lisandro Grullon
Certainly that's a good idea.
--Original Message--
From: Always Learning
Sender: centos-boun...@centos.org
To: CentOS mailing list
ReplyTo: CentOS mailing list
Subject: Re: [CentOS] big problem at boot
Sent: Sep 4, 2011 11:23 AM


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.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Sent on the Sprint® Now Network from my BlackBerry®
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] big problem at boot

2011-09-04 Thread David G . Miller
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




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] big problem at boot

2011-09-03 Thread Always Learning

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.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] big problem at boot

2011-09-03 Thread Lisandro Grullon
Try looking at your inittab under /etc
Sent on the Sprint® Now Network from my BlackBerry®

-Original Message-
From: Michel Donais don...@telupton.com
Sender: centos-boun...@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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] big problem at boot

2011-09-03 Thread Lisandro Grullon
See if you can boot into single user and try to init 3 from there...let us know 
what happen.
--Original Message--
From: Always Learning
Sender: centos-boun...@centos.org
To: CentOS mailing list
ReplyTo: CentOS mailing list
Subject: Re: [CentOS] big problem at boot
Sent: Sep 3, 2011 10:47 PM


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.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Sent on the Sprint® Now Network from my BlackBerry®
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] big problem at boot

2011-09-03 Thread Always Learning

On Sun, 2011-09-04 at 03:01 +, 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.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos