From 680b9652531a84894936fbd47dd91c66315ed09a Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 15 Jul 1996 21:03:33 +0000 Subject: Add helpful success/failure messages. --- release/INSTALL-GRUB-MBR | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3