slitaz-forge view mixer/README @ rev 718

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