Changeset 13425 in hybrid for branches/releng-10/nanobsd/files/tools/updatep1
- Timestamp:
- Oct 4, 2015, 10:02:22 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-10/nanobsd/files/tools/updatep1
r13424 r13425 43 43 fi 44 44 45 . /tools/update.inc.sh 46 45 47 # Blow away old system. 46 dd if=/dev/zero of=/dev/${ NANO_DRIVE}s1 bs=1m count=1 > /dev/null 2>&148 dd if=/dev/zero of=/dev/${GEOM_DRIVE}s1 bs=1m count=1 > /dev/null 2>&1 47 49 48 50 # Copy in new system 49 dd of=/dev/${ NANO_DRIVE}s1 obs=64k51 dd of=/dev/${GEOM_DRIVE}s1 obs=64k 50 52 51 53 # Check that it worked 52 fsck_ffs -n /dev/${ NANO_DRIVE}s1a54 fsck_ffs -n /dev/${GEOM_DRIVE}s1a 53 55 54 gpart set -a active -i 1 ${ NANO_DRIVE}56 gpart set -a active -i 1 ${GEOM_DRIVE} 55 57
Note:
See TracChangeset
for help on using the changeset viewer.