slitaz-forge rev 440

Add mixer.slitaz.org README
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 25 12:51:02 2014 +0100 (2014-01-25)
parents 278e081949fa
children 0ed562cd2732
files mixer/README
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mixer/README	Sat Jan 25 12:51:02 2014 +0100
     1.3 @@ -0,0 +1,58 @@
     1.4 +README for Mixer - SliTaz mixed services server
     1.5 +===============================================================================
     1.6 +
     1.7 +
     1.8 +Mixer is used to host some SliTaz subproject and end users services.
     1.9 +
    1.10 +IP: 91.121.94.143
    1.11 +
    1.12 +
    1.13 +Mixer install
    1.14 +-------------
    1.15 +We use a subroot install and all Slitaz files are in: /slitaz. A SliTaz 
    1.16 +cooking base is used. The initrd.gz is compressed with gzip and have 
    1.17 +Pascal custom /init script to allow subroot boot.
    1.18 +
    1.19 +On Tank:
    1.20 +--------
    1.21 +# conspy -f 4
    1.22 +# cookiso gen --flavors=base --version=cooking
    1.23 +BUG: slitaz-base.iso is not found and copied into /home/slitaz/iso
    1.24 +FIX: mv /home/slitaz/cooking/slitaz-base.iso \
    1.25 +	/home/slitaz/iso/slitaz-cooking-base.iso
    1.26 +
    1.27 +ESC ESC ESC
    1.28 +# scp /home/slitaz/cooking/iso/slitaz-cooking-base.iso \
    1.29 +	root@mixer.slitaz.org:/root
    1.30 +
    1.31 +On Mixer:
    1.32 +---------
    1.33 +# mount -o loop slitaz-base.iso /mnt
    1.34 +# mkdir -p /slitaz/boot
    1.35 +# cp /mnt/boot/vmlinuz-* /slitaz/boot
    1.36 +# cp /mnt/boot/rootfs.gz /slitaz
    1.37 +# cd slitaz
    1.38 +# unlzma < rootfs.gz | cpio -idm
    1.39 +or:
    1.40 +# cat rootfs.gz | unlzma | cpio -idmu
    1.41 +
    1.42 +The initrd.gz: with /init to handle subroot= option
    1.43 +
    1.44 +# mkdir /root/initrd
    1.45 +# mv init /root/initrd
    1.46 +# cd /root/initrd
    1.47 +# find . -print | cpio -o -H newc | gzip -9 > ../initrd.gz
    1.48 +# cd .. && cp initrd.gz /slitaz
    1.49 +
    1.50 +Replace Debian GRUB Entry: nano /boot/grub/grub.cfg
    1.51 +
    1.52 +menuentry "SliTaz GNU/Linux Cooking (Kernel 3.2.53-slitaz)" {
    1.53 +	insmod part_msdos
    1.54 +	insmod btrfs
    1.55 +	set root='(/dev/sda1)'
    1.56 +	search --no-floppy --fs-uuid --set=root 21c87a8a-a004-4270-adb2-be1295547e0b
    1.57 +	linux /slitaz/boot/vmlinuz-3.2.53-slitaz root=/dev/null mount=/dev/sda1 subroot=slitaz panic=60 sound=noconf quiet
    1.58 +	initrd /slitaz/initrd.gz
    1.59 +}
    1.60 +
    1.61 +===============================================================================