Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2022 14:53:17 +0100
From:      Johannes-Maria Kaltenbach <johannes-maria@t-online.de>
To:        questions@freebsd.org, Graham Perrin <grahamperrin@freebsd.org>
Subject:   Re: gpart: warning (was: Unable to boot from internal hard disks on new PC)
Message-ID:  <20221227135317.GD11926@localhost.org>
In-Reply-To: <ab7a010b-dc6b-da4c-c319-ac9b12078b66@freebsd.org>
References:  <20221227110800.GA11926@localhost.org> <ab7a010b-dc6b-da4c-c319-ac9b12078b66@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 27, 2022 at 01:04:10PM +0000, Graham Perrin wrote:
> On 27/12/2022 11:08, Johannes-Maria Kaltenbach wrote:
>
> > … FreeBSD-13.1-RELEASE-amd64-memstick.img …
>
> > ada0p1 freebsd-boot (512k)
> > ada0p2 efi (100m)
> > ada0p3 freebsd-swap (32g)
> > ada0p4 freebsd-ufs (200g, 13.1 base system)
> > (and further partitions for var, tmp, poudriere, home; still unused)
> >
> > and I  tried the following
> >
> > gpart bootcode -b /boot/pmbr ada0
> > gpart bootcode -p /boot/gptboot -i 1 ada0
> >
> > …
>
>
> From <https://www.freebsd.org/releases/13.0R/relnotes/#boot>, with added
> emphasis:

sorry, I overlooked this

> >> … To update old ESP partitions, users should *stop using the gpart(8)
> >> utility*. …

I hope I understood this correctly:

I deleted the partition ada0p1
(the freebsd-boot with gpart bootcode -p /boot/gptboot -i 1 ada0)

and on ada0p2 (efi), mounted on /mnt, I have:

|# ls -lR /mnt
|total 8
|drwxr-xr-x  1 root  wheel  8192 Apr 16  2018 efi
|
|/mnt/efi:
|total 8
|drwxr-xr-x  1 root  wheel  8192 Apr 16  2018 boot
|
|/mnt/efi/boot:
|total 880
|-rwxr-xr-x  1 root  wheel  892928 Dec 27 14:24 BOOTx64.efi

where BOOTx64.efi is the /boot/loader.efi from the install medium.

But this didn't change anything.
Still I don't see the disks in bios or in the efibootmgr output.


Best regards,
Johannes-Maria















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