← Back to team overview

ubuntu-bengali-manual team mailing list archive

[Bug 521045] Re: partitioning using mb boundaries

 

Scary different outputs on a mac mini

I have tried to align my many partition beyond the 4. partition.
But the following outputs scares me for they are totally different:
1. First Gpt fdisk from sf.net finds more available sectors 
than ubuntu lucid fdisk which is powered by parted-2.2
2. fdisk -L / -G options output different sectors, 
but identical Block/Size - why ?

----------------------------------- 
# gptgdisk -L -l -u /dev/sda
GPT fdisk (gdisk) version 0.6.4

Partition table scan:
  MBR: hybrid
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with hybrid MBR; using GPT.
Disk /dev/sda: 625142448 sectors, 298.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 54D72D0F-0FF8-4E0F-B995-E2B42D94F61B
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 625142414
Total free space is 2354909 sectors (1.1 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              40          409639   200.0 MiB   EF00  EFI System Partition
   2          409640       104600047   49.7 GiB    AF00  Apple HFS/HFS+
   3       104862192       209052599   49.7 GiB    8301  Linux Reserved
   4       209551360       243105791   16.0 GiB    8301  
   5       243367936       263208959   9.5 GiB     8200  Linux swap
   6       263208960       394813439   62.8 GiB    8301  Linux reserved
   7       395075584       427714559   15.6 GiB    8301  Linux reserved
   8       427976704       460615679   15.6 GiB    8301  Linux reserved
   9       460877824       493516799   15.6 GiB    8301  Linux reserved
  10       493778944       559319039   31.3 GiB    8301  Linux reserved
  11       559581184       625121279   31.3 GiB    0700  Linux/Windows data
-------------------------------------
# fdisk -L -l -u /dev/sda
GNU Fdisk 1.2.4
Copyright (C) ....

Disk /dev/sda: 320 GB, 320070320640 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625137345 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1   *          40      409639      208813   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.
/dev/sda2          409640   104600047    52098795   83  Linux 
Warning: Partition 2 does not end on cylinder boundary.
/dev/sda3       104862192   209052599    52090762   83  Linux 
Warning: Partition 3 does not end on cylinder boundary.
/dev/sda4       209551360   243105791    16779892   83  Linux 
Warning: Partition 4 does not end on cylinder boundary.
/dev/sda5       243367936   263208959     9920137   82  Linux Swap / Solaris 
/dev/sda6       263208960   394813439    65794207   83  Linux 
/dev/sda7       395075584   427714559    16314007   83  Linux 
/dev/sda8       427976704   460615679    16314007   83  Linux 
/dev/sda9       460877824   493516799    16314007   83  Linux 
/dev/sda10      493778944   559319039    32764567   83  Linux 
/dev/sda11      559581184   625121279    32764567   83  Linux 
-------------------------------------
# fdisk -G -l -u /dev/sda
GNU Fdisk 1.2.4
Copyright (C) ....

Disk /dev/sda: 320 GB, 320070320640 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625137345 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1   *          63      401625      208813   83  Linux 
/dev/sda2          401688   104599215    52098795   83  Linux 
/dev/sda3       104856318   209037780    52090762   83  Linux 
/dev/sda4       209535858   243095580    16779892   83  Linux 
/dev/sda5       243352683   263192895     9920137   82  Linux Swap / Solaris 
/dev/sda6       263209023   394797375    65794207   83  Linux 
/dev/sda7       395070543   427698495    16314007   83  Linux 
/dev/sda8       427971663   460599615    16314007   83  Linux 
/dev/sda9       460872783   493500735    16314007   83  Linux 
/dev/sda10      493773903   559302975    32764567   83  Linux 
/dev/sda11      559576143   625105215    32764567   83  Linux 
-------------------------------------

-- 
partitioning using mb boundaries
https://bugs.launchpad.net/bugs/521045
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to Ubuntu Manual.

Status in Gnome Partition Editor: New
Status in Ubuntu Manual: Invalid
Status in “parted” package in Ubuntu: New
Status in “partman-auto” package in Ubuntu: New
Status in “parted” package in Debian: Unknown

Bug description:
Binary package hint: partman-auto

I would like to give people a try using ubuntu 
but I fear to setup some trouble for them if they use win7.
This isssue is described here:
https://answers.launchpad.net/ubuntu/+source/gparted/+question/99298
It is a MS related partitioning bug.

To get around there are 3 ways possible:

C) Most easily: You typically purchased a notebook where there are 3 primary partitions. Ubuntu Release Notes should mention that in case of dual boot  you should only create one primary root partition not any more ! (no swap, no home, no further extended)

B) A more sophisticated approach: Since Vista Windows needs a megabyte free space just in front of every first primary partition and a megabyte free space in front of every first logical partition in every extended partition. Partition your disk accordingly or give Windows7 Partitioniong Tool a try to configure your harddisk appropriet for a linux install (more easy?)

C) Feature request: make linux partitioning tools feature a windows7 compatible mode.