|
From: Fabrizio G. <fab...@ti...> - 2010-12-04 18:29:49
|
Hello. I installed FreeDOS on a partition of my HD, but, when booting it, it says "Loading FreeDOS no KERNEL SYS". When booting FreeDOS from CD, the partition is visible as C:. I even typed again SYS C: from there. Searching the Net, someone said the partition must be primary and have the bootable flag set. Even in that case, it does not boot from CD. http://fd-doc.sourceforge.net/faq/cgi-bin/viewfaq.cgi?faq=General_Information/225 says obscurely "a little tweaking (of the boot sector "linear partition position" / hidden sectors value) should make LBA booting on any drive letter possible", but it does not specify what to tweak and how. Regards, Fabrizio |
|
From: Rugxulo <ru...@gm...> - 2010-12-04 19:34:56
|
Hi, On 12/4/10, Fabrizio Gennari <fab...@ti...> wrote: > > I installed FreeDOS on a partition of my HD, but, when booting it, it > says "Loading FreeDOS no KERNEL SYS". FAT32 partition? What kernel version, 2036 (from FD 1.0) or newer?? > When booting FreeDOS from CD, the partition is visible as C:. I even > typed again SYS C: from there. > > Searching the Net, someone said the partition must be primary and have > the bootable flag set. Right. > Even in that case, it does not boot from CD. "Even in that case" ... not sure I understand here. Booting from CD is El Torito, and the boot order depends on what your BIOS is set to. Or maybe you meant something else?? > http://fd-doc.sourceforge.net/faq/cgi-bin/viewfaq.cgi?faq=General_Information/225 > says obscurely "a little tweaking (of the boot sector "linear partition > position" / hidden sectors value) should make LBA booting on any drive > letter possible", but it does not specify what to tweak and how. So I'm assuming it's a big FAT32 partition / drive then. IIRC, the boot sector for FAT32 might be a little buggy. Make sure to try latest kernel's SYS first. (sigh) So few volunteers, so I dunno if anyone is available to help you (Bart??). :-/ |
|
From: Christian M. <cm...@bt...> - 2010-12-05 00:11:14
|
> http://fd-doc.sourceforge.net/faq/cgi-bin/viewfaq.cgi?faq=General_Information/225 > says obscurely "a little tweaking (of the boot sector "linear partition > position" / hidden sectors value) should make LBA booting on any drive > letter possible", but it does not specify what to tweak and how. This is not related to your problem, unless your drive C: (atypically) is a logical partition. Primary partitions should work just fine. The mentioned tweaking is meant for developers. Make sure the file KERNEL.SYS exists in C:\. Update to kernel 2038 or 2039 (from the FreeDOS mirrors) and use the updated version of SYS in there to install that kernel. If that doesn't make it work, try using the SYS option to force the access method to LBA or CHS. You can also try the option that will hard code a BIOS drive number (usually 80(h) is the right for hard disks) into the boot sector instead of relying on the BIOS to provide the correct one. Regards, Christian |
|
From: Fabrizio G. <fab...@ti...> - 2010-12-05 12:25:15
|
From: Rugxulo <rugxulo@gm...> - 2010-12-04 19:34 >Il 04/12/2010 19:14, Fabrizio Gennari ha scritto: > >I installed FreeDOS on a partition of my HD, but, when booting it, it > >says "Loading FreeDOS no KERNEL SYS". > > >FAT32 partition? What kernel version, 2036 (from FD 1.0) or newer?? FAT32. How do you tell the kernel version? It's from the full ISO of FreeDOS 1.0. > >Searching the Net, someone said the partition must be primary and have > >the bootable flag set. Even in that case, it does not boot from CD. >not sure I understand here. Sorry, my mistake. The FreeDOS CD boots and can see the FAT32 partition. It does not boot from the HD: it gives the message "no KERNEL SYS". From: Christian Masloch <cm@bt...> - 2010-12-05 00:11 >Update to kernel 2038 or 2039 (from the FreeDOS mirrors) and use the updated version of SYS in there to install that kernel. Where do I download the new kernel and the new SYS? I guess that, after the download, it's a matter of unzipping in the right folder... Fabrizio |
|
From: Fabrizio G. <fab...@ti...> - 2010-12-05 13:13:23
|
Il 05/12/2010 13:25, Fabrizio Gennari ha scritto: > Where do I download the new kernel and the new SYS? I guess that, after the download, it's a matter of unzipping in the right folder... Found the answer to that: http://ftp.gwdg.de/pub/misc/freedos/files/dos/kernel/2039/ , then unzip manually kernel.sys in C:\ and sys.com in C:\FDOS\BIN |
|
From: Christian M. <cm...@bt...> - 2010-12-05 17:43:07
|
On Sun, 05 Dec 2010 14:13:15 +0100, Fabrizio Gennari wrote: > Il 05/12/2010 13:25, Fabrizio Gennari ha scritto: >> Where do I download the new kernel and the new SYS? I guess that, after >> the download, it's a matter of unzipping in the right folder... > Found the answer to that: > http://ftp.gwdg.de/pub/misc/freedos/files/dos/kernel/2039/ Yes, for example. The kernel is also available from FreeDOS's SF.net project (http://sourceforge.net/projects/freedos/), and the software list contains a link to the ibiblio FreeDOS mirror (see http://freedos.sourceforge.net/software/?prog=kernel). Ask again if you can't get it to work with the updated SYS and kernel. Regards, Christian |
|
From: Fabrizio G. <fab...@ti...> - 2010-12-06 21:02:58
|
Solved! A previous attempt at installing FreeDOS in a logical partition was still there. GRUB tried to boot that, in any case. I dont know why: maybe a GRUB bug, maybe the primary partition was created by using GParted's copy partition, meaning that the two partitions were identical, even with the same UUID, maybe a combination of the two... The logical partition has been removed and the GRUB config file has been adapted, and now FreeDOS boots. Thank you all for the help! |