LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Sabayon (http://www.linuxquestions.org/questions/sabayon-86/)
-   -   Kernel Panic problems potential loss of data... (http://www.linuxquestions.org/questions/sabayon-86/kernel-panic-problems-potential-loss-of-data-889652/)

matuk_444 07-03-2011 06:20 AM

Kernel Panic problems potential loss of data...
 
Hi,

I tried to do an update in my sabayon system and the next time I tried to login I received the following messages:
RAMDISK: imcimplete
Write error
VFS could not find a valid V7 on ram0
Kernel Panic not syncing VFS unable to mount root on unknown block

I can't even log in to recovery mode, I am very worried, I have potentially lost 2 years worth of a PhD...

Mat

TobiSGD 07-03-2011 06:27 AM

Sorry, I can't help with your kernel problem, but I would recommend to boot up from a live-CD and copy your data to an external medium.
If you have valuable data, you should always have at least one backup copy, better more at different physical locations, in case of a fire breaking out in your house.
Not having backups is grossly negligent, in case of a harddisk failure or a controller running amok (not to mention the inevitable software failures) you will loose your work.

matuk_444 07-03-2011 06:37 AM

That was the first thing I thought about, I am not new to this whole OS corrupting thing. However, I am now using an ubuntu live CD and I can't see any of my files, that is the real worry...

I will add that in previous crashes, data recovery in the way you suggested has never been a problem.

TobiSGD 07-03-2011 06:45 AM

Then make a copy of your whole drive using dd, then try to recover that files from the copy using photorec or similar software.

syg00 07-03-2011 06:50 AM

Quote:

Originally Posted by matuk_444 (Post 4403224)
I will add that in previous crashes, data recovery in the way you suggested has never been a problem.

Complaceny is no excuse for not taking backups.
Let's see the output of this from the Ubuntu liveCD "sudo parted -l"

matuk_444 07-03-2011 06:53 AM

How do I do that? I have a spare back up drive which certainly has the space to cope with it.

matuk_444 07-03-2011 06:57 AM

Model: ATA ST3320613AS (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 107MB 107MB primary ext4 boot
2 107MB 320GB 320GB primary lvm


Model: ATA ST3320613AS (scsi)
Disk /dev/sdb: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary ntfs boot
2 106MB 320GB 320GB primary ntfs


Model: ATA ST31000528AS (scsi)
Disk /dev/sdc: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 1000GB 1000GB primary ntfs boot


Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label

matuk_444 07-03-2011 07:04 AM

I should add that when I view my Sabayon system from Ubuntu, I can only see the following folders, boot, grub and last+found plus a load of kernel like files.

syg00 07-03-2011 07:12 AM

I wonder if Ubuntu loads LVM by default. Did you choose LVM, or does Sabayon default it ? - I looked at it (Sabayon) several years ago merely to compare it to the base gentoo, but don't recall it being a LVM system.
A Sabayon liveCD would be a better rescue system as it likely loads LVM (if that is the default) automagically. You can manage it from Ubuntu, but you'll have to mount the lv's manually.

matuk_444 07-03-2011 07:28 AM

No too sure what LVM is (Linux virtual machine)? I am not too sure about defaulting to anything but what I did do is download a program which made it possible to view my linux partition from my windows partition and I could see the same files as I can from ubuntu.

I will try the Sabayon live cd to see if I can't get that working although previous versions didn't install on my current computer.

TobiSGD 07-03-2011 07:53 AM

You are looking at the wrong partition (/dev/sda1), this is the boot-partition. Your files will be on /dev/sda2 inside the LVM (Logical Volume Manager) container.

matuk_444 07-03-2011 07:58 AM

That seems to be the problem, THAT is all I can see.

TobiSGD 07-03-2011 08:10 AM

Try it with the SystemRescueCD, there is also documentation about LVM and how to use it on their web-site.

matuk_444 07-03-2011 08:36 AM

Not too sure how applicable this is here. If I need something to be able to run the program on and I can't get linux looting and I also have limited visibility in windows 7, how can I use it. I went to the download site and it linked mt to something called wget. What is going on?

It is very very annoying with sites like these they're always impenetrable to those of use who don't already know how to use the software in question.

TobiSGD 07-03-2011 08:52 AM

SystemRescueCD is a live-CD, you can download it simply with clicking on the download link on the left side of the page and then choosing the Sourceforge-download. Burn it to a CD as you would with any other live-CD and then start from it and use the documentation to find and rescue your data.
If that is not applicable for you or too dificult for your knowledge-level I would recommend to bring your disk to a professional that can help you with rescuing your data.


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