CentOS 5.7 and XFS file system

General support questions including new installations
Post Reply
Posts: 41
Joined: 2005/05/19 19:03:40

CentOS 5.7 and XFS file system

Post by sudoyang » 2012/02/28 22:44:33

CentOS 5.7 doesn't include the user-land tools (mkfs.xfs) to create file system during kick. Furthermore, any modification to stage2.img renders it unusable. During installation, it errors with "The CentOS installation tree in that directory does not seem to match your boot media" if any change is made to stage2.img. Obviously, the proper way to add XFS support during kick would be to respin CentOS but that's a lot of work just to add two files into stage2.img. Is there a way to disable this check?

I looked in minstg2.img and stage2.img but I can't seem to find that string (or subset of that string). I was thinking that I could simply disable the code that does that check. This should be easier than having to respin CentOS 5.7.

Does anyone know what's doing that check and how it's doing it? Any help would be appreciated.


Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: CentOS 5.7 and XFS file system

Post by pschaff » 2012/03/03 10:31:16

A quick google on [url=http://www.google.com/search?q=xfs+kickstart+centos-5&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:unofficial&client=firefox-a]xfs kickstart centos-5[/url] turns up articles such as [url=http://www.couyon.net/1/post/2011/06/making-xfs-volumes-in-centos-5455-kickstart.html]this[/url]. Hacking Anaconda is unlikely to find much support here - certainly outside my domain of knowledge.

Post Reply

Return to “CentOS 5 - General Support”