2

I have a bit of a strange use-case, and after searching for 3 days, I am no closer than I started.

So my goal is to install pfSense (freebsd based), onto a Beelink Z83-II. The only problem is that it is a 64bit cpu, for a 64bit OS, with a 32bit efi.

So the normal pfsense usb img file doesn't give boot option.

However, ubuntu 18.04 and freebsd 11.2 both are able to start fine.

They are the 64bit OS, but there usb img contain both a 64 and 32bit version of (grub 2 i believe). So they are able to boot fine, with the 32bit efi, and then proceed to install the 64 bit OS.

My question, and this is where I am having problems, is how can I take the 32bit bootloader of freebsd 11.2 and place it into the pfsense usb img, so I can boot from the installation usb?

I found a lot of how to update grub once installed, but I can't figure out how to change the boot-loader of the install usb.

I'm thinking I need to unpack the img. Change grub, then repack img. However unpacking and changing the usb is many troubles. With iso, I can do it, but not img. And the iso won't boot correctly either ☹.

Any and all help is much appreciated on this strange journey ☺

ctrl-alt-delor
  • 27,473
  • 9
  • 58
  • 102
Tom
  • 33
  • 2
  • This question is related to https://unix.stackexchange.com/q/382757/4778 (unfortunately there is no good answer on that question). – ctrl-alt-delor Jul 28 '18 at 17:42
  • Thanks :) i came across these as well, thats where i got the idea of using freebsd as a template. But it foesnt really give any hints of how to replace the grub of the usb stick to actually start the installation. It seems like there is almost no useful info about that. Actually, does anyone know how to actually make the usb img installer? Like can i make an entire own micro distro? – Tom Jul 28 '18 at 18:38

0 Answers0