diff --git a/grub-configmake/package b/grub-configmake/package new file mode 100755 index 0000000..d94134b --- /dev/null +++ b/grub-configmake/package @@ -0,0 +1,6 @@ +#Made By Ohio2 +pkg_config_deploy=true +pkg_config_ver="0.2" +pkg_config_name="grub-configmake" +pkg_config_makedepends="" +pkg_config_depends="" diff --git a/grub-configmake/payload/usr/bin/grub-configmake b/grub-configmake/payload/usr/bin/grub-configmake new file mode 100644 index 0000000..c49cf9c --- /dev/null +++ b/grub-configmake/payload/usr/bin/grub-configmake @@ -0,0 +1,40 @@ +#!/bin/sh +echo -ne 'Running grub-configmake by ohio2'\\r +echo -ne '.'\\r +wait 0.5 +echo -ne '.'\\r +wait 0.5 +echo -ne '.'\\r +echo +echo +echo +echo +echo +echo +echo +echo +echo +echo +echo +read -p "What drive do you want to set root to? (Only otherwise it won't work.)" root +cat > /boot/grub/grub.cfg << "EOF" +set default=0 +set timeout=5 + +insmod ext2 +set root=(hd0,${root}) + +menuentry "Alnux+Busybox/Linux" { + linux /boot/bzImage root=/dev/sda${root} rw +} +EOF +echo +echo +echo +echo +echo +echo +echo +echo +echo "grub-configmake by ohio2 completed it's job" +exit 0