SliTaz SliTaz Forum

You are not logged in.

#26 2023-10-23 09:52:25

Swarm
Member
Registered: 2023-10-19
Posts: 17

Re: Please tell me which image I need to choose?

Could you advise me on an "ISO" with that I can use to meet the conditions listed below, even with a desktop?

1. Maximally fast booting from an ISO image!

2. Allows booting without prompting for a password and login!

3. Ability to add in to start up a bash script, for example, "Hello world!"

This is needed to quickly roll back the system on Btrfs from Grub2 menu. I will write a bash script that will sort all available Btrfs snapshots on the specified disk partition, then delete the root subvolume and, if necessary, the home subvolume, replacing them with the selected subvolumes.

Offline

#27 2023-10-23 14:14:23

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

Re: Please tell me which image I need to choose?

[*]Maximally fast booting is with vmlinuz and rootfs on the hard disk.

[*]Unfortunately I don't see any solution; when you tried slitaz-rolling-core64.iso, it seems you booted in console instead in graphic mode. I think the kernel is too old for your computer (how old is your computer?) or maybe you need to install a driver but I don't have many hope hmm , SliTaz doesn't run in graphic mode on my more recent computer too sad .

Install the [c]pciutils[/c] package ([c]tazpkg -gi pciutils[/c] and post the return of the command [c]lspci[/c].

[*]maybe a solution: depending of what your script(*) does you could write it in [c]/etc/init.d/local.sh[/c]; this script is executed during the boot after the network is started and before to launch X:

...
udhcpc: lease of 192.168.42.67 obtained, lease time 3600
Processing /etc/init.d/local.sh
Starting X environment...
Starting message bus daemon: DBUS...                                  [ Done ]
Starting all daemons...
Setting up kernel security rules...                                   [ Done ]
WARNING: IPtables rules are disabled
Starting inetd daemon: inetd...                                       [ Done ]
Starting ntpd daemon: ntpd...                                         [ Done ]

Welcome to your box

(*) Note SliTaz uses by default the shell of Busybox; if your script needs absolutely Bash you'll have to install it:

[c]tazpkg -gi bash[/c]

Offline

#28 2023-10-23 14:25:25

Swarm
Member
Registered: 2023-10-19
Posts: 17

Re: Please tell me which image I need to choose?

Thanks for the help! I will then create my own image based on Archlinux ...

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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