Adam Doligalski
2006-Apr-10 23:14 UTC
[Xen-users] Problems with pygrub: ValueError: unable to open file & FC5 - solution
Hello everyone,
I faced mentioned (in subject) problem today. I made some debugging -
and found error ind ext2module.c code (it still exists in 3.0.2). In FC5
one should just unpack Xen, patch file, change directory to tools/pygrub
and reinstall pygrub''s helper library.
It worked for me.
Here the patch follows.
--- ext2module.c.orig 2006-04-10 23:18:00.000000000 +0200
+++ ext2module.c 2006-04-10 23:35:18.000000000 +0200
@@ -230,6 +230,8 @@
#ifdef HAVE_EXT2FS_OPEN2
if (offset != 0) {
snprintf(offsetopt, 29, "offset=%d", offset);
+ } else {
+ offsetopt[0] = 0;
}
err = ext2fs_open2(name, offsetopt, flags, superblock, block_size,
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Maybe Matching Threads
- problems with tools/pygrub/setup.py and xen/xm/main.py
- Re: [Xen-changelog] Tweak to pygrub build config detection.
- xen create - Unexpected error: exceptions.ValueError
- xm create issues (ValueError)
- PXE ValueError: new value non-existent xfs filesystem is not valid as a default fs type
