Quoth The Maven


About
Quoth The Maven, Yet another Blosxom blog.



Subscribe
Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.

Flavours
There's more than one way to view this weblog; try these flavours on for size.

Links
These are a few of my favourite links.


Wed, 11 Jan 2006

Hacking Anaconda
Kicking myself for forgetting, I just had to spend an hour re-remembering how to properly hack the Red Hat / Fedora installer known as anaconda. Here it is so I won't have to kick myself again:

$ mkdir temp1
$ sudo mount -o loop netstg2.img temp1/
$ cp -a temp1/ temp2/
Then patch temp2/ or make whatever changes you need:
$ mkcramfs temp2/ netstg2-patched.img
$ sudo umount temp1
$ rm -fr temp1/ temp2/
However, I discovered something new. The image has grown so large that older/pristine releases of util-linux hit the MAXENTRIES hard limit in mkcramfs. The trick is to use a more recent build that incorporates the patch written for bug 171337.

[/curtis/src] permanent link