I have a Z83 Mini-PC with Windows 10 installed on 32GB eMMC storage, how would I go about replacing that with FreeBSD?
Well with an x86 board you could just boot up off a FreeBSD memstick and install it from there.
If it were me, I would go into LiveCD mode, usels /dev
to get an idea of what the mmc node is called.
crw-r----- 1 root operator 0x38 Jan 3 15:32 mmcsd0
crw-r----- 1 root operator 0x4b Jan 3 15:32 mmcsd0boot0
crw-r----- 1 root operator 0x4c Jan 3 15:32 mmcsd0boot1
crw-r----- 1 root operator 0x39 Jan 3 15:32 mmcsd0p1
crw-r----- 1 root operator 0x3a Jan 3 15:32 mmcsd0p2
crw-r----- 1 root operator 0x3b Jan 3 15:32 mmcsd0p3
crw-r----- 1 root operator 0x3c Jan 3 15:32 mmcsd0p4
crw-r----- 1 root operator 0x4d Jan 3 15:32 mmcsd0rpmb
gpart show
=> 34 60620733 mmcsd0 GPT (29G)
34 2014 - free - (1.0M)
2048 204800 1 efi (100M)
206848 262144 2 ms-reserved (128M)
468992 58542080 3 ms-basic-data (28G)
59011072 1607680 4 ms-recovery (785M)
60618752 2015 - free - (1.0M)
dd if=/dev/zero of=/mmcsd0 bs=1M
gpart destroy
the GPT if you want to save some time. trim
and also you might want to reduce the level of logging to avoid costly disk writes. installkernel KERNCONF=GENERIC-NODEBUG
.hint.uart.0.disabled="1"
hint.uart.1.disabled="1"
dd
or maybe I should use the internal Windows 10 backup option, but then I would need to have Windows installed to be able to restore - seems like a Catch 22 situation...There does not seem to be a good indicator of wear.Are there any indicators of how much life is left?
smartctl
tool for devices with SMART enabled in the BIOS.Yes indeed. there are also graphical tools like Clonezilla Live Memstick.As for backing up what is installed, can I do that using dd
I certain hope not. Whoever decided to put a filesystem in the BIOS should have a pack of wild cats lick him to death..Also wondered if using the UEFI shell provided a means of copying files from one device to another.
gpart show
=> 34 60620733 mmcsd0 GPT (29G)
34 2014 - free - (1.0M)
2048 204800 1 efi (100M)
206848 262144 2 ms-reserved (128M)
468992 58542080 3 ms-basic-data (28G)
59011072 1607680 4 ms-recovery (785M)
60618752 2015 - free - (1.0M)
/boot/device.hints
.How should I back this up before blasting it,
Like this?I use 500GB USB stick(m.2 inside) primarily. It has FreeBSD installed for maximum usefulness.