-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IB_IMG_DIR Variable #1
Comments
Do you have a /boot/grub/grubenv file that overrides these values? The first time this script is run, it will create such a file, and load the variables from it subsequently. The idea was so you could configure it via that file, instead of editing the main code. Perhaps this behaviour is not the most intuitive, and I overlooked documenting it. I'll be happy to accept a patch, or suggestions on how to make it better. |
It is a great easy solution that is not that intimidating. I would like to modify the README.rst file. And update it. I have no idea how to do this. I can add this documentation and the structure of the location of the file need a little documentation. I.E. The location on the usb starts without a "/" and ends without a "/" I notice you add the trailing "/" in the code here. for _iso_scandir__iso in "$1$IB_IMG_DIR"/*.iso; do I also have a list of bootable iso images. Below are my menuentrys using Grub2 and titles from Grub4dos. menuentry "netboot.me" { menuentry "Parted Magic ISO" { menuentry "Boot Hardware Detection Tool 0.3.6" { menuentry "FreeDOS 1.1 Base" { menuentry "AVG Rescue CD" { menuentry "slitaz slitaz-3.0-xvesa" { /// GRUB4DOS title Hirens.BootCD.15.2 II It tried to boot the following unsuccessfully. Load SG2D....kav_rescue_10.iso it start off on a black screen. "Press any key to enter the menu.." pressing any keys does nothing and the after 10 seconds it returns to the Grub menu. I love what you have created. I would love to help you maximize how many O.S. we can load. |
Hey, thanks for the interest! This link might be of help in learning how to use git and github: https://help.github.com/articles/fork-a-repo |
I tried changing the directory for the iso within the isodetect.cfg file
Directory containing ISO images
IB_IMG_DIR="/boot/iso"
And
Directory containing ISO images
IB_IMG_DIR=/boot/iso
I even tried within Grub2 and I did both Grub2 and within the isodetect.cfg file at the dame time.
menuentry "Scan all devices for bootable images" {
set IB_AUTOSCAN=true
set IB_IMG_DIR=/boot/iso
export IB_AUTOSCAN
export IB_IMG_DIR
configfile /mnt/boot/grub/isodetect.cfg
}
Nothing worked, It defaulted searching to the img folder located on the root of the usb stick.
The text was updated successfully, but these errors were encountered: