diff --git a/archiso/airootfs/etc/grub.d/40_custom b/archiso/airootfs/etc/grub.d/40_custom new file mode 100755 index 0000000..e8bd23e --- /dev/null +++ b/archiso/airootfs/etc/grub.d/40_custom @@ -0,0 +1,15 @@ +#!/bin/sh +exec tail -n +3 $0 +# This file provides an easy way to add custom menu entries. Simply type the +# menu entries you want to add after this comment. Be careful not to change +# the 'exec tail' line above. + +menuentry "Restart" --class restart { + echo "System rebooting..." + reboot +} + +menuentry "Shutdown" --class shutdown { + echo "System shutting down..." + halt +} \ No newline at end of file diff --git a/archiso/airootfs/etc/mkinitcpio.d/linux.preset b/archiso/airootfs/etc/mkinitcpio.d/linux.preset index 8e85205..7d1cb33 100644 --- a/archiso/airootfs/etc/mkinitcpio.d/linux.preset +++ b/archiso/airootfs/etc/mkinitcpio.d/linux.preset @@ -1,8 +1,11 @@ -# mkinitcpio preset file for the 'linux' package on archiso +# mkinitcpio preset file for the kernel -PRESETS=('archiso') +#ALL_config='/etc/mkinitcpio.conf' +ALL_kver='/boot/vmlinuz-linux-lts' -ALL_kver='/boot/vmlinuz-linux' -archiso_config='/etc/mkinitcpio.conf.d/archiso.conf' +PRESETS=('default' 'fallback') -archiso_image="/boot/initramfs-linux.img" +default_image="/boot/initramfs-linux-lts.img" + +fallback_image="/boot/initramfs-linux-lts-fallback.img" +fallback_options="-S autodetect" \ No newline at end of file