summaryrefslogtreecommitdiff
path: root/scripts/live-premount/modules
blob: 1af7a9ed5713f42517597caa84b25a64bf017d9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh

#set -e

# initramfs-tools header

PREREQ="udev"

prereqs()
{
	echo "${PREREQ}"
}

case "${1}" in
	prereqs)
		prereqs
		exit 0
		;;
esac

# live-boot script

# The following modprobe entry is a workaround to live-boot not
# finding the root filesytem.
#
# See also:
#  * http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-May/001459.html
#  * http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-June/001517.html
#  * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363047

modprobe -q ide-generic
modprobe -q esp