Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to have a menu in SYSLINUX that will automatically list all of the files in a given directory and allow the user to choose one to boot from as a kernel?

share|improve this question

2 Answers 2

One option would be to write a script, which you could run manually or could be set to run automatically (perhaps at shutdown), which looks through the directory and rebuilds the syslinux config file for you. This gives you more control to specify exactly what arguments, etc. might be needed, and to have some default options that show up regardless of the contents of the directory.

share|improve this answer

With the last versions of Syslinux (4.xx), you have an ls.c32 module with which you can list a directory. You still need to enter the commandline for booting your kernel yourself.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.