From 6eb94a9bfd5271cab21a3f4b75e289bf8ce0f145 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 3 Nov 2006 09:45:06 +0000 Subject: [PATCH] * Load some modules, mount the install CD. svn path=/nixu/trunk/; revision=6936 --- test/boot-stage-1-init.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test/boot-stage-1-init.sh b/test/boot-stage-1-init.sh index 629e6c247454..a5957fada5f5 100644 --- a/test/boot-stage-1-init.sh +++ b/test/boot-stage-1-init.sh @@ -26,8 +26,15 @@ mount -t sysfs sys /sys source @makeDevices@ # Load some kernel modules. -export MODULE_DIR=@kernel@ -modprobe ide_disk +export MODULE_DIR=@kernel@/lib/modules/ +modprobe ide-generic +modprobe ide-disk +modprobe ide-cd + +# Mount the installation CD. +mkdir /mnt +mkdir /mnt/cdrom +mount -o ro /dev/hdc /mnt/cdrom # Start an interactive shell. exec @shell@