# NFDOS GRUB2 configuration
set timeout=3
set default=0

# Parâmetros padrão do kernel (ajustáveis)
set kernelopts="console=ttyS0 earlyprintk=serial,ttyS0,115200 keep_bootcon loglevel=8"

menuentry 'NFDOS Linux (Serial Console)' {
    linux /boot/bzImage root=/dev/ram0 ${kernelopts}
    initrd /boot/initramfs.cpio.gz
}

menuentry 'NFDOS Linux (Serial Console + Force Format)' {
    linux /boot/bzImage root=/dev/ram0 ${kernelopts} nfdos_force_format=1
    initrd /boot/initramfs.cpio.gz
}

menuentry 'NFDOS Linux (Standard VGA)' {
    linux /boot/bzImage root=/dev/ram0 quiet ${kernelopts}
    initrd /boot/initramfs.cpio.gz
}
