From 9099bb1e81e03be4b6898ea620006901159dc841 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 15 Jul 1996 20:54:35 +0000 Subject: Only read first block of disk as mbr. "in)" -> "in". --- release/INSTALL-GRUB-MBR | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release/INSTALL-GRUB-MBR b/release/INSTALL-GRUB-MBR index 1a5f694c..f308819a 100644 --- a/release/INSTALL-GRUB-MBR +++ b/release/INSTALL-GRUB-MBR @@ -9,13 +9,13 @@ if [ ! "$DEV" -o ! -w "$DEV" ]; then exit 1 fi -case "$DEV" in) +case "$DEV" in *r?d[0-9]) ;; *) echo "The device $DEV doesn't seem to be a whole-disk raw device; continue? [n] " read C - case "$C" in) + case "$C" in [Yy]*) ;; *) @@ -28,7 +28,7 @@ esac cd /tmp -dd if="$DEV" of=mbr \ +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 -- cgit v1.2.3