From 64333346c2073e672e10151bc616d0649ac3b91f Mon Sep 17 00:00:00 2001 From: Jesse Hathaway Date: Tue, 30 Oct 2007 14:17:16 -0400 Subject: add new option to mount cow device on nfs volume At the moment this only works with the root volume on nfs as well. If we add a switch to configure the network early in the boot process then this option could be made available for other root mediums. This option works reliably on the latest kernel 2.6.23.1 On earlier kernels I experienced frequent oopses. --- helpers/lh_binary_grub | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'helpers/lh_binary_grub') diff --git a/helpers/lh_binary_grub b/helpers/lh_binary_grub index 1c05962e4..5269d0a2e 100755 --- a/helpers/lh_binary_grub +++ b/helpers/lh_binary_grub @@ -178,6 +178,12 @@ then LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} union=${LH_UNION_FILESYSTEM}" fi +if [ -n "${LH_NET_COW_PATH}" ] +then + Echo_error "Net cow not yet supported on grub" + exit 1 +fi + if [ "${LH_EXPOSED_ROOT}" != "disabled" ] then LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} exposedroot" -- cgit v1.2.3