Support for MEMDISK

The .iso can now be booted using Grub (memdisk from Syslinux package):

	linux16 /memdisk
	initrd16 /path/to/iso

As well as from Syslinux:

	LINUX memdisk
	INITRD path/to/iso
This commit is contained in:
Christian Neukirchen
2015-05-02 01:01:17 +02:00
committed by Juan RP
parent 1571ef8d44
commit 929175a025
5 changed files with 43 additions and 1 deletions

8
dracut/59-mtd.rules Normal file
View File

@@ -0,0 +1,8 @@
SUBSYSTEM!="block", GOTO="ps_end"
ACTION!="add|change", GOTO="ps_end"
# Also don't process disks that are slated to be a multipath device
ENV{DM_MULTIPATH_DEVICE_PATH}=="?*", GOTO="ps_end"
KERNEL=="mtdblock[0-9]*", IMPORT BLKID
LABEL="ps_end"