Advertisement
Guest User

RHEL6 / CentOS6 XFS Root Install Patch

a guest
Jul 20th, 2011
637
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.88 KB | None | 0 0
  1. Apply this to your install.img squashfs to get XFS root install in RHEL6 / CentOS 6. Thanks for nothing, RedHat. >:(
  2.  
  3. --
  4.  
  5. diff -r tmp/usr/lib/anaconda/platform.py new/usr/lib/anaconda/platform.py
  6. 196c196
  7. <     _bootFSTypes = ["ext4", "ext3", "ext2"]
  8. ---
  9. >     _bootFSTypes = ["xfs", "ext4", "ext3", "ext2"]
  10. 485c485
  11. <     _bootFSTypes = ["ext4", "ext3", "ext2"]
  12. ---
  13. >     _bootFSTypes = ["xfs", "ext4", "ext3", "ext2"]
  14. diff -r tmp/usr/lib/anaconda/storage/formats/fs.py new/usr/lib/anaconda/storage/formats/fs.py
  15. 1240a1241
  16. >     _bootable = True
  17. diff -r tmp/usr/lib/anaconda/storage/__init__.py new/usr/lib/anaconda/storage/__init__.py
  18. 972,976d971
  19. <         if root and root.format.type == "xfs":
  20. <             errors.append(_("Placing the root partition on an XFS "
  21. <                             "filesystem is not supported in %s.") %
  22. <                           productName)
  23. <
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement