summaryrefslogtreecommitdiff
path: root/release/INSTALL-GRUB-MBR
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-15 21:03:33 +0000
committerMiles Bader <miles@gnu.org>1996-07-15 21:03:33 +0000
commit680b9652531a84894936fbd47dd91c66315ed09a (patch)
tree847e3965fa6663726a2a3d50553cb566dbe0bc59 /release/INSTALL-GRUB-MBR
parent9099bb1e81e03be4b6898ea620006901159dc841 (diff)
Add helpful success/failure messages.
Diffstat (limited to 'release/INSTALL-GRUB-MBR')
-rw-r--r--release/INSTALL-GRUB-MBR8
1 files changed, 7 insertions, 1 deletions
diff --git a/release/INSTALL-GRUB-MBR b/release/INSTALL-GRUB-MBR
index f308819a..8dacdcbc 100644
--- a/release/INSTALL-GRUB-MBR
+++ b/release/INSTALL-GRUB-MBR
@@ -31,4 +31,10 @@ cd /tmp
dd if="$DEV" of=mbr bs=512 count=1 \
&& cp /boot/grub/stage1_ffs stage1 \
&& dd if=mbr of=stage1 conv=notrunc bs=1 seek=446 skip=446 count=64 \
-&& dd if=stage1 of="$DEV" bs=512 count=1
+&& dd if=stage1 of="$DEV" bs=512 count=1 \
+|| { echo 2>&1 "$0: Install failed!" ; exit 5 ; }
+
+rm mbr stage1
+
+echo "$0: /boot/grub/stage1_ffs installed in MBR"
+echo "$0: Don't forget to use the grub `install=' command to install stage2"