autopart now guesses the bios drive number and the setup script tells it

to the user.

minixsize has fallback default sizes set before specifics set by input list.
This commit is contained in:
Ben Gras
2005-08-31 15:48:15 +00:00
parent 4d3e666043
commit 509394f2ba
3 changed files with 17 additions and 13 deletions

View File

@@ -3,6 +3,7 @@ t=/usr/src/etc/binary_sizes
if [ "$1" = big ]
then t=$t.big
fi
chmem =200000 /usr/lib/* /usr/lib/i386/*
if [ -f $t ]
then cat "$t" | while read line
do awk '{ print "chmem =" $2 " " $1 }'

View File

@@ -172,6 +172,7 @@ echo -n "Are you sure you want to continue? Please enter 'yes' or 'no': "
read confirmation
if [ "$confirmation" = yes ]; then step2=ok; fi
done
biosdrivename="Actual BIOS device name unknown, due to expert mode."
else
# Automatic mode
@@ -182,6 +183,8 @@ else
then if [ -s "$PF" ]
then
bd="`cat $PF`"
cat "$PF" | read bd bdn
biosdrivename="Probably, the right command is \"boot $bdn\"."
if [ -b "/dev/$bd" ]
then primary="$bd"
else echo "Funny device $bd from autopart."
@@ -440,6 +443,7 @@ echo "
Please type 'shutdown' to exit MINIX 3 and enter the boot monitor. At
the boot monitor prompt, type 'boot $bios', where X is the bios drive
number of the drive you installed on, to try your new MINIX system.
$biosdrivename
This ends the MINIX setup script. After booting your newly set up system,
you can run the test suites as indicated in the setup manual. You also