Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Current FreeDOS fdisk utility (Users)

posted by RayeR Homepage, CZ, 02.02.2021, 07:28

I had to fix some more typing and absolute paths in makefile and was able to add some debug prints. On my SSD fdisk reads labels from this locations:

[SSD]
C: LABEL READ FROM: disk=128, part=0, C=0, H=0, S=0
L: LABEL READ FROM: disk=128, part=1, C=277, H=0, S=0

Symantec PartitionInfo 8.0 says:

EGeo 0x0000 16383 16 63 250069680 0 512
Disk 0:  16539 Cylinders, 240 Heads, 63 Sectors/Track.

============================ Partition Tables ==============================

Partition          -----Begin----      ------End-----     Start     Num

Sector     # Boot   Cyl Head Sect  FS   Cyl Head Sect     Sect      Sects

---------- - ----  ---- ---- ----  --  ---- ---- ----  ---------- ----------

         0 0 80       0    0    1  06   276  239   63        2048    4192256

Error #116: Starting sector of partition is inconsistent.

  ulStartSect = 2048

  Begin C,H,S = 0

Error #110: Number of sectors in partition is inconsistent.

  ucSectors   = 4192256
  end - begin = 4188240

         0 1 00   [ 277    0    1] 0C [ 872  239   63]    4194304  163840000 [Large Drive Placeholders]

                    277   96   17     11113   91   11                         Actual Values

Error #105: Partition didn't begin on head boundary.

ucBeginHead expected to be 0 or 1, not 96.

Error #106: Partition didn't begin on head boundary.

  ucBeginSector expected to be 1, not 17.

Error #108: Partition didn't end on cylinder boundary.

  ucEndHead expected to be 239, not 91.

Error #108: Partition didn't end on cylinder boundary.

  ucEndSector expected to be 63, not 11.

         0 2 00   [ 873    0    1] 83 [ 153  239   63]  168034304   82034688 [Large Drive Placeholders]

                  11113   91   12     16538  229    5                         Actual Values

Info: Partition didn't begin on head boundary.

ucBeginHead expected to be 0 or 1, not 91.

Info: Partition didn't begin on head boundary.

  ucBeginSector expected to be 1, not 12.

Info: Partition didn't end on cylinder boundary.

  ucEndHead expected to be 239, not 229.

Info: Partition didn't end on cylinder boundary.

  ucEndSector expected to be 63, not 5.



LBA values are guaranted to be correct ones.

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 79 users online (0 registered, 79 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum