Summary: | bsdinstall should not format EFI partition | ||
---|---|---|---|
Product: | Base System | Reporter: | David Demelier <markand> |
Component: | bin | Assignee: | freebsd-sysinstall (Nobody) <sysinstall> |
Status: | Open --- | ||
Severity: | Affects Some People | CC: | andrey, emaste, grahamperrin, re |
Priority: | --- | Keywords: | install, needs-qa |
Version: | 12.1-RELEASE | Flags: | koobs:
maintainer-feedback?
(re) |
Hardware: | amd64 | ||
OS: | Any |
Description
David Demelier
2020-02-09 09:45:24 UTC
13-Current not format too bsdinstall script, work 2019 PARTITIONS="$DISKSLICE GPT { 512K freebsd-boot, 1M efi, auto freebsd-ufs / } #!/bin/sh -x # Make diskname independante gpart modify -l freebsd-boot -i 1 ada0 gpart modify -l efi -i 2 ada0 gpart modify -l root -i 3 ada0 # Make EFI happy mount_msdosfs /dev/gpt/efi /media/ mkdir -p /media/EFI/BOOT/ cp /boot/loader.efi /media/EFI/BOOT/BOOTX86.efi umount /media/ FreeBSD-13.0-CURRENT-amd64-20200206-r357606-disc1.iso not format efi partition (In reply to David Demelier from comment #0) sorry, misunderstand you bug Yes we shouldn't format an existing EFI partition. (In reply to Andrey Fesenko from comment #1) I've tried to check the 12.1 version code in bsdinstall but could not find that part. I've only tried in 12.1 though. Has it changed in 13-CURRENT? I'll give a try to make sure. I tested this with FreeBSD 13.2, albeit with two FreeBSD installs on separate partitions. I was asked whether to reinstall the FreeBSD EFI loader, I said no, and the EFI partition was not reformatted. Maybe this is fixed now. I don't think I have a good test with a non-FreeBSD OS, but I'm open to suggestions. |