Grub-defconfig removed & added grub-configmake, added pthread and curses-lib (ncurses) #18
1 changed files with 4 additions and 23 deletions
|
@ -1,23 +1,12 @@
|
|||
#!/bin/sh
|
||||
echo -ne 'Running grub-configmake by ohio2'\\r
|
||||
echo -ne 'Running grub-configmake'\\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 is the install root you are using?" install_root
|
||||
mkdir -p ${install_root}/boot/grub
|
||||
mkdir -p ${install_root}/boot/grub | echo "You probably didn't make /boot" && exit 2
|
||||
read -p "What drive do you want to set root to? (Only <number> otherwise it won't work.)" grub_root
|
||||
read -p "Init binary (full path only)" init_path
|
||||
cat > ${install_root}/boot/grub/grub.cfg << "EOF"
|
||||
|
@ -31,13 +20,5 @@ menuentry "Alnux+Busybox/Linux" {
|
|||
linux /boot/bzImage root=/dev/sda${grub_root} rw init=${init path} rw
|
||||
}
|
||||
EOF
|
||||
echo
|
||||
echo
|
||||
echo
|
||||
echo
|
||||
echo
|
||||
echo
|
||||
echo
|
||||
echo
|
||||
echo "grub-configmake by ohio2 completed it's job"
|
||||
echo "grub-configmake made it's job"
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue