Grub-defconfig removed & added grub-configmake, added pthread and curses-lib (ncurses) #18

Merged
hippoz merged 12 commits from Ohio2/repo:master into master 2021-07-13 00:46:24 +03:00
Showing only changes of commit 7118dd99e6 - Show all commits

View file

@ -16,8 +16,11 @@ 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"
read -p "What is the install root you are using?" install_root
mkdir -p ${install_root}/boot/grub
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"
set default=0
set timeout=5
@ -25,7 +28,7 @@ insmod ext2
set root=(hd0,${root})
menuentry "Alnux+Busybox/Linux" {
linux /boot/bzImage root=/dev/sda${root} rw
linux /boot/bzImage root=/dev/sda${grub_root} rw init=${init path} rw
}
EOF
echo