Make remastersys compatible with Karmic's USB Startup Disk Creator.

Comments Off

Update: Per this discussion on the remastersys forums, my fix will be included in remastersys 2.0.14.

This week, I was using remastersys to create a custom ubuntu-based distribution (more info on this later). One of the things that I noticed about remastersys version 2.0.13-1 was it’s lack of compatibility with Ubuntu’s USB Startup Disk Creator utility.

I have created a simple patch to address the issue. You can download it at http://www.imagitronics.org/download/ubuntu_creator.patch.

Alternatively, you can edit the file /usr/bin/remastersys and insert the following code immediately before Step 7.

#Step 6.5 - Added by Tim Farley. Make ISO compatible with Ubuntu Startup Disk Creator (Karmic).
echo "Making disk compatible with Ubuntu Startup Disk Creator."
touch $WORKDIR/ISOTMP/ubuntu
touch $WORKDIR/ISOTMP/.disk/base_installable
echo "full_cd/single" > $WORKDIR/ISOTMP/.disk/cd_type
echo $(uname -a) > $WORKDIR/ISOTMP/.disk/info
if [ "$LIVECDURL" = "" ]; then
LIVECDURL="<a href="http://www.geekconnection.org/remastersys" target="_blank">http://www.geekconnection.org/remastersys</a>"
fi
echo $LIVECDURL > $WORKDIR/ISOTMP/.disk/release_notes_url

This version allows you to set an addition variable in your /etc/remastersys.conf called LIVECDURL that points to the address of your custom distribution. The LIVECDURL variable defaults to the remastersys homepage if left unset.

Enjoy!

Tim

Comments are closed.

imagitronics.org is Digg proof thanks to caching by WP Super Cache