When creating the partition table and partition using fdisk I tried
altering the partition (set the boot flag) with parted. It's still
crashing but the boot flag is set.

$ sudo parted /dev/vg0/test
GNU Parted 2.3
Using /dev/dm-15
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) set 1 boot on                                                    
device-mapper: deps ioctl failed: No such device or address


You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (2.3)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

Command History:
set 1 boot on

Error: SEGV_MAPERR (Address not mapped to object)
Backtrace has 12 calls on stack:
  12: /lib/libparted.so.0(ped_assert+0x2e) [0x7f57a923f89e]
  11: parted() [0x40badf]
  10: /lib/x86_64-linux-gnu/libc.so.6(+0x33d80) [0x7f57a8a4ad80]
  9: /lib/libparted.so.0(+0x17ac1) [0x7f57a9248ac1]
  8: /lib/libparted.so.0(+0x1b60b) [0x7f57a924c60b]
  7: /lib/libparted.so.0(ped_disk_commit_to_os+0x4b) [0x7f57a924358b]
  6: /lib/libparted.so.0(ped_disk_commit+0x48) [0x7f57a9243718]
  5: parted() [0x405500]
  4: parted(interactive_mode+0xf3) [0x40dab3]
  3: parted(main+0x146f) [0x40aa9f]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff) [0x7f57a8a35eff]
  1: parted() [0x404fa9]
                                                                          

You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (2.3)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

Assertion (0) at ../../parted/ui.c:356 in function sa_sigsegv_handler()
failed.


$ sudo parted /dev/vg0/test unit co print unit s print
Model: Linux device-mapper (linear) (dm)
Disk /dev/dm-15: 8590MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  8590MB  8589MB  primary  ext4         boot

Model: Linux device-mapper (linear) (dm)
Disk /dev/dm-15: 16777216s
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End        Size       Type     File system  Flags
 1      2048s  16777215s  16775168s  primary  ext4         boot

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

Title:
  parted crashes when creating a partition on a lvm2 volume

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to