relinux & (k)ubuntu 12.04 – custom username/hostname and other obstacles

Thursday, 12. April 2012

it seems that relinux needs a major rework to function properly on 12.04 ( afaik the team knows about this and is already working)

 

for relinux “iso” to work i had to write the following lines into a terminal first:

sudo bash
WORKDIR=/home/relinux
rm -rf $WORKDIR
mkdir -p $WORKDIR/ISOTMP/casper
mkdir -p $WORKDIR/ISOTMP/preseed
mkdir -p $WORKDIR/dummysys/dev
mkdir -p $WORKDIR/dummysys/etc
mkdir -p $WORKDIR/dummysys/proc
mkdir -p $WORKDIR/dummysys/tmp
mkdir -p $WORKDIR/dummysys/sys
mkdir -p $WORKDIR/dummysys/mnt
mkdir -p $WORKDIR/dummysys/media/cdrom
mkdir -p $WORKDIR/dummysys/var
chmod ug+rwx,o+rwt $WORKDIR/dummysys/tmp

 

because of a recent change in CASPER it tries to determine username and hostname in a really bad way that leads to errors .. (it takes the livecd lable for username AND hostname or something like that)

 i therefore had to hardcode USERNAME and HOST in 

/usr/share/initramfs-tools/scripts/casper (lines 692-693)

 

today i encountered a new problem :  

vesamenu.c32: Not a COM32R image

in order to solve this problem i had to overwrite the file “vesamenu.32”  located in /syslinux/  on the usb thumbdrive with the original file located in  /usr/lib/syslinux/  on my “relinux” system. 

 

 

Comments are closed.