mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Update this to deal with new boot block placement.
Reported by: "John W. DeBoskey" <jwd@unx.sas.com>
This commit is contained in:
parent
57081f7b94
commit
cb48829cff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42254
1 changed files with 1 additions and 10 deletions
|
@ -35,16 +35,7 @@ do
|
|||
dd of=fs-image obs=1 seek=510 conv=notrunc 2>/dev/null
|
||||
|
||||
vnconfig -s labels -c /dev/r${VNDEVICE} fs-image
|
||||
|
||||
if [ "`uname -m`" = "alpha" ]; then
|
||||
disklabel -Brw -b ${RD}/trees/bin/usr/mdec/boot1 \
|
||||
/dev/r${VNDEVICE} ${FSLABEL}
|
||||
else
|
||||
disklabel -Brw \
|
||||
-b ${RD}/trees/bin/usr/mdec/fdboot \
|
||||
-s ${RD}/trees/bin/usr/mdec/bootfd \
|
||||
/dev/r${VNDEVICE} ${FSLABEL}
|
||||
fi
|
||||
disklabel -Brw /dev/r${VNDEVICE} ${FSLABEL}
|
||||
newfs -u 0 -t 0 -i ${FSINODE} -m 0 -T ${FSLABEL} -o space /dev/r${VNDEVICE}c
|
||||
|
||||
mount /dev/${VNDEVICE}c ${MNT}
|
||||
|
|
Loading…
Reference in a new issue