LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-01-2014, 01:31 AM   #1
RHL_User
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Rep: Reputation: Disabled
Cannot login after removing package from RHEL 5...


Ok,
I am new to RHEL 5 - and was using Sun Solaris Unix v5. Now, I am on a new playing field. haha!
So, I got a bunch of flags after installing TZ_DATA update package...
ok tzdata-2014e-11.el5. So, like a good scout, I thought - just install the package - haha. Wrong move.
After uninstalling, I kept getting a message, unable to find /dev/root.
I noticed the screen was starting to lock up as well. REBOOT !
haha - now I get - Kernel panic, could not find init((null)) bad address.
I put the rescue disk in, wow - the /sbin/init is totally gone. Also, /bin/sh is gone too. Alot of link files are missing.
I tried changing the grub's menu.lst
root (hd0,0)
Kernel /vmlinuz-2.6.18-371.8.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet audit=1 selunix=0|enforcing=0 to the uuid, root=uuid=uZXvGN-fQXO-bcHh-xMqt-POk1-gI1f-mc3F1q rhgb quiet ...

rebooted, now getting - kernel paniced, cannot find /dev/root, unable to find /proc, unable to find /sys, unable to find /usr.

Any suggestions?
 
Old 07-01-2014, 01:55 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Maybe pouring petrol on it then flicking a lit match will help?

Seriously though - STOP DIGGING!

Your LVM seems non-functional - maybe hardware failure or something you changed while "fixing" it.
 
Old 07-01-2014, 02:07 AM   #3
RHL_User
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Well, I was able to get into LVM and both volumes were found and are available. Both were found during the boot up process.

---------- Post added 07-01-14 at 02:08 AM ----------

How do I recreate the /sbin/init file?
 
Old 07-01-2014, 02:29 AM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Restore it from your backup?
 
Old 07-01-2014, 03:32 AM   #5
RHL_User
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
the /sbin folder wasnt backed up.
 
Old 07-01-2014, 03:37 AM   #6
RHL_User
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Honestly, do you think I would of posted to this if I had a good back up? That would be a no brainer!
 
  


Reply



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
Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd. redhatlbug Linux - Software 4 03-10-2013 06:09 AM
Login problems with XDMCP from a pre-RHEL-4 client to a RHEL-4 server running KDE cspao Red Hat 0 07-21-2006 06:30 AM
removing a package?? ayers Linux - Software 3 06-27-2005 04:39 AM
removing a package ?? ayers Linux - Newbie 3 06-27-2005 03:18 AM
removing package vichet Linux - Newbie 1 04-23-2002 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration