From 56b3575ff7c6392ef5721b408685933eb0676b40 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 18 Dec 2009 15:09:00 -0800 Subject: [PATCH] chain.c32: force text mode When loading an unknown system, revert to text mode first. Signed-off-by: H. Peter Anvin --- com32/modules/chain.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/com32/modules/chain.c b/com32/modules/chain.c index 2722014..03893c9 100644 --- a/com32/modules/chain.c +++ b/com32/modules/chain.c @@ -548,6 +548,9 @@ static void do_boot(void *boot_sector, size_t boot_size, /* Tell the shuffler not to muck with this area... */ syslinux_add_memmap(&mmap, endimage, 0xa0000 - endimage, SMT_RESERVED); + /* Force text mode */ + syslinux_force_text_mode(); + fputs("Booting...\n", stdout); syslinux_shuffle_boot_rm(mlist, mmap, opt.keeppxe, regs); error("Chainboot failed!\n"); -- 2.7.4