Lee Eric
2012-Mar-26 08:03 UTC
[syslinux] Help: Boot FreeDOS from the second pri. partition
Hi all, I'm going to create an USB flash disk. Here's the partition structure. Device Boot Start End Blocks Id System /dev/sdb1 * 1 537911 268955+ 83 Linux /dev/sdb2 537912 1598793 530441 c W95 FAT32 (LBA) /dev/sdb1 I used for installing boot loader(syslinux) and other small standalone utilities. /dev/sdb2 is used for FreeDOS and I have copied necessary files to the partition. Here's my syslinux.cfg in /dev/sdb1. UI menu.c32 TIMEOUT 300 default localboot MENU TITLE System Rescue Flash Disk LABEL memtest MENU LABEL Memtest86+ (4.20) KERNEL memtest LABEL freedos MENU LABEL FreeDOS 1.1 COM32 chain.c32 APPEND hd0 2 freedos=KERNEL.SYS LABEL reboot MENU LABEL Cold Reboot COM32 reboot.c32 LABEL local MENU LABEL Boot from local hard drive LOCALBOOT 0x80 But when select freedos label it reports "Failed to load the boot file". I remember that FreeDOS can be installed on other partitions. Can anyone tell me how to fix that? Thanks. Eric
H. Peter Anvin
2012-Mar-26 14:51 UTC
[syslinux] Help: Boot FreeDOS from the second pri. partition
On 03/26/2012 01:03 AM, Lee Eric wrote:> > LABEL freedos > MENU LABEL FreeDOS 1.1 > COM32 chain.c32 > APPEND hd0 2 freedos=KERNEL.SYS >Drop "freedos=kernel.sys" or copy kernel.sys to your Syslinux partition. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.