summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-16 09:16:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-16 09:16:16 +0000
commita60aca577cd1fb601094f45b29554131774d2da7 (patch)
tree8b2dabd62ef268d82ec6dee630cc2fd072099f92
parent975e4d208d55d5977215776ccea0d7faf366e697 (diff)
downloadalpine-conf-a60aca577cd1fb601094f45b29554131774d2da7.zip
setup-disk: load usb storage module in initramfs
we mignt want boot from usb disks in raid for example...
-rw-r--r--setup-disk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in
index baaf1b9..19c474c 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -65,7 +65,7 @@ install_mounted_root() {
# create an extlinux.conf
sed '/append initrd/d' /media/*/syslinux.cfg > "$mnt"/boot/extlinux.conf
- echo -e "\tappend initrd=/boot/grsec.gz root=$rootdev modules=ext3$raidmod quiet" >> "$mnt"/boot/extlinux.conf
+ echo -e "\tappend initrd=/boot/grsec.gz root=$rootdev modules=sd-mod,usb-storage,ext3$raidmod quiet" >> "$mnt"/boot/extlinux.conf
# fix the fstab
enumerate_fstab "$mnt" >> "$mnt"/etc/fstab