Your message dated Tue, 28 Jun 2011 07:58:25 +0200
with message-id <1309240705.1332.18.camel@localhost>
and subject line Re: /sbin/fdisk: Can't create at sector 63
has caused the Debian Bug report #613592,
regarding /sbin/fdisk: Can't create at sector 63
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
613592: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613592
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: util-linux
Version: 2.17.2-9
Severity: serious
File: /sbin/fdisk
Justification: Near Data Loss
Hi,
I wanted to resize a partition, so I deleted it and recreated it (is there no
better way?). After this, the system no longer booted...
Turns out the old partition started at sector 63 and the new partition can't
start before sector 2048. Not so good.
Greetings,
Olaf
-- System Information:
Debian Release: wheezy/sid
APT prefers stable
APT policy: (500, 'stable'), (1, 'unstable'), (1, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages util-linux depends on:
ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy
ii dpkg 1.15.8.10 Debian package management system
ii initscripts 2.88dsf-13.1 scripts for initializing and shutt
ii install-info 4.13a.dfsg.1-6 Manage installed documentation in
ii libblkid1 2.17.2-9 block device id library
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libncurses5 5.7+20100313-5 shared libraries for terminal hand
ii libselinux1 2.0.96-1 SELinux runtime shared libraries
ii libslang2 2.2.2-4 The S-Lang programming library - r
ii libuuid1 2.17.2-9 Universally Unique ID library
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii tzdata 2011a-1 time zone and daylight-saving time
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
util-linux recommends no packages.
Versions of packages util-linux suggests:
ii console-tools 1:0.2.3dbs-69.1 Linux console and font utilities
pn dosfstools <none> (no description available)
pn util-linux-locales <none> (no description available)
-- debconf information:
util-linux/noauto-with-nonzero-passnum:
--- End Message ---
--- Begin Message ---
On Tue, 2011-02-15 at 23:35 +0100, Olaf van der Spek wrote:
> Package: util-linux
> Version: 2.17.2-9
> Severity: serious
> File: /sbin/fdisk
> Justification: Near Data Loss
>
> Hi,
>
> I wanted to resize a partition, so I deleted it and recreated it
> (is there no better way?). After this, the system no longer booted...
>
> Turns out the old partition started at sector 63 and the new partition
> can't start before sector 2048. Not so good.
That's hardly a bug:
* If you delete something, data loss is the expected outcome.
* If you want to do advanced operations like resizing a partition,
use more advanced tools like parted.
* The fact that fdisk doesn't let you start partitions before
sector 2048 is a feature, not a bug ;-). This is used to ensure
the correct alignment of partitions on modern hard drives with a
(physical) sector size of more than 512 bytes.
* However, fdisk will still let you create partitions that start
at sector 63, if you are in DOS-compatible mode, i.e. don't
specify -c as parameter.
Best regards
Alexander Kurtz
signature.asc
Description: This is a digitally signed message part
--- End Message ---