Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Boot custom debian uefi PXE grub

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
wierd79
Posts: 7
Joined: 2012-11-01 10:49

Boot custom debian uefi PXE grub

#1 Post by wierd79 »

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

#2 Post by wierd79 »

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)...

Post Reply