Ticket #182 (new defect)

Opened 2 years ago

Last modified 2 years ago

First partition not offset 63 sectors (1 track) in parted 1.8.1 (possible alignment problem)

Reported by: mjq Assigned to:
Priority: major Milestone: 2.0.0 "Edge"
Component: parted Version: 1.8.8
Keywords: alignment MBR Cc:

Description

parted 1.8.1 is apparently not laying partitions offset 63 sectors (1 'track') for the first partition defined as starting at 0mb-

mkpart primary 0 1000

Its offset only 512K (the MBR). I dont see where I'd have room for my GRUB stage 1.5 which normally sits right after the MBR on 15 sectors. I worked around by using an older version of parted (1.6.9). I dl'd 1.8.8 & will try after some sleep...too tired right now. Thanks

Attachments

Change History

01/07/08 03:42:33 changed by mjq

  • version set to 1.8.8.
  • milestone set to 2.0.0 "Edge".

Compiled & ran V1.8.8, same issue. Have more info, too. If you specify base two squares, the partition is created as I would expect. Anything else leaves just the MBR reserved.

Example (parted 1.8.1 or 1.8.8):

mkpart extended 0 2048 <--ok, partition offset 32K

mkpart extended 0 2000 <--partition offset only 1 sector (512 Bytes)

mkpart extended 0 2GB <--ok, partition offset 32K

mkpart extended 0 2000MB <--ok, partition offset 32K

Parted version 1.6.9 handles all of the above with a 32K offset from the beginning of the disk (MBR + 62 sectors @ 512 Bytes / sector).

Thanks, good day

01/07/08 03:48:53 changed by mjq

By base two squares I mean powers of 2.


Add/Change #182 (First partition not offset 63 sectors (1 track) in parted 1.8.1 (possible alignment problem))




Change Properties
Action