Booting CoreOS via PXE

420 views
Skip to first unread message

Arnaud Brunet

unread,
Nov 22, 2016, 7:45:05 PM11/22/16
to CoreOS Dev
Hello,

I try to start CoreOS via PXE in VirtualBox.

I setup my PXE server. It works with a debian installer

Then I follow the https://coreos.com/os/docs/latest/booting-with-pxe.html documentation.
But I can not start my server.


First I have an error stating that 'baselayout.conf' is missing. View screenshot 'missing_baselayout.png'
Then I have a failure on switch-root. View screenshot 'failed_to_start_switch_root.png'

My PXE boot options
LABEL coreos
  kernel coreos_production_pxe
.vmlinuz
  initrd coreos_production_pxe_image
.cpio.gz
  append cloud
-config-url=http://192.168.1.1/pxe-cloud-config.yml


My config.yml
coreos:
 
units:
   
- name: etcd2.service
     
command: start
   
- name: fleet.service
     
command: start
ssh_authorized_keys:
 
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQAB...== root@pxe

Did I miss something ?

Regards,
Arnaud
failed_to_start_switch_root.png
missing_baselayout.png

Brandon Philips

unread,
Nov 22, 2016, 7:47:27 PM11/22/16
to CoreOS Dev
What version of CoreOS Linux are you using? Looks like something might be messed up with our rootfstype=tmpfs setup.

Can you provide the URL you downloaded coreos_production_pxe.vmlinuz and coreos_production_pxe_image.cpio.gz from?

Arnaud Brunet

unread,
Nov 22, 2016, 8:04:01 PM11/22/16
to CoreOS Dev

Arnaud Brunet

unread,
Nov 22, 2016, 11:05:59 PM11/22/16
to CoreOS Dev
Ok I found my problem.

I had more RAM on the virtual machine. And now it's good.

Thanks

Jacob Tomlinson

unread,
Jul 28, 2017, 3:06:10 AM7/28/17
to CoreOS Dev
Sorry to jump on an old thread but I'm having the same issue. The machine is physical with 8GB of RAM so I can't simply add more.

I am also using the production links above.

Thanks

Jacob Tomlinson

unread,
Jul 28, 2017, 7:51:31 AM7/28/17
to CoreOS Dev
I've resolved this by switching the root filesystem kernal option to use local disk instead of in memory.
Reply all
Reply to author
Forward
0 new messages