slitaz-forge annotate mixer/README @ rev 556

arm: tiny edits
author Paul Issott <paul@slitaz.org>
date Sat May 10 19:14:49 2014 +0100 (2014-05-10)
parents 0ed562cd2732
children f974819085be
rev   line source
pankso@440 1 README for Mixer - SliTaz mixed services server
pankso@440 2 ===============================================================================
pankso@440 3
pankso@440 4
paul@442 5 Mixer is used to host some SliTaz subprojects and end user services.
pankso@440 6
pankso@440 7 IP: 91.121.94.143
pankso@440 8
pankso@440 9
pankso@440 10 Mixer install
pankso@440 11 -------------
pankso@440 12 We use a subroot install and all Slitaz files are in: /slitaz. A SliTaz
paul@442 13 cooking base is used. The initrd.gz is compressed with gzip and has a
pankso@440 14 Pascal custom /init script to allow subroot boot.
pankso@440 15
pankso@440 16 On Tank:
pankso@440 17 --------
pankso@440 18 # conspy -f 4
pankso@440 19 # cookiso gen --flavors=base --version=cooking
pankso@440 20 BUG: slitaz-base.iso is not found and copied into /home/slitaz/iso
pankso@440 21 FIX: mv /home/slitaz/cooking/slitaz-base.iso \
pankso@440 22 /home/slitaz/iso/slitaz-cooking-base.iso
pankso@440 23
pankso@440 24 ESC ESC ESC
pankso@440 25 # scp /home/slitaz/cooking/iso/slitaz-cooking-base.iso \
pankso@440 26 root@mixer.slitaz.org:/root
pankso@440 27
pankso@440 28 On Mixer:
pankso@440 29 ---------
pankso@440 30 # mount -o loop slitaz-base.iso /mnt
pankso@440 31 # mkdir -p /slitaz/boot
pankso@440 32 # cp /mnt/boot/vmlinuz-* /slitaz/boot
pankso@440 33 # cp /mnt/boot/rootfs.gz /slitaz
pankso@440 34 # cd slitaz
pankso@440 35 # unlzma < rootfs.gz | cpio -idm
pankso@440 36 or:
pankso@440 37 # cat rootfs.gz | unlzma | cpio -idmu
pankso@440 38
pankso@440 39 The initrd.gz: with /init to handle subroot= option
pankso@440 40
pankso@440 41 # mkdir /root/initrd
pankso@440 42 # mv init /root/initrd
pankso@440 43 # cd /root/initrd
pankso@440 44 # find . -print | cpio -o -H newc | gzip -9 > ../initrd.gz
pankso@440 45 # cd .. && cp initrd.gz /slitaz
pankso@440 46
pankso@441 47 Add SliTaz GRUB Entry and change: set default="1"
pankso@441 48
pankso@441 49 $ cat >> /boot/grub/grub.cfg << EOT
pankso@440 50
pankso@440 51 menuentry "SliTaz GNU/Linux Cooking (Kernel 3.2.53-slitaz)" {
pankso@440 52 insmod part_msdos
pankso@440 53 insmod btrfs
pankso@440 54 set root='(/dev/sda1)'
pankso@440 55 search --no-floppy --fs-uuid --set=root 21c87a8a-a004-4270-adb2-be1295547e0b
pankso@440 56 linux /slitaz/boot/vmlinuz-3.2.53-slitaz root=/dev/null mount=/dev/sda1 subroot=slitaz panic=60 sound=noconf quiet
pankso@440 57 initrd /slitaz/initrd.gz
pankso@440 58 }
pankso@440 59
pankso@441 60 EOT
pankso@441 61
pankso@440 62 ===============================================================================