CVS: theedge/var/lib/lunar/functions kernel.lunar,1.7,1.8
elaine at lunar-linux.org
elaine at lunar-linux.org
Sat Dec 6 20:39:53 GMT 2003
Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory dbguin.lunar-linux.org:/tmp/cvs-serv31567
Modified Files:
kernel.lunar
Log Message:
fixing a squeaky wheel no grease
Index: kernel.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/kernel.lunar,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- kernel.lunar 7 Oct 2003 05:24:28 -0000 1.7
+++ kernel.lunar 6 Dec 2003 20:39:51 -0000 1.8
@@ -218,24 +218,21 @@
$EDITOR /boot/grub/menu.lst; else
nano /boot/grub/menu.lst
fi
+ message "Install GRUB into [M]BR of first drive, [A]lternative location, or [N]ot at all? [M|A|N]"
+ read GRUB_FIRST_DRIVE
+ case $GRUB_FIRST_DRIVE in
+ m|M) GRUB_BOOT_DEVICE="(hd0)";;
+ a|A) message "Please specify, in GRUB notation, the desired drive/partition"
+ message "Using parenthesis and NO spaces!"
+ message "Samples: (hd1) 2nd drive MBR"
+ message " (hd1,0) 2nd drive with 1st partition"
+ message " (hd0,2) 1st drive with 3rd partition"
+ echo -n "GRUB_BOOT_DEVICE=(hd#,#): "
+ read GRUB_BOOT_DEVICE
+ /usr/sbin/grub-install "$GRUB_BOOT_DEVICE"
+ sleep 4;;
+ n|N) ;;
+ esac
;;
esac
-
- message "Install GRUB into MBR of first drive? [y|Y]"
- read GRUB_FIRST_DRIVE
- case $GRUB_FIRST_DRIVE in
- y|Y) GRUB_BOOT_DEVICE="(hd0)" ;;
- * )
- message "Otherwise please specify in GRUB notation the desired drive/partition"
- message "Using parenthesis and NO spaces!"
- message "Samples: (hd1) 2nd drive MBR"
- message " (hd1,0) 2nd drive with 1st partition"
- message " (hd0,2) 1st drive with 3rd partition"
- echo -n "GRUB_BOOT_DEVICE=(hd#,#): "
- read GRUB_BOOT_DEVICE
- esac
-
- /usr/sbin/grub-install "$GRUB_BOOT_DEVICE"
- sleep 4
-
}
More information about the Lunar-commits
mailing list