Date: Fri, 15 Dec 2017 06:44:11 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326875 - head/tools/boot Message-ID: <201712150644.vBF6iB9v027992@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Fri Dec 15 06:44:11 2017 New Revision: 326875 URL: https://svnweb.freebsd.org/changeset/base/326875 Log: Add missing of=/dev/${dev}s${s} when installing zfsboot. Modified: head/tools/boot/install-boot.sh Modified: head/tools/boot/install-boot.sh ============================================================================== --- head/tools/boot/install-boot.sh Fri Dec 15 06:34:27 2017 (r326874) +++ head/tools/boot/install-boot.sh Fri Dec 15 06:44:11 2017 (r326875) @@ -59,8 +59,8 @@ boot_nogeli_mbr_zfs_legacy() { # Or just assume it is 'a' because it has to be since it fails otherwise dd if=${dst}/boot/zfsboot of=/tmp/zfsboot1 count=1 gpart bootcode -b /tmp/zfsboo1 ${dev}s${s} # Put boot1 into the start of part - sysctl kern.geom.debugflags=0x10 - dd if=${dst}/boot/zfsboot iseek=1 seek=1024 # Put boot2 into ZFS boot slot + sysctl kern.geom.debugflags=0x10 # Put boot2 into ZFS boot slot + dd if=${dst}/boot/zfsboot of=/dev/${dev}s${s} iseek=1 seek=1024 sysctl kern.geom.debugflags=0x0 exit 0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712150644.vBF6iB9v027992>