You are not logged in.

#1 2005-07-20 09:54:45

Riklaunim
Member
Registered: 2005-04-09
Posts: 106
Website

Make a LivCD using slax tools - sqashFS+UnionFS

SLAX is a liveCD based on slackware. It uses squashFS and unionFS which gives SLAX interesting features. You can get a script which will make you a liveCD with union/squash automaticly.

- get linux-live scripts from http://www.linux-live.org/ and untar it somewhere (/root)
- edit "config". Change the kernel name if you doesn't want to use the current one (uname -r), set "compress" to 0.
- edit runme.sh and change VMLINUZ=$ROOT/boot/vmlinuz to VMLINUZ=$ROOT/boot/vmlinuz26 (if you use 2.6.* Arch kernel, see /boot)
- go to livecd-tools/initrd/kernel-modules/ and change the 2.6.12.2 dir to 2.6.12-ARCH

- NOTE: current liveCD tools have squashfs and unionfs modules compiled for 2.6.12.2 kernel. IF you use other kernel you have to make modules for your kernel and place them in  livecd-tools/initrd/kernel-modules/kernel_name

- empty pacman cache pacman -Scc, remove unneded packages (pacman -Q will help)
- unmount tmpfs from /tmp and/or comment:

#tmpfs                  /tmp          tmpfs     defaults            0      0

in /etc/fstab (reboot to "see" the effects). Iso will be created in /tmp by default and by default Arch mounts RAM on /tmp so ISO won't fit unless you have > 1GB of RAM smile
- as root run runme.sh

You can use qemu to check the iso... if you use qemu, add kqemu kernel module to speed it up or you will see arch booting in 10 minuts or more smile PKGBUILDS are on AUR...

notes
- if you want a smaller ISO without things at /home /root /usr/src and so one, you can make a folder like /backup (in the main directory) and move files there before making an iso. They won't be included
- my test iso was 480-510MB from normal daily used arch install with some KDE + other packages.
- remove from arch DAEMONS list in /etc/rc.conf things that try to remount or chech "root filesystem" smile
- when you boot your CD and make some changes you can save them as *.mo module and IF the iso was burn as multisession CD then you can add that *.mo to the CD... the same for new apps smile see slax homepage for details.
- Arch cleanes /tmp on boot so if you leave your iso there... it will be deleted

Offline

#2 2005-07-20 10:55:29

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Make a LivCD using slax tools - sqashFS+UnionFS

Archie?

Offline

#3 2005-07-20 11:19:11

Riklaunim
Member
Registered: 2005-04-09
Posts: 106
Website

Re: Make a LivCD using slax tools - sqashFS+UnionFS

archie uses squash/union but those tools can liveCD most distros very easily

Offline

#4 2005-07-20 11:23:57

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Make a LivCD using slax tools - sqashFS+UnionFS

Riklaunim wrote:

archie uses squash/union but those tools can liveCD most distros very easily

Aye, but Archie is Arch... and about 100 times easier.

Offline

#5 2005-07-20 14:52:12

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,771

Re: Make a LivCD using slax tools - sqashFS+UnionFS

sure is 8)


Mr Green

Offline

Board footer

Powered by FluxBB