grub4dos
grub4dos copied to clipboard
make grub4dos paths case-sensitive
It's useful when one wants to use grub4dos a little bit more interactively e.g. I want to ask user to put the path to the linux iso which later is booted. The current behavior of grub4dos shows the whole characters of the path to iso(which is shown by using the auto completion when pressing TAB key) as lower-case letters. The boot process fails if the path contains upper-case letters as the linux paths are case-sensitive. here's an exampe of the menu.lst part:
title Ubuntu LiveCD
set /p MYISO=Enter iso path (e.g. /OS_ISOs/ubuntu_x64.iso ) :
map %MYISO% (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz.efi file=/preseed/ubuntu.seed boot=casper iso-scan/filename=%MYISO% quiet splash --
initrd /casper/initrd.lz
boot
How is the boot media formatted (NTFS, exFAT, FAT12,FAT16, FAT32, ext2, ext3, ext4???)
I tried on NTFS and this appears to be a problem with TAB autocomplete. It always uses lower-case e.g. _ISO\MAINMENU
/_ISO/MA <tab>
we get
/_ISO/MAinmenu/
@steve6375 I was using the grub4dos on an NTFS formatted partition.