man parted

No manual entry for perted
owner@$:10:~$
owner@$:10:~$ man perted
No manual entry for perted
owner@$:11:~$ man parted
owner@$:12:~$ parted
WARNING: You are not superuser.  Watch out for permissions.
/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper (unknown version) and kernel driver (unknown version).
Error: No device found
Retry/Cancel? cancel
owner@$:13:~$ udo arted
The program ‘udo’ is currently not installed. To run ‘udo’ please ask your administrator to install the package ‘udo’
owner@$:14:~$ sudo parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type ‘help’ to view a list of commands.
(parted) help
align-check TYPE N                        check partition N for TYPE(min|opt) alignment
help [COMMAND]                           print general help, or help on COMMAND
mklabel,mktable LABEL-TYPE               create a new disklabel (partition table)
mkpart PART-TYPE [FS-TYPE] START END     make a partition
name NUMBER NAME                         name partition NUMBER as NAME
print [devices|free|list,all|NUMBER]     display the partition table, available devices, free space, all found partitions, or a particular
partition
quit                                     exit program
rescue START END                         rescue a lost partition near START and END
resizepart NUMBER END                    resize partition NUMBER
rm NUMBER                                delete partition NUMBER
select DEVICE                            choose the device to edit
disk_set FLAG STATE                      change the FLAG on selected device
disk_toggle [FLAG]                       toggle the state of FLAG on selected device
set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition NUMBER
unit UNIT                                set the default unit to UNIT
version                                  display the version number and copyright information of GNU Parted
(parted) version

GNU Parted 3.2

Copyright (C) 1998 – 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

(parted) print free
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type      File system  Flags
32.3kB  1049kB  1016kB            Free Space
1      1049kB  512MB   511MB   primary   ext2         boot
512MB   513MB   1048kB            Free Space
2      513MB   500GB   500GB   extended
5      513MB   500GB   500GB   logical
500GB   500GB   1073kB            Free Space

(parted) print devices
/dev/sda (500GB)
/dev/sdb (1000GB)
/dev/mapper/cryptswap1 (4282MB)
/dev/mapper/ubuntu–vg-swap_1 (4282MB)
/dev/mapper/ubuntu–vg-root (495GB)
/dev/mapper/sda5_crypt (500GB)
(parted) help
align-check TYPE N                        check partition N for TYPE(min|opt) alignment
help [COMMAND]                           print general help, or help on COMMAND
mklabel,mktable LABEL-TYPE               create a new disklabel (partition table)
mkpart PART-TYPE [FS-TYPE] START END     make a partition
name NUMBER NAME                         name partition NUMBER as NAME
print [devices|free|list,all|NUMBER]     display the partition table, available devices, free space, all found partitions, or a particular
partition
quit                                     exit program
rescue START END                         rescue a lost partition near START and END
resizepart NUMBER END                    resize partition NUMBER
rm NUMBER                                delete partition NUMBER
select DEVICE                            choose the device to edit
disk_set FLAG STATE                      change the FLAG on selected device
disk_toggle [FLAG]                       toggle the state of FLAG on selected device
set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition NUMBER
unit UNIT                                set the default unit to UNIT
version                                  display the version number and copyright information of GNU Parted
(parted) print all
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End    Size   Type      File system  Flags
1      1049kB  512MB  511MB  primary   ext2         boot
2      513MB   500GB  500GB  extended
5      513MB   500GB  500GB  logical

Error: /dev/sdb: unrecognised disk label
Model: ATA TOSHIBA DT01ACA1 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags:

Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/cryptswap1: 4282MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system     Flags
1      0.00B  4282MB  4282MB  linux-swap(v1)

Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu–vg-swap_1: 4282MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system     Flags
1      0.00B  4282MB  4282MB  linux-swap(v1)

Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu–vg-root: 495GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number  Start  End    Size   File system  Flags
1      0.00B  495GB  495GB  ext4

Error: /dev/mapper/sda5_crypt: unrecognised disk label
Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/sda5_crypt: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

(parted) print devices
Backtrace has 11 calls on stack:
11: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7fd8a85fcea4]
10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1c91e) [0x7fd8a860e91e]
9: /lib/x86_64-linux-gnu/libparted.so.2(+0x1ca27) [0x7fd8a860ea27]
8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e220) [0x7fd8a8610220]
7: /lib/x86_64-linux-gnu/libparted.so.2(+0xf8ba) [0x7fd8a86018ba]
6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_set_flag+0x68) [0x7fd8a8601ed8]
5: parted(+0x72f9) [0x55aff5a7b2f9]
4: parted(interactive_mode+0x120) [0x55aff5a80ff0]
3: parted(main+0x1386) [0x55aff5a7a176]
2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fd8a7dda830]
1: parted(_start+0x29) [0x55aff5a7a1d9]

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 (3.2)
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 (part->disk->dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0) at ../../../libparted/labels/dos.c:589 in function
probe_filesystem_for_geom() failed.

Aborted (core dumped)
owner@$:15:~$

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s