[Bug 1068535] Re: Parted fails to set 'boot' flag on RAID

YannUbuntu yannubuntu at gmail.com
Fri Oct 19 22:17:33 UTC 2012


oops, sorry Philip, my mistake. (the 'boot' flag was indeed set
correctly, i was confused by the warnings)

Setting 'invalid'.

** Changed in: parted (Ubuntu)
       Status: Incomplete => Invalid

-- 
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/1068535

Title:
  Parted fails to set 'boot' flag on RAID

Status in “parted” package in Ubuntu:
  Invalid

Bug description:
  See http://paste.ubuntu.com/1288764

  **************************
  $sudo parted /dev/mapper/nvidia_hebbffef set 5 boot on
  Error: Partition(s) 5, 6 on /dev/mapper/nvidia_hebbffef have been written, but
  we have been unable to inform the kernel of the change, probably because it/they
  are in use.  As a result, the old partition(s) will remain in use.  You should
  reboot now before making further changes.
  Warning: ignoring extra data in partition table 5
  Warning: ignoring extra data in partition table 5
  Warning: ignoring extra data in partition table 5
  Warning: invalid flag 0x1046 of partition table 5 will be corrected by w(rite)
  Disk /dev/sdb doesn't contain a valid partition table
  Warning: ignoring extra data in partition table 6
  Warning: ignoring extra data in partition table 6
  Warning: ignoring extra data in partition table 6
  Warning: invalid flag 0x3ddf of partition table 6 will be corrected by w(rite)
  Disk /dev/mapper/nvidia_hebbffef1 doesn't contain a valid partition table
  Disk /dev/mapper/nvidia_hebbffef7 doesn't contain a valid partition table

  **************************
  $sudo parted -l:
  Error: Can't have a partition outside the disk!
  Error: /dev/sdb: unrecognised disk label
  Error: Invalid partition table on /dev/mapper/nvidia_hebbffef2 -- wrong
  signature 3ddf.
  Model: Linux device-mapper (linear) (dm)
  Disk /dev/mapper/nvidia_hebbffef5: 75.3GB
  Sector size (logical/physical): 512B/512B
  Partition Table: loop
  Number  Start  End     Size    File system  Flags
  1      0.00B  75.3GB  75.3GB  ntfs
  Model: Linux device-mapper (linear) (dm)
  Disk /dev/mapper/nvidia_hebbffef7: 2147MB
  Sector size (logical/physical): 512B/512B
  Partition Table: loop
  Number  Start  End     Size    File system     Flags
  1      0.00B  2147MB  2147MB  linux-swap(v1)
  Model: Linux device-mapper (linear) (dm)
  Disk /dev/mapper/nvidia_hebbffef6: 34.6GB
  Sector size (logical/physical): 512B/512B
  Partition Table: msdos
  Number  Start  End  Size  Type  File system  Flags
  Error: /dev/mapper/nvidia_hebbffef1: unrecognised disk label
  Model: Linux device-mapper (striped) (dm)
  Disk /dev/mapper/nvidia_hebbffef: 149GB
  Sector size (logical/physical): 512B/512B
  Partition Table: msdos
  Number  Start   End     Size    Type      File system     Flags
  1      32.3kB  36.7GB  36.7GB  primary                   boot
  2      36.7GB  149GB   112GB   extended                  lba
  6      36.7GB  71.3GB  34.6GB  logical   ext4
  7      71.3GB  73.4GB  2147MB  logical   linux-swap(v1)
  5      73.4GB  149GB   75.3GB  logical   ntfs
  Warning: Unable to open /dev/sr1 read-write (Read-only file system).  /dev/sr1
  has been opened read-only.
  Error: /dev/sr1: unrecognised disk label

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




More information about the foundations-bugs mailing list