diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2008-08-29 17:06:59 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2008-08-29 17:06:59 -0700 |
commit | 08da631084a953054e100191c6bb854e277f12f6 (patch) | |
tree | 43f27585c7452288428f61673d688ff689ed3315 /scripts/grub-setup | |
parent | 0ee064893b21c8eccdabe6eec5877831a6b79f02 (diff) | |
download | vyatta-cfg-system-08da631084a953054e100191c6bb854e277f12f6.tar.gz vyatta-cfg-system-08da631084a953054e100191c6bb854e277f12f6.zip |
Update install-system and grub-setup to handle RAID-1 configuration.
Diffstat (limited to 'scripts/grub-setup')
-rwxr-xr-x | scripts/grub-setup | 6 |
1 files changed, 6 insertions, 0 deletions
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" |