Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2020 22:21:38 +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:  <20201225152138.GA76538@admin.sibptus.ru>
In-Reply-To: <CAHzLAVFCKfkxwDg-b25OyQ8Zst4Y__f6g5j7uXJGqtCkbw2Dvw@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?
> >
>=20
> Yes. That is precisely how it is accomplished.

I see.

>=20
> 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.
> >
>=20
> 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 accompli=
sh
> 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=3D"YES"
mfs_type=3D"mfs_root"
mfs_name=3D"/mfsroot"
ahci_load=3D"YES"
vfs.root.mountfrom=3D"ufs:/dev/md0"


All this however has become obsolete with the introduction of UEFI.

--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJf5gOCAAoJEA2k8lmbXsY0CRcH/itpoW3Of4rWFYgVn75OU0eP
xq3lOtTVY3ue4H4wCYQlHPNHNsi/DxRuHdlsgvQyCcZ3YtGSJW/qllrtvGHOTvvG
zIWC3Xs5S/HOcqBV8vS+pTzDZt/G0+dGbAfAPY15fXZRcTPLyeoe+Bdwrsd+Jtgt
NhzYjD61B7S/zvEx7NRBhk6hJynyxA0ldF5sWGOj0FV5foQwo2jRtl0YXgJqyR1p
Ni9UdGm2Bts2o7pcX5NCNw4YzSmQP8bKzZdtGpUtrroPmhiKVp9rkJIr59anfoKI
W0gUfmGuF/ct7EMCYyapmQPY47DdoJCBAJDPppfZvfMgd3uhG8slHzkDaT8GFKU=
=8isv
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201225152138.GA76538>