LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-15-2009, 02:38 PM   #1
veyron
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Rep: Reputation: 0
Kernel panic - Recover data?


Hello there,

Electricity at my house fell out because of short circuit and when I rebooted my linux box I had a kernel panic.

Is it possible to recover and save the data wich is stored on my harddrive?

If I reinstall linux without a disk format, will the data still be on the harddrive? (like when you reinstall windows) or is there no such thing?

Also, there are two HD's in the box, mounted as one. If I get them out and just connect them to another pc with an IDE cable as slaves, is that a way to recover the data?

I'm not much of a specialist with data recovery or kernel related things on linux.

I want to be sure about this before I do something wrong.

Thanks!

Last edited by veyron; 07-17-2009 at 06:33 AM.
 
Old 07-15-2009, 04:32 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I'd get myself a live CD and boot that to start with, and see if you can mount the drives.

When you say they are mounted as one, do you mean raid (hardware or software), LVM, or something else?
 
Old 07-17-2009, 06:35 AM   #3
veyron
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 0
I can't believe I made a typo in the title

I have no raid, I just know that I have two harddisks and on the box self it seems they are as one.

Strange, maybe I'm wrong.

Is there a way to fix a kernel panic, or is re-install the only solution?

thanks!
 
Old 07-17-2009, 06:53 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
How important is the date on the disks?
 
Old 07-17-2009, 06:54 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Did you forget to answer the "get a live CD and see if you can mount the drives" part?
 
Old 07-17-2009, 07:32 AM   #6
vap16oct1984
Member
 
Registered: Jun 2009
Location: INDIA
Distribution: RHEL-5
Posts: 174
Blog Entries: 3

Rep: Reputation: 38
Hello Veyron,
Kernel panic is not a big issue. I have go through so many cases with my clients who have almost the same problem like you. So nothing to worry about it any more. You can recover the kernel panic issue by many methods which a trick. i will tell you few methods that will help to resolve the issue without a single loss of data.

Fist i suggest you Please check your ram if possible change the ram. Most of kernel panic issue is related to Memory and Ram. In second step if your RAM is ok and you still getting Carnal panic Error, do the simplest thing as you did with windows.
I mean reinstall the Linux with formatting. I have done this many time and pretty sure your data will be complete safe. Please make sure while installing don't format any partition.

I hope this will help you. If issue is still not resolved let me know.

Thank you
 
Old 07-17-2009, 10:44 PM   #7
knb
LQ Newbie
 
Registered: Sep 2004
Location: Bangalore, India
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 1
generally not that big a deal

Hi,
You had a kernel panic.
Firstly it;s not that big a deal...

Try
a) (as already suggested) rebooting w/ a LiveCD (your distro probably comes with one) , run an fsck on your disk partitions (see them w/ cfdisk or equivalent), mount them, check all ok, umount, reboot via hdd
b) just reboot .. most likely, all will be fine.
 
Old 07-18-2009, 05:08 AM   #8
reccursive
LQ Newbie
 
Registered: Apr 2009
Distribution: Debian
Posts: 5

Rep: Reputation: 1
2veyron: well, the liveCD is the best solution, really. You gotta mount then your hard drive, check /etc/fstab (on hard drive, you know) and look, if your /home directory is the mount point for separate section of HDD. I hope you store all your data in /home, don't you?
So then if /home is isolated of /etc, /usr and others - you can reinstall your system and format all partitions except of that one that's mounted to /home. So then you will be able to mount /home again and watch your data safe.
 
Old 07-19-2009, 05:52 AM   #9
veyron
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Hi, thanks for the responses!

Well, I burned the livedcd from centos, but I still got a kernel panic when trying to boot from it.
Then I downloaded one I've seen in another thread called "SystemRescueCD" and it booted without problems, mounted the drivers, it had samba standard on it and I downloaded all the files via network.

But while doing it I got allot of hardware failures and had to start over again, seems that my CPU was getting to hot because of the summer weather and I had to underclock it to work again without problems.

But eventually I got back all my data and I'm glad

I never worked with livecd's before or mounted a hd so thanks!
 
Old 07-19-2009, 06:11 AM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Well done!
 
  


Reply

Tags
kernel, panic



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
kernal panic after update redhat enterprice 4 from kernal(2.6.9-5) to kernal(2.6.9-42 TAREK-SALAMA Linux - Enterprise 3 09-10-2006 09:07 AM
kernal panic ramjimh Red Hat 1 02-04-2006 07:49 AM
new kernal causes panic johngregor Linux - Software 1 11-05-2005 11:03 AM
Software to acess and recover data on Fat32 data NeoSpawn Linux - Software 2 09-04-2005 11:37 AM
Kernal panic ? James McGee Yoper 10 10-06-2004 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:05 PM.

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