Skip to main content

Background

I made an Ubuntu 20.04 customized"customized" img via dd command from a USB disk drive. UsingI use servaServa as PXE server likefollowing servaServa tutorial tutorial.

The official Ubuntu 20.04.4 ISO PXE bootboots successfully. But whenWhen I PXE boot my customized"customized" image it properly downloads vmlinuz and initrd but will initrd triggers a kernel panic.

Question

It is right wayIs it correct adding a Linux asset to make PXE boot sequence like copyServa's repository by copying all the filefiles from an image file on root(root partition folder) to NWA_PXE/{my customized image name}?

If this stepmethod is correct. Maybe could it be the initrd filetriggers the kernel panic because it lacked some kernel module like SMB module or CIFS module on boot?

This is inspired by this article: Boot custom Linux image using PXE


The error code is:

[ 1.437739]  ---[ end Kernel panic - not syncing: Attempted to kill init! exit code=0x00000200 ]---

The ServaAsset.inf setting is:

[PXESERVA_MENU_ENTRY]
asset    = customized img beta
platform = amd64

kernel_bios    = /NWA_PXE/$HEAD_DIR$/casper/vmlinuz
append_bios    = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/casper/initrd boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlmv2,vers=2.0,ro ip=dhcp ro ipv6.disable=1

kernel_efi64   = /NWA_PXE/$HEAD_DIR$/boot/vmlinuz-5.11.0-40-generic
append_efi64   = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/boot/initrd.img-5.11.0-40-generic boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlm,vers=1.0,ro ip=dhcp ro ipv6.disable=1



Background

I made an Ubuntu 20.04 customized img via dd command from a USB disk drive. Using serva as PXE server like serva tutorial.

The official Ubuntu 20.04.4 ISO PXE boot successfully. But when I boot my customized image it properly downloads vmlinuz and initrd but will initrd triggers a kernel panic.

Question

It is right way to make PXE boot sequence like copy all the file from image file on root partition folder to NWA_PXE/{my customized image name}?

If this step is correct. Maybe the initrd file lacked some module like SMB module or CIFS module on boot?

This is inspired by this article: Boot custom Linux image using PXE


The error code is:

[ 1.437739]  ---[ end Kernel panic - not syncing: Attempted to kill init! exit code=0x00000200 ]---

The ServaAsset.inf setting is:

[PXESERVA_MENU_ENTRY]
asset    = customized img beta
platform = amd64

kernel_bios    = /NWA_PXE/$HEAD_DIR$/casper/vmlinuz
append_bios    = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/casper/initrd boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlmv2,vers=2.0,ro ip=dhcp ro ipv6.disable=1

kernel_efi64   = /NWA_PXE/$HEAD_DIR$/boot/vmlinuz-5.11.0-40-generic
append_efi64   = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/boot/initrd.img-5.11.0-40-generic boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlm,vers=1.0,ro ip=dhcp ro ipv6.disable=1



Background

I made an Ubuntu 20.04 "customized" img via dd command from a USB disk drive. I use Serva as PXE server following Serva tutorial.

The official Ubuntu 20.04.4 ISO PXE boots successfully. When I PXE boot my "customized" image it properly downloads vmlinuz and initrd but initrd triggers a kernel panic.

Question

Is it correct adding a Linux asset to Serva's repository by copying all the files from an image file (root partition folder) to NWA_PXE/{my customized image name}?

If this method is correct could it be the initrd triggers the kernel panic because it lacked some kernel module like SMB or CIFS on boot?

This is inspired by this article: Boot custom Linux image using PXE


The error code is:

[ 1.437739]  ---[ end Kernel panic - not syncing: Attempted to kill init! exit code=0x00000200 ]---

The ServaAsset.inf setting is:

[PXESERVA_MENU_ENTRY]
asset    = customized img beta
platform = amd64

kernel_bios    = /NWA_PXE/$HEAD_DIR$/casper/vmlinuz
append_bios    = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/casper/initrd boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlmv2,vers=2.0,ro ip=dhcp ro ipv6.disable=1

kernel_efi64   = /NWA_PXE/$HEAD_DIR$/boot/vmlinuz-5.11.0-40-generic
append_efi64   = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/boot/initrd.img-5.11.0-40-generic boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlm,vers=1.0,ro ip=dhcp ro ipv6.disable=1



Formatting
Source Link
AdminBee
  • 23.6k
  • 25
  • 55
  • 77

Background

I made an Ubuntu 20.04 customized img via dd command from a usb disk drive. Using serva as pxe server like serva tutorial.

The official Ubuntu 20.04.4 ISO PXE boot successfully. But when I boot my customized img it properly downloads vmlinuz and initrd but will initrd triggers a kernel panic.

I made an Ubuntu 20.04 customized img via dd command from a USB disk drive. Using serva as PXE server like serva tutorial.

The official Ubuntu 20.04.4 ISO PXE boot successfully. But when I boot my customized image it properly downloads vmlinuz and initrd but will initrd triggers a kernel panic.

Question :

It is right way to make pxePXE boot sequence like copy all the file from imgimage file on root partition folder to NWA_PXE/{my customized image name}?

If this step is correct. Maybe the initrd file lacked some module like SMB module or CIFS module on boot  ?

This is inspired by this article: Boot custom Linux image using PXE


The error code is:

[ 1.437739]  ---[ end Kernel panic - not syncing: Attempted to kill init! exit code=0x00000200 ]---

The ServaAsset.inf setting is:

[PXESERVA_MENU_ENTRY]
asset    = customized img beta
platform = amd64

kernel_bios    = /NWA_PXE/$HEAD_DIR$/casper/vmlinuz
append_bios    = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/casper/initrd boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlmv2,vers=2.0,ro ip=dhcp ro ipv6.disable=1

kernel_efi64   = /NWA_PXE/$HEAD_DIR$/boot/vmlinuz-5.11.0-40-generic
append_efi64   = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/boot/initrd.img-5.11.0-40-generic boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlm,vers=1.0,ro ip=dhcp ro ipv6.disable=1



Background

I made an Ubuntu 20.04 customized img via dd command from a usb disk drive. Using serva as pxe server like serva tutorial.

The official Ubuntu 20.04.4 ISO PXE boot successfully. But when I boot my customized img it properly downloads vmlinuz and initrd but will initrd triggers a kernel panic.

Question :

It is right way to make pxe boot sequence like copy all the file from img file on root partition folder to NWA_PXE/{my customized image name}?

If this step is correct. Maybe the initrd file lacked some module like SMB module or CIFS module on boot  ?

This is inspired by this article: Boot custom Linux image using PXE


The error code is:

[ 1.437739]  ---[ end Kernel panic - not syncing: Attempted to kill init! exit code=0x00000200 ]---

The ServaAsset.inf setting is:

[PXESERVA_MENU_ENTRY]
asset    = customized img beta
platform = amd64

kernel_bios    = /NWA_PXE/$HEAD_DIR$/casper/vmlinuz
append_bios    = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/casper/initrd boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlmv2,vers=2.0,ro ip=dhcp ro ipv6.disable=1

kernel_efi64   = /NWA_PXE/$HEAD_DIR$/boot/vmlinuz-5.11.0-40-generic
append_efi64   = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/boot/initrd.img-5.11.0-40-generic boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlm,vers=1.0,ro ip=dhcp ro ipv6.disable=1



Background

I made an Ubuntu 20.04 customized img via dd command from a USB disk drive. Using serva as PXE server like serva tutorial.

The official Ubuntu 20.04.4 ISO PXE boot successfully. But when I boot my customized image it properly downloads vmlinuz and initrd but will initrd triggers a kernel panic.

Question

It is right way to make PXE boot sequence like copy all the file from image file on root partition folder to NWA_PXE/{my customized image name}?

If this step is correct. Maybe the initrd file lacked some module like SMB module or CIFS module on boot?

This is inspired by this article: Boot custom Linux image using PXE


The error code is:

[ 1.437739]  ---[ end Kernel panic - not syncing: Attempted to kill init! exit code=0x00000200 ]---

The ServaAsset.inf setting is:

[PXESERVA_MENU_ENTRY]
asset    = customized img beta
platform = amd64

kernel_bios    = /NWA_PXE/$HEAD_DIR$/casper/vmlinuz
append_bios    = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/casper/initrd boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlmv2,vers=2.0,ro ip=dhcp ro ipv6.disable=1

kernel_efi64   = /NWA_PXE/$HEAD_DIR$/boot/vmlinuz-5.11.0-40-generic
append_efi64   = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/boot/initrd.img-5.11.0-40-generic boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlm,vers=1.0,ro ip=dhcp ro ipv6.disable=1



Background

I had make a customized img onmade an Ubuntu 20.04 customized img via dd command from a usb disk driverdrive. Using serva as pxe server like serva tutorial.

It is successful completion boot over pxe onThe official Ubuntu 20.04.4 ISO PXE boot successfully. But when I boot my customized img. It download it properly downloads vmlinuz, and initrd successful but will encounter Kernel panic when run initrd triggers a kernel panic.

Question :

It is right way to make pxe boot sequence like copy all the file from img file on root partition folder to NWA_PXE/{my customized image name}?

If this step is correct. Maybe the initrd file lacked some module like SMB module or CIFS module on boot ?

This is inspired by this article: Boot custom Linux image using PXE


The error code is:

[ 1.437739]  ---[ end Kernel panic - not syncing: Attempted to kill init! exit code=0x00000200 ]---

The ServaAsset.inf setting is:

[PXESERVA_MENU_ENTRY]
asset    = customized img beta
platform = amd64

kernel_bios    = /NWA_PXE/$HEAD_DIR$/casper/vmlinuz
append_bios    = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/casper/initrd boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlmv2,vers=2.0,ro ip=dhcp ro ipv6.disable=1

kernel_efi64   = /NWA_PXE/$HEAD_DIR$/boot/vmlinuz-5.11.0-40-generic
append_efi64   = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/boot/initrd.img-5.11.0-40-generic boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlm,vers=1.0,ro ip=dhcp ro ipv6.disable=1



Background

I had make a customized img on Ubuntu 20.04 via dd command from a usb disk driver. Using serva as pxe server like serva tutorial.

It is successful completion boot over pxe on official Ubuntu 20.04.4 ISO. But when boot my customized img. It download vmlinuz, initrd successful but will encounter Kernel panic when run initrd.

Question :

It is right way to make pxe boot sequence like copy all the file from img file on root partition folder to NWA_PXE/{my customized image name}?

If this step is correct. Maybe the initrd file lacked some module like SMB module or CIFS module on boot ?

This is inspired by this article: Boot custom Linux image using PXE


The error code is:

[ 1.437739]  ---[ end Kernel panic - not syncing: Attempted to kill init! exit code=0x00000200 ]---

The ServaAsset.inf setting is:

[PXESERVA_MENU_ENTRY]
asset    = customized img beta
platform = amd64

kernel_bios    = /NWA_PXE/$HEAD_DIR$/casper/vmlinuz
append_bios    = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/casper/initrd boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlmv2,vers=2.0,ro ip=dhcp ro ipv6.disable=1

kernel_efi64   = /NWA_PXE/$HEAD_DIR$/boot/vmlinuz-5.11.0-40-generic
append_efi64   = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/boot/initrd.img-5.11.0-40-generic boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlm,vers=1.0,ro ip=dhcp ro ipv6.disable=1



Background

I made an Ubuntu 20.04 customized img via dd command from a usb disk drive. Using serva as pxe server like serva tutorial.

The official Ubuntu 20.04.4 ISO PXE boot successfully. But when I boot my customized img it properly downloads vmlinuz and initrd but will initrd triggers a kernel panic.

Question :

It is right way to make pxe boot sequence like copy all the file from img file on root partition folder to NWA_PXE/{my customized image name}?

If this step is correct. Maybe the initrd file lacked some module like SMB module or CIFS module on boot ?

This is inspired by this article: Boot custom Linux image using PXE


The error code is:

[ 1.437739]  ---[ end Kernel panic - not syncing: Attempted to kill init! exit code=0x00000200 ]---

The ServaAsset.inf setting is:

[PXESERVA_MENU_ENTRY]
asset    = customized img beta
platform = amd64

kernel_bios    = /NWA_PXE/$HEAD_DIR$/casper/vmlinuz
append_bios    = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/casper/initrd boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlmv2,vers=2.0,ro ip=dhcp ro ipv6.disable=1

kernel_efi64   = /NWA_PXE/$HEAD_DIR$/boot/vmlinuz-5.11.0-40-generic
append_efi64   = showmounts toram root=/dev/cifs initrd=/NWA_PXE/$HEAD_DIR$/boot/initrd.img-5.11.0-40-generic boot=casper netboot=cifs nfsroot=//$IP_BSRV$/NWA_PXE_SHARE/$HEAD_DIR$ NFSOPTS=-ouser=serva,pass=avres,sec=ntlm,vers=1.0,ro ip=dhcp ro ipv6.disable=1



Source Link
Loading