Date: Mon, 28 Dec 2020 10:49:54 +0700 From: Victor Sudakov <vas@sibptus.ru> To: freebsd-questions@freebsd.org Subject: Re: EFI, UEFI, PXE: FreeBSD-12.1-RELEASE-amd64-bootonly.iso boot from SAN device failed, error 0x7f22208e Message-ID: <20201228034954.GA28466@admin.sibptus.ru> In-Reply-To: <20201225152138.GA76538@admin.sibptus.ru> References: <20201223025406.GA25600@admin.sibptus.ru> <af710389-3e9a-6f0d-98e4-d69aab875fed@gmail.com> <20201223104459.GA36737@admin.sibptus.ru> <6cbaa416-0262-c85f-8e74-19a8ac95605d@gmail.com> <20201224134403.GB13527@admin.sibptus.ru> <a24b96bd-a446-383d-11b7-601b5b96539a@gmail.com> <CAHzLAVE_1TQYWju=Hy8sCY3=GbE1NSSEr2VGRLE30PKd7Cafaw@mail.gmail.com> <20201225084305.GA60871@admin.sibptus.ru> <CAHzLAVFCKfkxwDg-b25OyQ8Zst4Y__f6g5j7uXJGqtCkbw2Dvw@mail.gmail.com> <20201225152138.GA76538@admin.sibptus.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Victor Sudakov wrote: > Rick Miller wrote: > > > > > > I've never thought I will have to build a kernel with an MFS image > > > within (outside of NanoBSD). How are you going to boot this kernel from > > > iPXE? Put it on an ISO image and sanboot the ISO? > > > > > > > Yes. That is precisely how it is accomplished. > > I see. > > > > > Is it not possible to fetch a GENERIC kernel by loader.efi, then fetch > > > an MFSROOT image as a separate file? This is the way I did the job > > > during the pxelinux (old BIOS based netboot) times. > > > > > > > It seems you refer to loading a kernel and separate ramdisk or initrd. I've > > heard it rumored there could be preliminary experimental code to accomplish > > this, but don't have any evidence. > > It works very well in the old pxeboot environment: > > 1. Place kernel as /tftpboot/boot/kernel/kernel.gz > 2. Place mfsroot as /tftpboot/mfsroot.gz > 3. Configure pxelinux.0 to chainload /pxeboot from TFTP. > 4. pxeboot loads the kernel and mfsroot. > > To accomplish (4), I have the following lines in /tftpboot/boot/loader.conf: > > mfs_load="YES" > mfs_type="mfs_root" > mfs_name="/mfsroot" > ahci_load="YES" > vfs.root.mountfrom="ufs:/dev/md0" > > > All this however has become obsolete with the introduction of UEFI. I've tried it with mfsBSD. This approach works with pxelinux/BIOS, but does not with PXE/UEFI, see my last comments in https://github.com/mmatuska/mfsbsd/issues/110 -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJf6VXiAAoJEA2k8lmbXsY0QJgIAIoYVK5AHgGAniSukmTM3TXJ p/TfcSHwq+WfmfntchRmRQb+j1mA8JZZdZT/B/um8DNWROnZ9b3Qc7Nc5rPNVWNt CER79VCb1vkBB5yjS2nApriWXNoxXCip9AAdnvxqj7w/Xlj0wcS/mEbZ65/MSECC yB2oD8kGLVJvARLVxlZuaHpA3JSJJNlYaRTi22hSMc/ZXiebHoBq66CCNccSf+pQ ry9mHUBKXkWk81M5FhRZO5wZJI6o1I9UIeqni3PJ14rsPvcjUCk5j5xCligtiXTK ZiKPDPmMYvrquaH34XwGu8dt0/rfrcTKSfemiHK8H1NVs3/H3y/ReaWDeWQtYNU= =D98U -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201228034954.GA28466>
