mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 08:22:27 +01:00
Take boot1/boot2 from their new place, i.e. /boot/, not from
(currently nonexistent) /usr/mdec/. Submitted by: luigi
This commit is contained in:
parent
1322e9adf8
commit
9509885927
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=44613
@ -1,7 +1,7 @@
|
||||
#! /bin/sh -
|
||||
|
||||
#
|
||||
# $Id: stage1,v 1.6 1999/01/14 23:14:46 abial Exp $
|
||||
# $Id: stage1,v 1.7 1999/01/19 23:02:05 abial Exp $
|
||||
#
|
||||
|
||||
set -e
|
||||
@ -42,7 +42,7 @@ then
|
||||
exit 10
|
||||
fi
|
||||
|
||||
dd if=/usr/mdec/boot1 of=fs.PICOBSD conv=notrunc 2> /dev/null
|
||||
dd if=/boot/boot1 of=fs.PICOBSD conv=notrunc 2> /dev/null
|
||||
|
||||
# This command does weird things on 2.2.x systems. In such case use normal
|
||||
# disktype here instead
|
||||
|
@ -1,7 +1,7 @@
|
||||
#! /bin/sh -
|
||||
|
||||
#
|
||||
# $Id: stage3,v 1.3 1998/09/26 17:27:18 abial Exp $
|
||||
# $Id: stage3,v 1.4 1999/01/14 23:14:46 abial Exp $
|
||||
#
|
||||
set -e
|
||||
|
||||
@ -31,9 +31,9 @@ then
|
||||
exit 10
|
||||
fi
|
||||
|
||||
dd if=/usr/mdec/boot1 of=picobsd.bin conv=notrunc 2> /dev/null
|
||||
dd if=/boot/boot1 of=picobsd.bin conv=notrunc 2> /dev/null
|
||||
|
||||
disklabel -Brw -b /usr/mdec/fdboot -s /usr/mdec/bootfd /dev/rvn0 fd1440 2>&1 >/dev/null
|
||||
disklabel -Brw -b /boot/boot1 -s /boot/boot2 /dev/rvn0 fd1440 2>&1 >/dev/null
|
||||
if [ "X$?" != "X0" ]
|
||||
then
|
||||
echo "-> ERROR while labeling picobsd.bin on /dev/rvn0..."
|
||||
|
Loading…
Reference in New Issue
Block a user