NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Trouble installing NetBSD 9.0 amd64


gpt resize -i 1 -s80m wd0

That command worked, as the new block size on the dk0 was smaller, I then did
newfs_msdos -F 12 /dev/rdk0
mount_msdos /dev/dk0 /mnt
mkdir -p /media/EFI/boot
cp /usr/mdec/*.efi /media/EFI/boot

And on reset back to the bios screen.

On Tuesday, 19 May 2020, 23:39:23 GMT+12, Martin Husemann <> wrote:

On Tue, May 19, 2020 at 11:27:22AM +0000, Ahi Brown wrote:

> I'm having trouble with this part. I had to use `dkctl wd0 delwedge`
> to remove the EFI wedges. I also had trouble trying to gpt resize -a 2m
> -s 80m my efi diskwedge. And when I added a new EFI wedge it went to
> the end of the list not at the beginning (first 80mb).

Not sure if the manual dkctl wd0 delwedge is needed (gpt(8) should do that

For resize I would use something like:

    gpt resize -i 1 -s 80m wd0

Does that not work? How does it fail?


Home | Main Index | Thread Index | Old Index