|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
[Xen-users] Problems with pygrub: ValueError: unable to open file &	FC5 
 
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-users] Problems with pygrub: ValueError: unable to open file &	FC5 - solution,
Adam Doligalski <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |