My summary record on setting flash-card slitaz-4.0 persistent and frugal + grub2 loader.
0. Thanks participants of a forum and to developers for the help and patience (especially mojo and christophe).
1. The system couldn't define Atheros AR81xx network interface card, therefore the Internet missed.
2. Then I have installed on DVD-ROM packages-4.0.iso (~3.2GB), have booted from this disk
and at once has installed programs necessary for me.
3. Has read at a forum about driver adjustment atheros-atl1c and has made a script/etc/atheros-atl1c
4. Has adjusted the upper and lower panels - has added the buttons necessary to me and has saved the file rootfs.gz
5. For the creation rootfs.gz it is necessary to select only lzma-compression, it is useful
for various reasons. Desktop -> RightMouseButton, Slitaz Live -> TazUSB Wtitefs (lzma)
6. To prepare flash-card it is possible both in slitaz and in other OS - to whom that is pleasant.
7. To divide space flash-card it is possible differently but if you 8 GB or have more it is possible so:
1 - FAT32 (1-2 GB) - win32-share,
2 - ext3 (3-4 GB) - slitaz root,
3 - ext3 (3-4 GB) - slitas home. My summary record on setting flash-card slitaz-4.0 persistent & frugal + grub2 loader.
8. To install grub2 for example from ubuntu instead of from slitaz (slitaz has only grub4dos if I am not mistaken)
~ $ sudo mount/dev/sdb2/mnt
~ $ sudo grub-install - root-directory =/mnt/dev/sdb
Installation finished. No error reported.
~ $ sudo grub-mkconfig-o/mnt/boot/grub/grub.cfg
Generating grub.cfg...
Found linux image:/boot/vmlinuz-2.6.32-43-generic
Found initrd image:/boot/initrd.img-2.6.32-43-generic
.........
Found Ubuntu 10.04.4 LTS (10.04) on/dev/sda2
done
~ $ sudo umount/mnt
The loader grub2 is installed on MBR all disk (instead of on section).
It is created grub.cfg which later should be corrected hands, for example so:
Here: set root = (hd0,2) - mine linux-ubuntu section on HDD the having loader grub2
(Probably this line isn't mandatory, but I didn't begin to remove it, it doesn't hinder),
root=624c55c6-...-4262f4fa4cc7 - 2nd section slitaz root on flash-card,
home=5c64c86a-...-2b6bd61ece72 - 3rd section slitaz home on flash-card,
Certainly at you numbers will others, you from receive a terminal command ~ $ sudo blkid
In the latter case loading frugal-mode from my file rootfsSNK3.gz is fulfilled
Thus from one disk it is possible to load slitaz as persistent-mode and frugal-mode
9. To install full (as at big linux'es) OS slitaz-4.0 on flash-card from slitaz-frugal environment:
# mkdir/mnt/target
# mount/dev/hda2/mnt/target
Further under the link: http://d oc.slitaz.org/en:handbook:installation
(Manual (' By Hand ') Installation)
Where all is very detailed and is clearly written,
I will mark only that a line: lzma d rootfs.gz-so | cpio-id
will work ONLY with rootfs.gz packed in a format lzma,
In /mnt/target/boot/ place bzImage or vmlinuz-2.6.37-slitaz (this same),
To unpack in /mnt/target/ it is possible rootfs.gz or any other yours rootfs-XXXX.gz
10. At OS slitaz it is a lot of advantages, but I will select only three of them, important for me:
- Ability to work with various loaders (I will not enumerate),
- Setting and OS in frugal-mode and persistent-mode,
- The possibility of operation declared by developers with strangers for system
software packages *.deb and *.rpm
11. And if the first 2 points with the biger or smaller success dare in many small linux'es,
that 3rd point is deduced by OS slitaz from a vicious circle sectarian linux,
the packets shorted on the format and on the repository, it very much an important point for development.
Remarks:
1. Setting slitaz persistent-mode I have started to see real productivity
systems and to understand possibility of its usage on the mobile devices restricted in the RAM size.
2. Frugal-mode it is certainly remarkable, but it is necessary to remember that many programs
the configuration both after setting and in the course of usage demand.
Not always there is a possibility to write down configuration files of programs on exterior carriers.
3. Links on a subject:
http://doc.slitaz.org/en:handbook:installation
http://forum.slitaz.org/topic/problems-installing-slitaz-4-to-hdd
http://forum.slitaz.org/topic/install-on-harddisk-kernel-panic
http://forum.slitaz.org/topic/atheros-8151
Screenshots: