Boot custom debian uefi PXE grub

Kernels & Hardware, configuring network, installing services

Boot custom debian uefi PXE grub

Postby wierd79 » 2018-07-17 14:34

I'm trying to boot my custom debian through eufi pxe with grub (grub.cfg)
I use pfsense as dhcp server and (legacy and uefi boot configured) and CSM pxe boots fine (pxelinux).

However when I try to boot UEFI pxe (grub) I always dropped in Busybox.

error:

Code: Select all
Begin: Running /scripts/nfs-bottom ... done
Begin: Running /scripts/init-bottom ... [ 6.6350084] random: fast init done
mount :mounting /dev/ on /root/dev failed: no such file or directory
Mount: mounting /dev/ on /root/dev failed: no such file or directory
done
//mounting /dev/ on /root/run failed: no such file or directory
run-init: opening console: no such file or directory
targer filesystem doesn;t have requested /sbin/init.
run=init: opening console: No such file or directory
run=init: opening console: No such file or directory
run=init: opening console: No such file or directory
run=init: opening console: No such file or directory
No init found. Try passing init= bootarg.

and then droppes in busybox.

NFS works, in busybox the nfs is mounted (10.0.0.1:/nfs mounted on /root)

Grub menuentry:
Code: Select all
menuentry "1)  TEST" {
   linux /bios/2018/vmlinuz1 root=/dev/nfs rw nfsroot=10.0.0.1:/nfs ip=dhcp
   initrd /bios/2018/initrd1
   #linux /bios/2018/vmlinuz1 root=/dev/nfs boot=nfs nfsroot=10.0.0.1:/nfs/2018 rw
   #initrd /2018/initrd1
   }


I looked at almost every site, but most dont cover eufi pxe.
Anyone suggestions where I should look to fix this issue?
wierd79
 
Posts: 7
Joined: 2012-11-01 10:49

Re: Boot custom debian uefi PXE grub

Postby wierd79 » 2018-07-23 14:15

I tried PXElinux with the following config:

Code: Select all
 
kernel 2018/vmlinuz1
APPEND rw root=/dev/nfs nfsroot=10.0.0.1:/nfs/ live-media-path=2018 boot=live lang=us nomce apm=power-off noprompt noeject initrd=2018/initrd1 vga=normal toram=filesystem.squashfs


Now its boots just fine...

Still not managed to get debian booting with grub (efi)...
wierd79
 
Posts: 7
Joined: 2012-11-01 10:49


Return to System configuration

Who is online

Users browsing this forum: Tonto and 6 guests

fashionable