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:
committed by
Juan RP
parent
1571ef8d44
commit
929175a025
7
dracut/mtd.sh
Executable file
7
dracut/mtd.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
MEMDISK=$(memdiskfind)
|
||||
if [ "$MEMDISK" ]; then
|
||||
modprobe phram phram=memdisk,$MEMDISK
|
||||
modprobe mtdblock
|
||||
printf 'KERNEL=="mtdblock0", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root /dev/mtdblock0"\n' >> /etc/udev/rules.d/99-live-squash.rules
|
||||
fi
|
||||
Reference in New Issue
Block a user