From ea67a42d260cb9204f35dbf0382069934c405487 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 29 Oct 2008 13:38:43 +0000 Subject: [PATCH] * Continue booting when loading a kernel module fails. For instance, on my system when booting Linux 2.6.27, ide-generic fails with "Cannot allocate memory" (maybe because ata_piix already claimed the IDE devices?). svn path=/nixos/trunk/; revision=13147 --- boot/boot-stage-1-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/boot-stage-1-init.sh b/boot/boot-stage-1-init.sh index de86c4c74f3..0ddf6bb7eae 100644 --- a/boot/boot-stage-1-init.sh +++ b/boot/boot-stage-1-init.sh @@ -102,7 +102,7 @@ done # Load some kernel modules. for i in $(cat @modulesClosure@/insmod-list); do echo "loading module $(basename $i)..." - insmod $i + insmod $i || true done