From 08da631084a953054e100191c6bb854e277f12f6 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Fri, 29 Aug 2008 17:06:59 -0700 Subject: Update install-system and grub-setup to handle RAID-1 configuration. --- scripts/grub-setup | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts/grub-setup') diff --git a/scripts/grub-setup b/scripts/grub-setup index 1e6751d9..109f5cb9 100755 --- a/scripts/grub-setup +++ b/scripts/grub-setup @@ -104,6 +104,12 @@ vga_logo="vga=785" echo -e "serial --unit=0 --speed=9600" echo "terminal serial" + if [ ${ROOT_PARTITION:0:2} = "md" ]; then + echo "" + echo -e "insmod raid" + echo -e "root ($ROOT_PARTITION)" + fi + echo "" echo "echo -n Press ESC to enter the Grub menu..." echo "if sleep --verbose --interruptible 5 ; then" -- cgit v1.2.3