HDDriver 10.12 + UltraSatan + Linux = Funky partitions?

All about the serious stuff.

Moderators: Mug UK, Zorro 2, Moderator Team

User avatar
leech
Atari God
Atari God
Posts: 1175
Joined: Tue Dec 01, 2015 3:26 pm

HDDriver 10.12 + UltraSatan + Linux = Funky partitions?

Postby leech » Sat Jun 23, 2018 7:01 pm

So I'm trying to prep two 2GB SD Cards on my Mega STe.

I loaded up HDDriver from disk, went about partitioning, used 'Split' and selected 4 partitions, on the compatibility I selected TOS (Windows is already checked) and hit Okay to partition.

First time I did it, it seemed to create the partitions, but they were weirdly corrupted. Second time it worked fine. I did it on both of these, installed the HDDIVER.SYS and they boot.

Now I plug them into my Linux box (Arch if that matters) and they show up as having no disklabel in gparted, but fdisk shows an interesting picture.

Code: Select all

Disk /dev/sdg: 1.9 GiB, 2008023040 bytes, 3921920 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot     Start        End    Sectors   Size Id Type
/dev/sdg1              63     980594     980532 478.8M  6 FAT16
/dev/sdg2          980595    3921875    2941281   1.4G  5 Extended
/dev/sdg3       871763456 2168284672 1296521217 618.2G  0 Empty
/dev/sdg4               0          0          0     0B  0 Empty
/dev/sdg5          980658    1961063     980406 478.7M  6 FAT16
/dev/sdg6         1961127    2941532     980406 478.7M  6 FAT16
/dev/sdg7         2941596    3921875     980280 478.7M  6 FAT16


What's up with that 618gb 'Empty' file system type? Weird, eh?
Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)

czietz
Hardware Guru
Hardware Guru
Posts: 764
Joined: Tue May 24, 2016 6:47 pm

Re: HDDriver 10.12 + UltraSatan + Linux = Funky partitions?

Postby czietz » Sun Jun 24, 2018 6:50 am

HDDRIVER has to do some tricks to create a partition table that is understood by TOS and Windows. Both use different, mutually incompatible tables. What you see under Linux is just the effect of these "tricks" and thus totally normal. Simply ignore all non-FAT16 partitions.

User avatar
leech
Atari God
Atari God
Posts: 1175
Joined: Tue Dec 01, 2015 3:26 pm

Re: HDDriver 10.12 + UltraSatan + Linux = Funky partitions?

Postby leech » Sun Jun 24, 2018 6:53 am

The problem is that it's making it unreadable in Linux. At least outside of anything that isn't fdisk. Tried fixing it a few times by creating an extended partition without the shenanigans, but didn't have any luck. Fortunately the newer version of the ppdriver seems to have fixed the issue I was having with my TT and allows me to mount under Linux to copy things back and forth.

Still would be nice to be able to get hddriver working as well.
Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)

czietz
Hardware Guru
Hardware Guru
Posts: 764
Joined: Tue May 24, 2016 6:47 pm

Re: HDDriver 10.12 + UltraSatan + Linux = Funky partitions?

Postby czietz » Sun Jun 24, 2018 7:37 am

So you could not mount e.g. /dev/sdg1? Post the output of dmesg after inserting the HDDRIVER-partitioned SD card into your Linux computer.

User avatar
leech
Atari God
Atari God
Posts: 1175
Joined: Tue Dec 01, 2015 3:26 pm

Re: HDDriver 10.12 + UltraSatan + Linux = Funky partitions?

Postby leech » Sun Jun 24, 2018 11:43 am

Code: Select all

[ 6220.730899] sd 8:0:0:0: [sdg] 3921920 512-byte logical blocks: (2.01 GB/1.87 GiB)
[ 6220.740149]
               ID of extended partition is not XGM!
[ 6220.740151]  sdg: AHDI sdg1 sdg2 sdg3 XGM< sdg4 >
[ 6220.740184] sdg: p1 start 888540672 is beyond EOD, enabling native capacity
[ 6220.746367]
               ID of extended partition is not XGM!
[ 6220.746369]  sdg: AHDI sdg1 sdg2 sdg3 XGM< sdg4 >
[ 6220.746399] sdg: p1 start 888540672 is beyond EOD, truncated
[ 6220.746400] sdg: p2 start 1945505280 is beyond EOD, truncated
[ 6220.746500] sdg: p4 start 3070493811 is beyond EOD, truncated
[ 6600.906992]  sdd:
[ 6600.909636]  sde: sde1
[ 6600.913105]  sdf: sdf1
[ 6600.921179]
               ID of extended partition is not XGM!
[ 6600.921180]  sdg: AHDI sdg1 sdg2 sdg3 XGM< sdg4 >
[ 6600.921196] sdg: p1 start 888540672 is beyond EOD, truncated
[ 6600.921197] sdg: p2 start 1945505280 is beyond EOD, truncated
[ 6600.921238] sdg: p4 start 3070493811 is beyond EOD, truncated
[ 6601.027677]  sdd:
[ 6617.165734]  sdd:
[ 6837.517382]
               ID of extended partition is not XGM!
[ 6837.517383]  sdg: AHDI sdg1 sdg2 sdg3 XGM< sdg4 >
[ 6837.517403] sdg: p1 start 888540672 is beyond EOD, truncated
[ 6837.517404] sdg: p2 start 1945505280 is beyond EOD, truncated
[ 6837.517455] sdg: p4 start 3070493811 is beyond EOD, truncated
[ 7097.233656]  sdg: sdg1
[ 7099.668880]  sdg: sdg1
[ 7110.541493]  sdg: sdg1
[ 7275.639476] sd 8:0:0:0: [sdg] 3921920 512-byte logical blocks: (2.01 GB/1.87 GiB)
[ 7275.645796]  sdg: sdg1
[ 7306.129820]  sdd:
[ 7306.131541]  sde: sde1
[ 7306.133293]  sdf: sdf1
[ 7306.420121]  sdd:
[ 7306.422972]  sde: sde1
[ 7306.425283]  sdf: sdf1
[ 7322.471103]  sdd:
[ 7481.627824]  sdd:
[ 7481.631994]  sde: sde1
[ 7481.634425]  sdf: sdf1
[ 7481.745625]  sdd:
[ 7481.753227]  sdf: sdf1
[ 7497.798487]  sdd:
[ 9018.618307] sd 8:0:0:0: [sdg] 3921920 512-byte logical blocks: (2.01 GB/1.87 GiB)
[ 9018.624613]  sdg: sdg1 sdg2 sdg3 sdg4
[ 9082.459112]  sdg:
[ 9117.350447]  sdd:
[ 9117.352815]  sde: sde1
[ 9117.354267]  sdf: sdf1
[ 9117.359119]  sdg:
[ 9117.497295]  sdd:
[ 9117.499650]  sdf: sdf1
[ 9117.551880]  sdg:
[ 9133.507681]  sdd:
[ 9168.315868]  sdg:
[ 9242.477060]  sdg:
[ 9242.736153]  sdg: sdg1
[ 9244.457611]  sdg: sdg1
[ 9245.557524]  sdg: sdg1 sdg2 < >
[ 9246.427547]  sdg: sdg1 sdg2 < sdg5 >
[ 9249.003530]  sdg: sdg1 sdg2 < sdg5 >
[ 9250.683018]  sdg: sdg1 sdg2 < sdg5 sdg6 >
[ 9253.627056]  sdg: sdg1 sdg2 < sdg5 sdg6 >
[ 9255.527966]  sdg: sdg1 sdg2 < sdg5 sdg6 sdg7 >
[ 9259.835959]  sdg: sdg1 sdg2 < sdg5 sdg6 sdg7 >
[ 9264.014615]  sdd:
[ 9264.020253]  sde: sde1
[ 9264.024051]  sdf: sdf1
[ 9264.036386]  sdg: sdg1 sdg2 < sdg5 sdg6 sdg7 >
[ 9264.160498]  sdd:
[ 9264.163285]  sde: sde1
[ 9264.164883]  sdf: sdf1
[ 9280.229003]  sdd:
[ 9310.080898]  sdf: sdf1
[ 9347.129104] EXT4-fs (sdc2): mounted filesystem with ordered data mode. Opts: (null)
[ 9407.684695] sd 8:0:0:0: [sdg] 3921920 512-byte logical blocks: (2.01 GB/1.87 GiB)
[ 9407.695823]  sdg: sdg1 sdg2 < sdg5 sdg6 sdg7 >
[10077.897797] sd 8:0:0:0: [sdg] 3921920 512-byte logical blocks: (2.01 GB/1.87 GiB)
[10077.906852]
               ID of extended partition is not XGM!
[10077.906856]  sdg: AHDI sdg1 sdg2 sdg3 XGM< sdg4 >
[10077.906912] sdg: p1 start 1476201984 is beyond EOD, truncated
[10077.906916] sdg: p2 start 2533166592 is beyond EOD, truncated
[10077.907112] sdg: p4 start 3070495638 is beyond EOD, truncated
[13241.376359] sd 8:0:0:0: [sdg] 3823616 512-byte logical blocks: (1.96 GB/1.82 GiB)
[13241.388651]  sdg: sdg1 sdg2 < sdg5 sdg6 sdg7 sdg8 >
[13241.389807] sdg: p8 size 946176 extends beyond EOD, truncated
Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)

czietz
Hardware Guru
Hardware Guru
Posts: 764
Joined: Tue May 24, 2016 6:47 pm

Re: HDDriver 10.12 + UltraSatan + Linux = Funky partitions?

Postby czietz » Sun Jun 24, 2018 12:04 pm

One thing to note: your Linux kernel also knows about the Atari-style partition table; that's why it says "AHDI" up there. So if you only want to exchange data with Linux and not with Windows, you probably could uncheck the "Windows" option in HDDRUTIL. Maybe Linux gets confused by the mixture of two partition table types that HDDRIVER has to create for simultaneous TOS & Windows compatibility.
Perhaps a Linux (and HDDRIVER) user can confirm that.

User avatar
leech
Atari God
Atari God
Posts: 1175
Joined: Tue Dec 01, 2015 3:26 pm

Re: HDDriver 10.12 + UltraSatan + Linux = Funky partitions?

Postby leech » Sun Jun 24, 2018 1:07 pm

Interesting. I can easily reformat them on my TT with that option disabled. I do know there is an ugly thing that needs to be done to bypass the limitation with Windows only being able to read the first partition of an SD card.

I should make sure they work under Windows as well. If I only have the primary partition it seems to be fine. But that sort of wastes space unless I use bigdos, which I guess there is no reason not to.
Atari 8Bits: 800xl, 600xl, XEGS, 800, 130xe, 130xe (VBXE, U1MB, Stereo POKEY)
Atari STs: 1040STf (broken shifter), 1040STe, Mega STe, TT030, Falcon (CT60e, SuperVidel)


Social Media

     

Return to “Applications”

Who is online

Users browsing this forum: No registered users and 3 guests