summaryrefslogtreecommitdiff
path: root/scripts/install-system
diff options
context:
space:
mode:
authorRobert Bays <rbays@cartagena.vyatta.com>2008-09-10 16:19:01 -0400
committerRobert Bays <rbays@cartagena.vyatta.com>2008-09-10 16:19:01 -0400
commita3ab44f29b9a02e9167fef1e13fa21987a9430ae (patch)
treebd539e8a0ea278953190582ae13deefb8913ec4b /scripts/install-system
parent30789e6f4286b5d391f093eeb04dc2f7d846d487 (diff)
downloadvyatta-cfg-quagga-a3ab44f29b9a02e9167fef1e13fa21987a9430ae.tar.gz
vyatta-cfg-quagga-a3ab44f29b9a02e9167fef1e13fa21987a9430ae.zip
fixes to install-system and grub-setup for xen hypervisor and device.map
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-xscripts/install-system4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install-system b/scripts/install-system
index 978627c9..8cca9a56 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -850,7 +850,7 @@ install_grub () {
# Install grub in the boot sector of the primary drive
progress_indicator start
- grub-install --no-floppy --root-directory=$rootfsdir /dev/$INSTALL_DRIVE >>$INSTALL_LOG 2>&1
+ grub-install --no-floppy --recheck --root-directory=$rootfsdir /dev/$INSTALL_DRIVE >>$INSTALL_LOG 2>&1
progress_indicator stop
# Assume no dma if the disk is smaller than 10G (such as a CF drive)
@@ -875,7 +875,7 @@ install_grub () {
if eval "$UNION"; then
grub_args="-u"
fi
- if /opt/vyatta/sbin/grub-setup $grub_args "$ROOT_PARTITION" "$grub_options" /mnt/rootfs $UNION >>$INSTALL_LOG
+ if /opt/vyatta/sbin/grub-setup $grub_args "$ROOT_PARTITION" "$grub_options" /mnt/rootfs >>$INSTALL_LOG
then
echo "OK"
else