Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Resizing ntfs creates a hidden partition
Date: Sat, 20 Feb 2010 11:23:53
Message-Id: 358eca8f1002200323r6ee3f399s9fc239b654aa205d@mail.gmail.com
1 Hi All,
2
3 I am resizing a Windows partition to get some space for Gentoo. I
4 noticed that when gparted finished and I rebooted the machine there is
5 a blank unallocated space in front of the Windows 7 partition, shown
6 below as 6.33MB:
7
8 ===================================================
9 cfdisk (util-linux-ng 2.16.1)
10
11 Disk Drive: /dev/sda
12 Size: 500107862016 bytes, 500.1 GB
13 Heads: 255 Sectors per Track: 63 Cylinders: 60801
14
15 Name Flags Part Type FS Type [Label] Size (MB)
16 ------------------------------------------------------------------------------
17 sda1 Primary Dell Utility 41.13
18 sda2 Boot Primary NTFS [] 15728.64*
19 Pri/Log Free Space 6.33*
20 sda3 Primary NTFS [] 52426.47*
21 Pri/Log Free Space 431902.70*
22
23 ===================================================
24
25 Also, when I used gparted to create a new extended partition over the
26 431G free space at the end of the disk I ended up with a similar small
27 unallocated space in front of it. This is something I have observed
28 happening recently on 3 laptops that I have worked on, i.e. resizing
29 or creating a new partition inevitably creates a small blank partition
30 in front of it.
31
32 Looking at the sectors table I see this:
33 ===================================================
34 Partition Table for /dev/sda
35
36 First Last
37 # Type Sector Sector Offset Length Filesystem Type (ID) Flag
38 -- ------- ----------- ----------- ------ ----------- -------------------- ----
39 1 Primary 0 80324 63 80325 Dell Utility (DE) None
40 2 Primary 80325 30800324* 0 30720000*HPFS/NTFS (07) Boot
41 Pri/Log 30800325* 30812669 0 12345*Free Space None
42 3 Primary 30812670 133208104* 0 102395435*HPFS/NTFS (07) None
43 Pri/Log 133208105* 976768064 0 843559960*Free Space None
44 ===================================================
45
46 I am not sure what the asterisks are for after the last sector on the
47 second and third partitions.
48
49 Could this empty space jump be related to gparted somehow shifting the
50 start of a partition to make it align with a particular sector as per
51 previous thread on the 4k sector topic?
52
53 Should I do anything about it, or just run with it and let gparted
54 align what it wants to align as part of the partitioning process?
55 --
56 Regards,
57 Mick

Replies

Subject Author
Re: [gentoo-user] Resizing ntfs creates a hidden partition Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] Resizing ntfs creates a hidden partition Stefan Schulte <stefan.schulte@×××××××××××.net>