Thanks, but it seems that cfdisk doesn't understand this partition
structure properly either:
Device Boot Start End Sectors Size Id Type
/dev/sdd1 * 0 3793663 3793664 1.8G 0 Empty
/dev/sdd2 2136 2967 832 416K ef EFI
(FAT-12/16/32)
>> Free space 4096 246480895 246476800 117.5G
If /dev/sdd1 is 3793664 sectors then there is no way that free space starts
at sector 4096. And if I try to create new partition there, cfdisk doesn't
allow that and gives error "Start sector 4096 out of range."
On Sat, Jun 24, 2017 at 7:44 PM, Tom & Karen Pino <[email protected]>
wrote:
> You have a 'Hidden HPFF/NTFS' partition for your main partition.
>
> Gparted is a fine partition tool for general work but don't use it for
> this sort of job.
>
> Use cfdisk instead.
> # cfdisk /dev/sdd
>
> On 06/24/2017 09:08 AM, Markus Laire wrote:
>
> I just put debian-live-9.0.1-amd64-xfce.iso to 128 GB USB-stick and
> then tried to check the created partitions on a computer running
> Debian Strech.
>
> When I check partitions with "cat /proc/partitions" I get:
> 8 48 123240448 sdd
> 8 49 1896832 sdd1
> 8 50 416 sdd2
>
> So there is one main partition and one tiny one.
>
> But if I start GParted to modify partitions, it doesn't see main
> partition at all, only the tiny one. GParted claims that USB-stick
> has:
> - 1.04 MiB unallocated space
> - 416 KiB fat16 partition
> - 117.53 GiB unallocated space
>
> Why GParted doesn't see the main partition? I want to create another
> partition for persistence, but I'm afraid GParted will destroy main
> partition (which it doesn't see) if I try to do any changes.
>
>
>
> --
>
--
Markus Laire
https://www.MarkusLaire.com