Here: https://www.hddriver.net/en/exchange.html one can read an interesting note that "HDDRIVER will also be able to boot from these partitions".
I presume the byte-swapping option still must be enabled for standard Atari IDE interfaces (e.g. Falcon), right? I.e. there will be a performance hit.
Bootable GPT partitions
-
uweseimet
- Site Admin
- Posts: 408
- Joined: 10 Jan 2010, 15:39
Re: Bootable GPT partitions
Yes, byte-swapping and the partition scheme are two completely unrelated things. When using GPT partitions everything that is not directly related to the partition scheme stays like it is. For byte-swapping this means that it is needed in the same scenarios where you need it with the MBR partition scheme.
Regarding bootable partitions in general, when you have more than 4 partitions on a drive, with the MBR scheme there can only be 3 primary partitions you can install a bootable hard disk driver on. The 4th primary "partition" is the XGM one, which cannot be bootable.
With a GPT and more than 4 partitions on a drive you can always install a bootable hard disk driver on the first 4 partitions. This is because with a GPT there is no such thing like a secondary partition.
In practice you hardly profit from this, of course, because most likely you anyway install the hard disk driver on drive C:, which is usually the first partition. I say "usually", because with a GPT you can have partitions of different operating systems on the same drive, i.e. the first partition does not necessarily have to be a TOS-compatible partition. An OS/driver typically just ignores the GPT partition types it does not know.
Regarding bootable partitions in general, when you have more than 4 partitions on a drive, with the MBR scheme there can only be 3 primary partitions you can install a bootable hard disk driver on. The 4th primary "partition" is the XGM one, which cannot be bootable.
With a GPT and more than 4 partitions on a drive you can always install a bootable hard disk driver on the first 4 partitions. This is because with a GPT there is no such thing like a secondary partition.
In practice you hardly profit from this, of course, because most likely you anyway install the hard disk driver on drive C:, which is usually the first partition. I say "usually", because with a GPT you can have partitions of different operating systems on the same drive, i.e. the first partition does not necessarily have to be a TOS-compatible partition. An OS/driver typically just ignores the GPT partition types it does not know.
-
mikro
- Posts: 32
- Joined: 18 May 2010, 10:09
Re: Bootable GPT partitions
Noted, thanks for the detailed reply.
-
uweseimet
- Site Admin
- Posts: 408
- Joined: 10 Jan 2010, 15:39
Re: Bootable GPT partitions
GPT support for HDDRUTIL (HDDRIVER has already supported the GPT scheme for several years) is available now. HDDRIVER 12.50 has been released today.
-
francois
- Posts: 3
- Joined: 05 Sep 2024, 18:08
Re: Bootable GPT partitions
In my case, I was able to boot on a Falcon IDE drive with GPT partitions. However, I had to specifically make sure that byte-swapping is DISABLED.mikro wrote: 10 Sep 2024, 20:22 Here: https://www.hddriver.net/en/exchange.html one can read an interesting note that "HDDRIVER will also be able to boot from these partitions".
I presume the byte-swapping option still must be enabled for standard Atari IDE interfaces (e.g. Falcon), right? I.e. there will be a performance hit.
At least with TOS 4.04. Maybe something like EmuTOS can boot on byte-swapped disks?
-
uweseimet
- Site Admin
- Posts: 408
- Joined: 10 Jan 2010, 15:39
Re: Bootable GPT partitions
With release 2.41 the tools of the util-linux package, in particular fdisk, recognize TOS-compatible GPT partitions, which are also supported by HDDRIVER and HDDRUTIL:
As usual, the new tools are going to be integrated into upcoming Linux distributions. Even old Linux versions or FreeBSD can use these partitions, without any special tools or kernel configuration.
Code: Select all
Device Start End Sectors Size Type
/dev/sdh1 34 482841 482808 235,7M Atari TOS basic data
/dev/sdh2 482842 965617 482776 235,7M Atari TOS raw data (XHDI)