Compare commits

..

4 commits

4 changed files with 46 additions and 13 deletions

6
grub-configmake/package Executable file
View file

@ -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=""

View file

@ -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 <number> 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

View file

@ -1,5 +0,0 @@
pkg_config_deploy=true
pkg_config_ver="0.2"
pkg_config_name="grub-defconfig"
pkg_config_makedepends=""
pkg_config_depends=""

View file

@ -1,8 +0,0 @@
set timeout=15
set default=0
menuentry "Alnux" {
# you will probably want to change the root below...
linux /boot/bzImage noapic root=/dev/sda1 init=/usr/bin/hummingbird
boot
}