[Bug 1068879] [NEW] parted fails removing flag from empty partition

YannUbuntu yannubuntu at gmail.com
Fri Oct 19 22:15:29 UTC 2012


Public bug reported:

Reported by Alan by email:

INITIAL SITUATION:
ubuntu at ubuntu:~$ sudo fdisk -lu
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1dd83334
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          44          44           0    0  Empty
/dev/sda2              63       80324       40131   de  Dell Utility
/dev/sda3           81920    30801919    15360000    7  HPFS/NTFS/exFAT
/dev/sda4   *    30801920  1890608551   929903316    7  HPFS/NTFS/exFAT


OBSERVED PROBLEM:
parted can't remove the 'boot' flag from sda1. (this prevents Windows from booting)
$parted /dev/sda set 1 boot off                                                                       
Error: Partition doesn't exist.

WORKAROUND:
fdisk can do the trick.
$sudo fdisk /dev/sda
then press 'a', choose the partition (press '1'), press 'w'.

** Affects: parted (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/1068879

Title:
  parted fails removing flag from empty partition

Status in “parted” package in Ubuntu:
  New

Bug description:
  Reported by Alan by email:

  INITIAL SITUATION:
  ubuntu at ubuntu:~$ sudo fdisk -lu
  Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
  255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x1dd83334
     Device Boot      Start         End      Blocks   Id  System
  /dev/sda1   *          44          44           0    0  Empty
  /dev/sda2              63       80324       40131   de  Dell Utility
  /dev/sda3           81920    30801919    15360000    7  HPFS/NTFS/exFAT
  /dev/sda4   *    30801920  1890608551   929903316    7  HPFS/NTFS/exFAT

  
  OBSERVED PROBLEM:
  parted can't remove the 'boot' flag from sda1. (this prevents Windows from booting)
  $parted /dev/sda set 1 boot off                                                                       
  Error: Partition doesn't exist.

  WORKAROUND:
  fdisk can do the trick.
  $sudo fdisk /dev/sda
  then press 'a', choose the partition (press '1'), press 'w'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1068879/+subscriptions




More information about the foundations-bugs mailing list