Kernel panic - not syncing attempted to kill init

General support questions
Post Reply
lscin
Posts: 2
Joined: 2015/04/27 15:06:52

Kernel panic - not syncing attempted to kill init

Post by lscin » 2015/04/27 15:28:59

Good day.

I have one problem with CentOS VM on Hyper-V.

I was try to resize partitions on VM use fdisk (recreated partition).

In result:

Image

Added in grub enforcing=0 for see the detail error.

On load partitions will see the system, but in result:

Image

I then have try to add "rdshell" at the end of kernel parameter on grub to debug.
Here are the result.

Image

Image

Image

So, I try add UUID sda1 in kernel parameter on grub.

In result a have this error:

Image

Tell me, please, how I can restore partititons or extract files important for me?

Thx

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Kernel panic - not syncing attempted to kill init

Post by gerald_clark » 2015/04/27 17:09:55

You cannot just resized partitions.
To make it smaller, you must resize the filesystem first, and that cannot be done with it mounted.

lscin
Posts: 2
Joined: 2015/04/27 15:06:52

Re: Kernel panic - not syncing attempted to kill init

Post by lscin » 2015/04/28 07:21:43

gerald_clark wrote:You cannot just resized partitions.
To make it smaller, you must resize the filesystem first, and that cannot be done with it mounted.
No, try to set biggest spase for sda3, not smaller.

But, this is not actually problem. I may or reignite VM :) or extract dump mysql and files. :(

Post Reply