erhnam Wrote:No I didn't change anything to the boot process. The only thing I changed is the runXBMC bootscript. I added some stuff with apt-get to the environment. It's not so hard but here you go!
A short howto:
Code:
#mount livecd
mkdir /tmp/livecd
sudo mount -o loop xbmc-live-9.11-b1.iso /tmp/livecd
#copy livecd
mkdir ~/livecd
mkdir ~/livecd/cd
rsync --exclude=/live/filesystem.squashfs -a /tmp/livecd/ ~/livecd/cd
#create squashfs temp
mkdir ~/livecd/edit
cd ~/livecd
cp /tmp/livecd/live/filesystem.squashfs .
#unpack the squashfs filesystem
sudo unsquashfs filesystem.squashfs
#chroot the squashfs
sudo chroot squashfs-root/
mount -t proc none /proc
mount -t sysfs none /sys
mount -t devpts none /dev/pts
export HOME=/root
export LC_ALL=C
#change things
you are now in the minimal environment. Add/change stuff, do everything you like! Continue with the next section when ready.
#cleanup and unmount
apt-get clean
rm -rf /tmp/* ~/.bash_history
umount /proc
umount /sys
umount /dev/pts
exit
#repackage the filesystem
sudo mksquashfs squashfs-root/ filesystem.squashfs
#copy the filesystem back to the livecd
cp filesystem.squashfs ~/livecd/cd/live
#regenerate md5sum.txt
cd ~/livecd/cd
rm md5sum.txt
find -type f -print0 | xargs -0 md5sum | grep -v isolinux/boot.cat | tee md5sum.txt
#create iso
sudo pico ~/livecd/cd/README.diskdefines
cd ~/livecd/cd
sudo mkisofs -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -V "$IMAGE_NAME" -cache-inodes -r -J -l -o ../custom.iso .
#unmount livecd
sudo umount /tmp/livecd
sudo rm -rf /tmp/livecd
At the moment I'm working on something else. I want to integrate boxee into the xbmc 9.11 livecd. Maybe create a dual-boot.
A much better approach would be to use debian-live: http://debian-live.alioth.debian.org/
hi,
so i can do this steps and my configured xbmc on hdd is at last on the cd-iso

greetz muggi

![[Image: emcd_mc360.png]](http://www.majhost.com/gallery/Ykcab/MC360/emcd_mc360.png)

Search
Help