Skip to content

Instantly share code, notes, and snippets.

@lots0logs
Created January 23, 2014 22:11
Show Gist options
  • Save lots0logs/8587869 to your computer and use it in GitHub Desktop.
Save lots0logs/8587869 to your computer and use it in GitHub Desktop.
Parted error 1/23/13
ERROR: /dev/sda: unrecognised disk label
Traceback (most recent call last):
File "/usr/share/cnchi/src/parted3/partition_module.py", line 99, in get_devices
diskob = parted.Disk(dev)
File "/usr/lib/python3.3/site-packages/parted/decorators.py", line 41, in new
ret = fn(*args, **kwds)
File "/usr/lib/python3.3/site-packages/parted/disk.py", line 56, in __init__
self.__disk = _ped.Disk(device.getPedDevice())
_ped.DiskLabelException: /dev/sda: unrecognised disk label
@karasu
Copy link

karasu commented Jan 24, 2014

I introduced a new bug while I was trying to fix another one, sorry for this. It should be fixed now (I'm off to work, I'll test it later)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment