WDe and GPT, booting DOS (Users)
> > > ... many many things mentioned ...
>
>
>
> It is not immediately clear to me if you have successfully booted FreeDOS
> from a GPT partition.
I have booted the FreeDOS kernel using my loaders (ldosboot boot sector loaders or bootable lDebug loader command) from a FAT12, FAT16, or FAT32 partition on a diskette (unpartitioned) or MBR-partitioned. I have no interest at this time to load from a GPT-partitioned unit.
> I am assuming Japheth's method for MS-DOS 7.1 on GPT could be reconfigured
> for FreeDOS on GPT (I hope that this can be achieved).
This is certainly possible. However, you will need to understand the involved memory layout and load protocols quite well to adapt this.
> Any pointers, etc you can offer would be greatly appreciated. It would
> take me a long time to fully understand all you have mentioned on this
> topic.
You're still "reading 4 sectors of KERNEL.SYS". This is wrong, you need to load the entire KERNEL.SYS file. And as mentioned you have to relocate your loader to make space for the kernel, which you did not do at all yet. And you should use the FAT to follow the chain of the kernel file, not assume that its data is contiguous (unfragmented). (The loader you're working on does have a "get next cluster" function for walking the FAT32 root directory's chain, already. That can be used to walk the chain of a file, too.)
Further, you're still checking for the "MZ" and "BJ" signatures of the kernel file. These signatures are generally not found in the FreeDOS kernel file (unless it is a multi-format file like my kernels/debuggers), so checking for them is wrong here.
Also, you changed the "db 0EAh
" far immediate jump to jump to 60h:200h. This is wrong, as I already wrote the entrypoint is at 60h:0.
SI:DI need not be set for loading a FreeDOS kernel format file, though they do not harm anything either. Your comments on them are wrong however.
I did not check the device driver (CONFIG.SYS) component of this yet. However, the above errors are certainly present in the pre-kernel stage.
---
l
Complete thread:
- WDe and GPT, booting DOS - Japheth, 24.10.2022, 10:56 (Users)
- WDe and GPT, booting DOS - tom, 24.10.2022, 17:31
- WDe and GPT, booting DOS - Japheth, 25.10.2022, 05:24
- WDe and GPT, booting DOS - tom, 25.10.2022, 13:40
- WDe and GPT, booting DOS - Japheth, 25.10.2022, 17:29
- WDe and GPT, booting DOS - Zyzzle, 27.10.2022, 16:08
- WDe and GPT, booting DOS - Japheth, 27.10.2022, 16:41
- WDe and GPT, booting DOS - Japheth, 28.10.2022, 20:13
- WDe and GPT, booting DOS - Zyzzle, 29.10.2022, 02:39
- WDe and GPT, booting DOS - Richard, 02.11.2022, 03:39
- WDe and GPT, booting DOS - Zyzzle, 02.11.2022, 06:43
- WDe and GPT, booting DOS - Japheth, 02.11.2022, 07:55
- WDe and GPT, booting DOS - ecm, 02.11.2022, 09:55
- WDe and GPT, booting DOS - ecm, 02.11.2022, 11:21
- WDe and GPT, booting DOS - Japheth, 04.11.2022, 08:06
- WDe and GPT, booting DOS - ecm, 04.11.2022, 10:14
- WDe and GPT, booting DOS - ecm, 04.11.2022, 11:30
- WDe and GPT, booting DOS - Richard, 03.01.2023, 16:37
- WDe and GPT, booting DOS - ecm, 04.01.2023, 13:42
- Booting FreeDOS from an MS-DOS v7 compatible IO.SYS - ecm, 04.01.2023, 14:11
- WDe and GPT, booting DOS - ecm, 04.01.2023, 13:42
- WDe and GPT, booting DOS - Richard, 03.01.2023, 16:37
- WDe and GPT, booting DOS - ecm, 04.11.2022, 11:30
- WDe and GPT, booting DOS - ecm, 04.11.2022, 10:14
- WDe and GPT, booting DOS - Richard, 10.11.2022, 13:11
- WDe and GPT, booting DOS - Japheth, 10.11.2022, 17:55
- WDe and GPT, booting DOS - Richard, 22.11.2022, 07:10
- WDe and GPT, booting DOS - Rugxulo, 22.11.2022, 09:00
- WDe and GPT, booting DOS - Japheth, 22.11.2022, 09:52
- WDe and GPT, booting DOS - Richard, 22.11.2022, 12:29
- WDe and GPT, booting DOS - Japheth, 22.11.2022, 15:26
- WDe and GPT, booting DOS - Richard, 28.11.2022, 13:18
- WDe and GPT, booting DOS - Japheth, 28.11.2022, 16:57
- WDe and GPT, booting DOS - Richard, 08.12.2022, 17:21
- WDe and GPT, booting DOS - Japheth, 09.12.2022, 05:10
- WDe and GPT, booting DOS - Richard, 11.12.2022, 03:08
- WDe and GPT, booting DOS - Japheth, 11.12.2022, 10:39
- WDe and GPT, booting DOS - Richard, 11.12.2022, 14:53
- WDe and GPT, booting DOS - Japheth, 12.12.2022, 10:34
- WDe and GPT, booting DOS - Richard, 21.12.2022, 17:30
- WDe and GPT, booting DOS - glennmcc, 21.12.2022, 19:07
- WDe and GPT, booting DOS - Japheth, 22.12.2022, 14:52
- WDe and GPT, booting DOS - glennmcc, 22.12.2022, 18:41
- WDe and GPT, booting DOS - Richard, 23.12.2022, 01:49
- WDe and GPT, booting DOS - glennmcc, 23.12.2022, 05:06
- WDe and GPT, booting DOS - Richard, 23.12.2022, 06:46
- WDe and GPT, booting DOS - glennmcc, 23.12.2022, 05:06
- WDe and GPT, booting DOS - Richard, 23.12.2022, 01:49
- WDe and GPT, booting DOS - Richard, 26.12.2022, 12:16
- WDe and GPT, booting DOS - Richard, 28.12.2022, 09:34
- WDe and GPT, booting DOS - Japheth, 28.12.2022, 12:05
- WDe and GPT, booting DOS - Richard, 28.12.2022, 17:27
- WDe and GPT, booting DOS - Japheth, 29.12.2022, 19:32
- WDe and GPT, booting DOS - Richard, 30.12.2022, 07:52
- WDe and GPT, booting DOS - Zyzzle, 31.12.2022, 08:23
- WDe and GPT, booting DOS - Japheth, 02.01.2023, 13:04
- WDe and GPT, booting DOS - Richard, 03.01.2023, 03:51
- WDe and GPT, booting DOS - glennmcc, 03.01.2023, 04:05
- WDe and GPT, booting DOS - Richard, 03.01.2023, 04:37
- WDe and GPT, booting DOS - Richard, 03.01.2023, 05:17
- WDe and GPT, booting DOS - jadoxa, 04.01.2023, 01:02
- WDe and GPT, booting DOS - Richard, 03.01.2023, 05:17
- WDe and GPT, booting DOS - Richard, 03.01.2023, 04:37
- WDe and GPT, booting DOS - Japheth, 03.01.2023, 09:14
- WDe and GPT, booting DOS - Richard, 16.01.2023, 02:50
- WDe and GPT, booting DOS - glennmcc, 03.01.2023, 04:05
- WDe and GPT, booting DOS - Japheth, 29.12.2022, 19:32
- WDe and GPT, booting DOS - Richard, 28.12.2022, 17:27
- WDe and GPT, booting DOS - Japheth, 28.12.2022, 12:05
- WDe and GPT, booting DOS - glennmcc, 22.12.2022, 18:41
- WDe and GPT, booting DOS - Richard, 21.12.2022, 17:30
- WDe and GPT, booting DOS - Japheth, 12.12.2022, 10:34
- WDe and GPT, booting DOS - Richard, 11.12.2022, 14:53
- WDe and GPT, booting DOS - Japheth, 11.12.2022, 10:39
- WDe and GPT, booting DOS - Richard, 11.12.2022, 03:08
- WDe and GPT, booting DOS - Japheth, 09.12.2022, 05:10
- WDe and GPT, booting DOS - Richard, 08.12.2022, 17:22
- WDe and GPT, booting DOS - Richard, 08.12.2022, 17:24
- WDe and GPT, booting DOS - Richard, 08.12.2022, 17:21
- WDe and GPT, booting DOS - Japheth, 28.11.2022, 16:57
- WDe and GPT, booting DOS - Richard, 28.11.2022, 13:18
- WDe and GPT, booting DOS - Japheth, 22.11.2022, 15:26
- WDe and GPT, booting DOS - Richard, 22.11.2022, 12:29
- WDe and GPT, booting DOS - Richard, 22.11.2022, 07:10
- WDe and GPT, booting DOS - Japheth, 10.11.2022, 17:55
- WDe and GPT, booting DOS - ecm, 02.11.2022, 09:55
- WDe and GPT, booting DOS - Japheth, 28.10.2022, 20:13
- WDe and GPT, booting DOS - Japheth, 27.10.2022, 16:41
- WDe and GPT, booting DOS - Zyzzle, 27.10.2022, 16:08
- WDe and GPT, booting DOS - RayeR, 15.12.2022, 19:49
- WDe and GPT, booting DOS - tom, 15.12.2022, 20:14
- WDe and GPT, booting DOS - Japheth, 25.10.2022, 17:29
- WDe and GPT, booting DOS - tom, 25.10.2022, 13:40
- WDe and GPT, booting DOS - Japheth, 25.10.2022, 05:24
- WDe and GPT, booting DOS - tom, 24.10.2022, 18:15
- WDe and GPT, booting DOS - Zyzzle, 25.10.2022, 02:55
- WDe and GPT, booting DOS - tom, 25.10.2022, 13:39
- WDe and GPT, booting DOS - tom, 03.01.2023, 17:14
- WDe and GPT, booting DOS - Richard, 03.01.2023, 17:44
- WDe and GPT, booting DOS - fritz.mueller, 03.01.2023, 18:17
- WDe and GPT, booting DOS - Richard, 03.01.2023, 18:28
- WDe and GPT, booting DOS - glennmcc, 03.01.2023, 22:10
- WDe and GPT, booting DOS - Richard, 03.01.2023, 18:28
- WDe and GPT, booting DOS - fritz.mueller, 03.01.2023, 18:17
- WDe and GPT, booting DOS - Richard, 03.01.2023, 17:44
- WDe and GPT, booting DOS - Zyzzle, 25.10.2022, 02:55
- WDe and GPT, booting DOS - glennmcc, 24.10.2022, 19:09
- WDe and GPT, booting DOS - rr, 24.10.2022, 20:19
- WDe and GPT, booting DOS - Japheth, 25.10.2022, 05:14
- WDe v1.0 - Japheth, 14.11.2022, 10:35
- WDe and GPT, booting DOS - tom, 24.10.2022, 17:31