← Back to team overview

ubuntu-manual team mailing list archive

[Bug 521045] Re: partitioning using mb boundaries

 

1MiB boundaries are optimal for they also align with 128KiB and 256KiB
which could be used in solid disk hardware.

Now how to do this using fdisk:
My thought of using of 32 heads and 64 sectors per cylinder doesn't work for older fdisk versions (openSUSE11.2). 
Let's try the other way round:
"fdisk -L -H 64 -S 32 /dev/sdb" 
I did create an new empty DOS partition table with "o". And I started the first partition at cylinder 2 
This looks like:
----------------------
root@maci:/etc# fdisk -L -l  /dev/sdb
GNU Fdisk 1.2.4
....
Disk /dev/sdb: 4 GB, 4127195136 bytes
64 heads, 32 sectors/track, 3936 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdb1               2         935      957408    c  FAT32 LBA
/dev/sdb2   *         936        3936     3072000   83  Linux
----------------------
Now showing with sector numbers:
----------------------
root@maci:/etc# fdisk -L -l -u /dev/sdb
GNU Fdisk 1.2.4
....
Disk /dev/sdb: 4 GB, 4127195136 bytes
64 heads, 32 sectors/track, 3936 cylinders, total 8060928 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdb1            2048     1914879      957408    c  FAT32 LBA
/dev/sdb2   *     1914880     8060927     3072000   83  Linux
----------------------
I think such a restriction when partitioning should be totally compatible with Vista/Win7 and should be performant using any of the solid state disks. ... But I don't know how to consider an offset of -1 of some of those disks :(

-- 
partitioning using mb boundaries
https://bugs.launchpad.net/bugs/521045
You received this bug notification because you are a member of Ubuntu
Manual Team, 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.