LinuxQuestions.org
Review your favorite Linux distribution.
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 01-10-2012, 11:36 PM   #1
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,188
Blog Entries: 4

Rep: Reputation: 219Reputation: 219Reputation: 219
Unhappy Linux rescue :you don't have any linux partitions


Hello All,

I have redhat 5 VM which was running as a ftp server but once I restarted the machine, it is not coming up.

It gets stucked at the point of loading kernel and returns with this error

Code:
kernel panic: not syncing Attempted to kill init


I thought it would be better to go to the rescue mode to fix the issue But when I went into rescue mode

This is the message which appears on the screen

Code:
You donot have any any linux partitions.You will be redirected to shell.Press cancel to reboot.


after this when I enter the shell most of the files goes missing from my file system

there is no fstab, grub or all other main files

To give a try I did the same rescue method in my test vm where I get a message
Code:
your linux partition has been mounted on /mnt/sysimage
to change root you need to type chroot /mnt/sysimage


once I enter the shell I run the command as mentioned and all the files are visible

I did a bit of search on Google and I found that this is a sort of bug in anaconda for RED HAT but I don't see any solution for this bug
https://bugzilla.redhat.com/show_bug.cgi?id=488984

Can anyone please help me overcome this issue as this server contains very critical data.
Or is there any way that I can recover those data.
 
Old 01-10-2012, 11:45 PM   #2
saahil2012
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Rep: Reputation: Disabled
Can you Show me the output of fdisk -l command
 
Old 01-10-2012, 11:58 PM   #3
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,188
Blog Entries: 4

Original Poster
Rep: Reputation: 219Reputation: 219Reputation: 219
Thanks for the reply,

Actually for now I have taken a snapshot of current instance and reverted back to the old one, due to which all my recent work has been lost

I won't be able to give you the exact output.

Code:
#fdisk -l
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1830    14699443+  83  Linux
/dev/sda2            1831        1957     1020127+  82  Linux swap / Solaris
I was not getting any proper output for
Code:
#df -h
It was not showing me any proper mount point.
 
  


Reply


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
how can i fix partitions in rescue model? icej Linux - General 3 09-02-2010 05:43 AM
Linux Rescue script question, in rescue mode vijay_aras Linux - General 1 01-09-2008 05:03 PM
sendmail with mail don't get delivered.. postfix to the rescue? rhoekstra Linux - Networking 2 02-28-2006 01:46 AM
Win XP Install Overwrites MBR and Linux Rescue Fails to Recognize Linux Partitions carrlane Linux - Software 8 01-14-2004 07:49 AM


All times are GMT -5. The time now is 08:06 PM.

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