Re: [Gptfdisk-general] Bug#649054: cgdisk says: "Partition 1 doesn't begin on a 4149778177-sector b
Brought to you by:
srs5694
|
From: Guillaume D. <gu...@ir...> - 2012-01-03 23:02:58
|
Le jeudi 17 novembre 2011 à 02:02 -0500, Ariel a écrit : > Package: gdisk > Version: 0.8.1-1~bpo60+1 > Severity: normal Hello, > > If you choose align from the menu, then hit enter without typing anything it > thinks you want a "4149778177-sector" alignment (and if you go back to the > option it thinks it's a -145320191 sector alignment). > > The strange alignment only seems to show up when you do verify - if you > actually add a partition it doesn't seem to use the alignment, but I didn't > test extensively. I didn't reproduce this with the same version on sid. I'm not sure you've encountered the bug with cgdisk but maybe with gdisk (as you describe the scenario). > > I would expect hitting enter without typing anything to leave the old alignment. It actually select the default value (which is "hardcoded" at 2048 in gpt.h: #define DEFAULT_ALIGNMENT 2048). > > And if I can add a side bug, on gdisk it properly detects the alignment (8 in > my case), but then when you go to change it, it says "default = 2048" which is > not what the old alignment was. I've Cced upstream user list, as i can't test with a real device but only with a test file i've generated with dd (maybe people have ideas on your issue). > > -- System Information: > Debian Release: 6.0.3 > APT prefers stable > APT policy: (990, 'stable'), (500, 'oldstable'), (1, 'experimental') > Architecture: i386 (x86_64) > > Kernel: Linux 2.6.32 (SMP w/8 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > Versions of packages gdisk depends on: > ii groff-base 1.20.1-10 GNU troff text-formatting system ( > ii libc6 2.13-10 Embedded GNU C Library: Shared lib > ii libgcc1 1:4.6.1-4 GCC support library > ii libicu44 4.4.1-7 International Components for Unico > ii libncurses5 5.7+20100313-5 shared libraries for terminal hand > ii libpopt0 1.16-1 lib for parsing cmdline parameters > ii libstdc++6 4.6.1-4 GNU Standard C++ Library v3 > ii libuuid1 2.17.2-9 Universally Unique ID library > > gdisk recommends no packages. > > gdisk suggests no packages. > > -- no debconf information > > -- Guillaume Delacour <gu...@ir...> |