Displaying 1 result from an estimated 1 matches for "set_part".
Did you mean:
set_cart
2010 Oct 06
1
Bug#599243: xen-utils-4.0: pygrub does not understand grub2 partition types (e.g. (hd0, msdos1) instead of (hd0, 1))
...rub/GrubConf.py", line 104, in set_root
self._root = GrubDiskPart(val)
File "/usr/lib/xen-4.0/lib/python/grub/GrubConf.py", line 55, in __init__
(self.disk, self.part) = str.split(",", 2)
File "/usr/lib/xen-4.0/lib/python/grub/GrubConf.py", line 80, in set_part
self._part = int(val)
ValueError: invalid literal for int() with base 10: 'msdos1'
Newer versions of grub2 support the use of named partition types (such as msdos1),
and pygrub needs to deal with these (since the Debian scripts now generate device
specifications with named partition ty...