Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2020 00:17:48 +0200
From:      Per Hedeland <per@hedeland.org>
To:        salvatorembartolotta@libero.it
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Incomplete installation of 12.1-R on an Asus laptop
Message-ID:  <b7a8c07e-0a99-fa7d-675b-2e5b63f47304@hedeland.org>
In-Reply-To: <1117249472.400830.1589220133531@mail1.libero.it>
References:  <1117249472.400830.1589220133531@mail1.libero.it>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 2020-05-11 20:02, Salvatore Bartolotta via freebsd-questions wrote:
> Good afternoon (in the U.S.A.),
>
> I installed 12.1-R on an Asus laptop - well, almost.  The partition editor, apparently, didn't see the 260MB EFI partition and wanted to create a _second_ EFI partition, in the middle of the disk,
right before the rootfs (monted on /), what made little sense to me. I said "no", making the system, for the time being, unbootable.  The installation completed except for that step.

I noticed that too, and did the same, but it didn't result in an
unbootable system since I had the EFI partition already set up from an
earlier install (which I don't recall wanting to create an EFI
partition, but I may be wrong about that)...

> nvd0 GPT layout:
> nvd0p1 260 MB EFI partition
> nvd0p2 16MB M$ reserved partition
> nvd0p3 256GB M$ system and data partition
> nvd0p4 512KB freebsd-boot
> nvd0p5 2GB rootfs, mounted on /)
> nvd0p6 80 GB swap (on a 32GB RAM system, maybe overkill)
> nvd0p7 26GB varfs, mounted on /var
> nvd0p8 14GB tmpfs, mounted on /tmp, may be ovewrkill as well
> nvd0p9 134GB usrfs, mounted on /usr
> ....
> nvd0lastpartition 650MB M$ Recovery partition
>
> I hope there is some simple way to complete this FreeBSD installation, by adding the appropriate booting code to the _existing_ EFI partition.

It seems you also have a Windows installation - do you want to be able
to dual-boot? Otherwise I think you can find the info you need in the
uefi(8) man page. AFAIR it pretty much amounts to "somehow"
mount_msdosfs-mounting the EFI partition and copying /boot/boot1.efi
from the FreeBSD installation to /EFI/BOOT/BOOTX64.EFI
(case-independent I believe, I actually have /EFI/Boot/bootx64.efi).
Should be doable from either of the <Shell> or <Live CD> (if present)
choices in the installer.

--Per Hedeland



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?b7a8c07e-0a99-fa7d-675b-2e5b63f47304>