Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-11-2012, 12:36 AM   #1
Senior Member
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
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

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

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
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

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-11-2012, 12:45 AM   #2
LQ Newbie
Registered: Jan 2012
Posts: 4

Rep: Reputation: Disabled
Can you Show me the output of fdisk -l command
Old 01-11-2012, 12:58 AM   #3
Senior Member
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Original Poster
Rep: Reputation: 221Reputation: 221Reputation: 221
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.

#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
#df -h
It was not showing me any proper mount point.


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

All times are GMT -5. The time now is 02:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration