So, I could dodge the type of partition? And let this empty? Because I have to format with a file system.
No. You have to specify the type. Just try and see!So, I could dodge the type of partition? And let this empty? Because I have to format with a file system.
# gpart destroy -F ada7
# gpart create -s gpt ada7
# gpart destroy -F ada7
and-U Enable soft updates on the new file system.
are linked ? Or they are different ?-j Enable soft updates journaling on the new file system. This flag is implemented by running the tunefs(8) utility found in the user's $PATH
What is the default value ? 512 I assume, it's right ?-S sector-size The size of a sector in bytes (almost never anything but 512).
I haven't touch my disk between the FreeBSD Installer and the launch of the disk (to boot on it) by the BIOS. The only thing which had touch it, it's FreeBSD Installer.
gpart add -t freebsd-boot -s 1 ada0
gpart bootcode -p /boot/gptboot -i 1 ada0
gpart bootcode -b /boot/pmbr ada0
gpart bootcode -p /boot/gptboot -i 1 ada0
)Ok thanks. A last thing, someone knows if when we create the partition called freebsd-boot with gpart(8):
gpart add -t freebsd-boot -s 1 ada0
I feel that this:
gpart bootcode -p /boot/gptboot -i 1 ada0
is executed automatically with the first command that I wrote. Because, FreeBSD can run when I put only this:
gpart bootcode -b /boot/pmbr ada0
(it can't with only:gpart bootcode -p /boot/gptboot -i 1 ada0
)
gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0
1 is too small yes. But I've tested many values and find -s 32 (equals -s 16K) works fine. Before the value 32, specials characters and text is wrote and the system lock itself. But, I don't know if this partition (freebsd-boot) will be modify in the long future by another program (to know if I can stay with 32).-s 1 is way too small. I recommend using 512K, but no more than that.
It's strange because only withCreating the partition does not write the bootcode. I use both:
gpart bootcode -b /boot/pmbr ada0
the system will boot and I will can use FreeBSD as normal.