NeoGrub and Slax

mchldpy

Member
Hey,
I'm wanting to use NeoGrub to boot Slax from a harddrive. The only menu.lst example is for Ubuntu and they boot differently. (if I understand correctly) Slax recommends copying the files to whatever partition and running the .bat file to modify the MBR. I'd rather use NeoGrub. Slax uses
SYSLINUX bootloader found in ldlinux.sys. Once the SYSLINUX bootloader starts it gets what to do from the syslinux.cfg file.
So, all the menu.lst would need to do is start SYSLINUX ?
slax file structure is -
slax/
boot/ldlinux.sys, syslinux.sys, initrfs.img, vmlinuz
changes/
modules/
rootcopy/
01-core.sb
02-xorg.sb
03-kdeps.sb
04-kde.sb


Ubuntu example menu.lst
title Ubuntu
find --set-root /boot/vmlinuz-2.6.17-10-generic
kernel /boot/vmlinuz-2.6.17-10-generic ro root=/dev/sda2
initrd /boot/initrd.img-2.6.17-10-generic

what would the menu.lst for slax look like since it only needs to point to the SYSLINUX bootloader in slax/boot/ldlinux.sys?
From the EasyBCD documentation:
title Ubuntu
find --set-root /boot/vmlinuz-2.6.17-10-generic
kernel /boot/vmlinuz-2.6.17-10-generic ro root=/dev/sda2
initrd /boot/initrd.img-2.6.17-10-generic
Given the sample file above, NeoGrub would display a menu with one entry (Ubuntu). When you select Ubuntu from the NeoGrub list, it’ll try to find the second partition of the second hard drive, and boot from it.

I thought /sda2, "a" would be the 1st harddrive

thanks
 
Last edited:
Back
Top