SliTaz SliTaz Forum

You are not logged in.

#1 2023-12-11 20:00:50

SlitazLover
Member
Registered: 2023-10-16
Posts: 18

Issue about installing packages

Hello everyone, i want to install wine directly on my ssd card , is that posible? I mean, i don't whant that run from ram. Sorry for my English.

Slitaz is the best! Woohooo

Offline

#2 2023-12-11 20:43:59

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Issue about installing packages

Hello,

Is SliTaz installed on the SSD card?

Offline

#3 2023-12-12 04:25:28

SlitazLover
Member
Registered: 2023-10-16
Posts: 18

Re: Issue about installing packages

Hello Ceel, it's not installed, i use Slitaz whit ventoy.

Offline

#4 2023-12-12 07:24:18

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: Issue about installing packages

Hi SlitazLover,

Not sure you can do it ?

But think this guide can be help https://doc.slitaz.org/en:guides:lowramcd

With this, you can have custom iso with wine installed and rootfs running from cdrom to save memory can be use for run your app (could be on fs file in usb).

just example you will do (data.fs contain ext filesystem rw) :

mount /mnt/{usb}/data.fs /home/tux/.wine

Offline

#5 2023-12-12 09:50:36

SlitazLover
Member
Registered: 2023-10-16
Posts: 18

Re: Issue about installing packages

Hi Shann, i can't understand how thats tools work hehe. I mean, for example: i have my ssd card whit 3 partitions, first whit ISO files, documents, etc(fat32), second is ventoy exclusive, third is ex3 format. I can install wine in the thrd partition? Maybe using chroot? What do you thing?

Offline

#6 2023-12-12 12:33:43

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Issue about installing packages

Booting from Ventoy, you need to generate a new ISO with wine integrated in the rootfs.

Boot your ISO, install wine, then create the new iso using [c]tazlito writeiso lzma <your_new.iso>[/c].

See the TazLito manual.

Good luck!

Offline

#7 2023-12-12 17:41:47

SlitazLover
Member
Registered: 2023-10-16
Posts: 18

Re: Issue about installing packages

Hi Ceel, thanks! Actualy tazlito don't whork for me on Slitaz rolling, i use this script to save my changes:

#!/bin/sh

#Variables

fecha=$(date +%y-%m-%d_%H.%M)

nombreISO="slitaz_${fecha}.iso"

clear

echo "Guardando configuracion.."

tazusb writefs lzma

mkdir -p /home/slitaz/hacked

mkdir -p /home/slitaz/src

cd /home/slitaz/hacked

mkdir /tmp/loop

mount -o loop /media/VENTOY/BOOTISOS/slitaz_core.iso /tmp/loop

mkdir rootcd

cp -a /tmp/loop/* rootcd

umount /tmp/loop

cp -a /rootfs.gz rootcd/boot

genisoimage -R -o $nombreISO -b boot/isolinux/isolinux.bin \

   -c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 \

   -V "SliTaz-ES" -input-charset iso8859-1 -boot-info-table rootcd

I want to install packages (whitout compresión) out of the iso, in one partition or folder. Maybe it's not posible whit the Slitaz tools, but i Will find the answer hehe.

Offline

#8 2023-12-13 11:31:42

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Issue about installing packages

Not sure to understand clearly what you are trying to do. What do you mean by

I want to install packages (whitout compresión) out of the iso, in one partition or folder

SliTaz doesn't allow to load/unload apps on the fly like on some modular distros.

It exists a way to have apps installed at boot without having them in the ISO, activating the persistence mode. For example, if you want that wine is installed at boot:

[*]create a directory [c]/boot/packages[/c] on an external media (or a partition of your HD), say a USB stick;

[*]copy in this directory the wine package and all its dependencies that are not already in the ISO;

[*]boot from Ventoy and when the SliTaz menu displays, hit the [TAB] key to add the boot parameter [c]home=[/c] at the entry: if the media where you stored the [c].tazpkg[/c] will be seen as [c]sdb1[/c], add [c]home=/dev/sdb1[/c] (you can also use its UUID to declare the [c]/home[/c] partition)

Hit [Enter] to valid; SliTaz will install the [c].tazpkg[/c] during the boot, and will create (or use if it already exists) a [c]/tux[/c] directory in the root of the media where the documents and the configuration of the tux user will be saved.

Offline

#9 2023-12-13 19:03:03

SlitazLover
Member
Registered: 2023-10-16
Posts: 18

Re: Issue about installing packages

Hi Ceel, check this, is exaxtly what i mean:

https://forum.slitaz.org/topic/my-rootfsgz-has-gone-too-large#post-5737

I'm gonna try it!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]