root@ample-cactus:~# parted /dev/sda mkfs 1 fat16
WARNING: you are attempting to use parted to operate on (mkfs) a file system.
parted's file system manipulation code is not as robust as what you'll find in
dedicated, file-system-specific packages like e2fsprogs. We recommend
you use parted only to manipulate partition tables, whenever possible.
Support for performing most operations on most types of file systems
will be removed in an upcoming release.
Warning: The existing file system will be destroyed and all data on the partition will be lost. Do you want to continue?
parted: invalid token: 1
Yes/No? Yes
Partition number? 1
File system type? [ext2]? fat16
Backtrace has 9 calls on stack:
9: /lib/x86_64-linux-gnu/libparted.so.0(ped_assert+0x31) [0x7ffa7964c4b1]
8: /lib/x86_64-linux-gnu/libparted.so.0(+0x25d53) [0x7ffa79662d53]
7: /lib/x86_64-linux-gnu/libparted.so.0(fat_create+0x189) [0x7ffa79665fd9]
6: /lib/x86_64-linux-gnu/libparted.so.0(ped_file_system_create+0x51) [0x7ffa7964def1]
5: parted() [0x4083b1]
4: parted(non_interactive_mode+0x8f) [0x40dc5f]
3: parted(main+0x146d) [0x4064ed]
2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7ffa78e2aec5]
1: parted() [0x406617]
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:
I can make
# mkfs.vfat /dev/sda1
and mount the device, but if try to make
# parted /dev/sda 1 [fat16/ fat32/ext2/ ..]
i get this message:
root@ample- cactus: ~# parted /dev/sda mkfs 1 fat16 specific packages like e2fsprogs. We recommend 64-linux- gnu/libparted. so.0(ped_ assert+ 0x31) [0x7ffa7964c4b1] 64-linux- gnu/libparted. so.0(+0x25d53) [0x7ffa79662d53] 64-linux- gnu/libparted. so.0(fat_ create+ 0x189) [0x7ffa79665fd9] 64-linux- gnu/libparted. so.0(ped_ file_system_ create+ 0x51) [0x7ffa7964def1] non_interactive _mode+0x8f) [0x40dc5f] 64-linux- gnu/libc. so.6(__ libc_start_ main+0xf5) [0x7ffa78e2aec5]
WARNING: you are attempting to use parted to operate on (mkfs) a file system.
parted's file system manipulation code is not as robust as what you'll find in
dedicated, file-system-
you use parted only to manipulate partition tables, whenever possible.
Support for performing most operations on most types of file systems
will be removed in an upcoming release.
Warning: The existing file system will be destroyed and all data on the partition will be lost. Do you want to continue?
parted: invalid token: 1
Yes/No? Yes
Partition number? 1
File system type? [ext2]? fat16
Backtrace has 9 calls on stack:
9: /lib/x86_
8: /lib/x86_
7: /lib/x86_
6: /lib/x86_
5: parted() [0x4083b1]
4: parted(
3: parted(main+0x146d) [0x4064ed]
2: /lib/x86_
1: parted() [0x406617]
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 (bs != NULL) at ../../. ./../libparted/ fs/fat/ bootsector. c:282 in function fat_boot_ sector_ set_boot_ code() failed.
Aborted (core dumped)