Issue to install VM by PXE

perriot

New Member
Jun 14, 2013
4
0
1
Hi,

may be someone can help me.
I am starting a POC with proxmox ( pve-manager/3.0/0428106c )
I would install a VM (KVM) in centOs with a pxe boot.

No issues for the proxmox setup.
But I have a issue during the pxe boot on my VM.
I get well my vmlinuz and my initrd from my tftp but after the initfsram, on the fist init process, I have a Kernel panic :
Code:
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.32-358.el6.x86_64 #1

boot-pxe.jpg

The vmlinuz and initrd used are the same used to install physical server (without issues) and come from official centOs mirrors.
I have try with several version centOs 6.4 , 6.3, 5.8, ... always same issue, so I presume my problem is not about a corrupted vmlinuz/initrd.
The VM is in local and qcow, below the vm file definition :


Code:
[FONT=arial]balloon: 512
[/FONT][FONT=arial]bootdisk: virtio0
cores: 4
ide2: none,media=cdrom
memory: 4096
name: ope-2
net0: e1000=76:15:97:DF:DF:43,bridge=vmbr-infra
ostype: l26
sockets: 1
virtio0: local:101/vm-101-disk-1.qcow2,format=qcow2,size=32G[/FONT]


Else I can install the same VM when I add a cdrom
Code:
[FONT=arial]
ide2: iso:iso/CentOS-6.4-x86_64-minimal.iso,media=cdrom,size=350546K
[/FONT]


If someone know what I do wrong, it will be great.

Thank in advance
 
Hi,

we have found our issue and all work fine now.
I give you what we were doing wrong, in case if someone have the same issue another day...

The issue coming from inappropriate kernel option (console=ttyS1,115200) set in the cobbler profile used for these tests (a too quick copy/paste :( ).

Regards
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!