projects
/
zfsinstaller.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9ed4acd
)
review size and labels
author
David Marec
<DavidMarec@users.noreply.github.com>
Sun, 7 Oct 2018 22:45:25 +0000
(
00:45
+0200)
committer
David Marec
<DavidMarec@users.noreply.github.com>
Sun, 7 Oct 2018 22:45:25 +0000
(
00:45
+0200)
zfsinstall.sh
patch
|
blob
|
history
diff --git
a/zfsinstall.sh
b/zfsinstall.sh
index 5da7e8cfaee0d948647746ff0c5660bec379699c..a2673d4db64e7932483f28107aabcfc1b010dfd7 100644
(file)
--- a/
zfsinstall.sh
+++ b/
zfsinstall.sh
@@
-33,9
+33,9
@@
echo partitioning ${DESTDISK}
echo =============
gpart create -s gpt ${DESTDISK}
echo =============
gpart create -s gpt ${DESTDISK}
-gpart add -
t freebsd-boot -s 1024
-l gptboot0 ${DESTDISK}
-gpart add -a 1m -s 32G -t freebsd-swap -l
gpt
swap0 ${DESTDISK}
-gpart add -a 1m -t freebsd-zfs -l
syszfs
${DESTDISK}
+gpart add -
a 4k -t freebsd-boot -s 512k
-l gptboot0 ${DESTDISK}
+gpart add -a 1m -s 32G -t freebsd-swap -l swap0 ${DESTDISK}
+gpart add -a 1m -t freebsd-zfs -l
zfs0
${DESTDISK}
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ${DESTDISK}
gpart set -a active ${DESTDISK}
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ${DESTDISK}
gpart set -a active ${DESTDISK}