aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-02 14:56:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-02 14:56:48 +0000
commit70b1ecf90211bfe3a4233a58b593d29b97b531e6 (patch)
tree35722d18315b48f680b479f01423fec36330e9eb
parent479380de865076ea130986229e8a570fe9af327f (diff)
downloadalpine-conf-70b1ecf90211bfe3a4233a58b593d29b97b531e6.tar.bz2
alpine-conf-70b1ecf90211bfe3a4233a58b593d29b97b531e6.tar.xz
setup-disk: tell user that MBR might need be set manully
fixes #715
-rw-r--r--setup-disk.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 6f49e6a..4d98f19 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -869,7 +869,8 @@ shift $(( $OPTIND - 1))
if [ -d "$1" ]; then
# install to given mounted root
apk add -q syslinux
- install_mounted_root "${1%/}"
+ install_mounted_root "${1%/}" \
+ && echo "You might need fix the MBR to be able to boot" >&2
exit $?
fi