Commit f5905639 authored by Natanael Copa's avatar Natanael Copa
Browse files

setup-disk: create the initramfs image with cdrom support

parent a4e6b4bf
......@@ -44,7 +44,7 @@ useall() {
echo ""
# make things bootable
kernel=$(ls /mnt/lib/modules)
chroot /mnt /sbin/mkinitfs -F "ata base bootchart ext3 ide scsi usb" $kernel
chroot /mnt /sbin/mkinitfs -F "ata base bootchart cdrom ext3 ide scsi usb" $kernel
# create an extlinux.conf
sed '/append initrd/d' /media/*/syslinux.cfg > /mnt/boot/extlinux.conf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment