-
Search Results
-
Based on antiX-21-net-runit-sid_x64-net.iso I have built a small rescue system in VirtualBox.
Windowmanager is Openbox with tint2, spacefm, udevil, lxdm – no elogind, polkitd, policykit-1 or gvfs.
To my suprise using this simple system does not feel limited. Only the choice of software is a little limited. because of (often unnecessary) dependencies from policykit-1.In VirtualBox the system is stable, fast, responsive and does not show any problems, except odd behavior at wakeup from suspend. Snapshots can be made with iso-snapshot and are bootable. So far I have encoutered 3 problems only:
(1) The iso-snapshots have access to the network, but not to the internet. The cause is simple: resolv.conf is missing. Instead there is a link to non existing /run/resolvconf/resolv.conf
If I create /etc/resolv.conf manually, internet is working fine.
Does this problem happen because iso-snapshot is configured to work with sysvinit?(2) sudo pm-suspend does work, but the system freezes on wakeup. Maybe runit services for X environment are needed, but unfortunately they cannot be installed (–>3).
(3) Further runit services cannot be installed.
(3a) runit-services-core-antix is in conflict with dbus:
root@antix1:~# apt install runit-services-core-antix [...] Unpacking runit-services-core-antix (0.1.9) ... dpkg: error processing archive /var/cache/apt/archives/runit-services-core-antix_0.1.9_all.deb (--unpack): trying to overwrite '/usr/share/runit/sv/dbus/check', which is also in package dbus 1.14.0-1.0nosystemd1 Errors were encountered while processing: /var/cache/apt/archives/runit-services-core-antix_0.1.9_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Turning dbus down does not help.
Removing dbus does not lool like a good idea eitherroot@antix1:~# apt remove dbus [...] The following packages were automatically installed and are no longer required: dbus-system-bus-common libopenconnect5 libpcsclite1 libpskc0 libstoken1 libtomcrypt1 libtommath1 libtss2-esys-3.0.2-0 libtss2-mu0 libtss2-sys1 libtss2-tcti-cmd0 libtss2-tcti-device0 libtss2-tcti-mssim0 libtss2-tcti-swtpm0 libtss2-tctildr0 libxmlsec1 libxmlsec1-openssl python3-dbus tpm-udev Use 'apt autoremove' to remove them. The following packages will be REMOVED: connman connman-gtk dbus smart-notifier upower 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
Maybe the runit-services must be installed before dbus and other stuff.
If that is the case I suggest to include all runit services in any antiX-runit-iso. These packages are so small anyhow. Not needed services can be turned down instead.Is there a way to resolve this conflict?
I am even unsure, if I need any further runit services. Except suspend the system is ok as it is.(3b) runit-services-full-antix is going to remove cups. That is not as bad as dbus but still annoying.
root@antix1:~# apt install -s runit-services-full-antix Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: cups-core-drivers cups-daemon cups-filters cups-filters-core-drivers cups-ipp-utils cups-server-common libfontembed1 libpoppler-cpp0v5 libqpdf28 ssl-cert Use 'apt autoremove' to remove them. The following additional packages will be installed: runit-services-base-antix runit-services-core-antix The following packages will be REMOVED: cups printer-driver-cups-pdf The following NEW packages will be installed: runit-services-base-antix runit-services-core-antix runit-services-full-antix 0 upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
- This topic was modified 10 months, 2 weeks ago by Xaver.
I don’t have a computer that can run applications like rufus, and I tried to extract an iso into my USB, It didn’t work. I also tried to make it bootable using fdisk, but it didn’t work either. With the computer I can still use some Linux commands, not all (I can’t run apt-get etc. but I can run wget, fdisk and more). I’m sorry if this is a really stupid question
- This topic was modified 10 months, 3 weeks ago by xyompltrine.
Recently, I booted a VirtualBox VM with a 2GB virtual disk from an antiX iso, ran the installer and found it requires about 4GB. That made me think about a frugal install and other ways of running antiX in a VM.
1. Frugal install of antiX in VM
After a lot of trial and error, I came up with these steps. Please suggest improvements.
Create a vm with 2GB virtual hard disk. In System/Extended features, EFI should not be enabled. Boot from an antiX iso.
In a terminal on the VM:su gparted # create a dos partition table on sda, format to ext4, set boot flag mkdir /mnt/sda1 ; mount /dev/sda1 /mnt/sda1 mkdir /mnt/sda1/boot extlinux -i /mnt/sda1/boot cat /usr/lib/SYSLINUX/mbr.bin > /dev/sda rsync -a /live/boot-dev/boot/syslinux /mnt/sda1/boot rsync -a /live/boot-dev/antiX /mnt/sda1 geany /mnt/sda1/boot/syslinux/syslinux.cfg # change UI line to simple text menu: UI menu.c32 # Add "from=hd" to the APPEND line of the first entry # delete the other entries # save rebootPersistence
I don’t know how to preserve existing rootfs and homefs in this process, so for a customized VM, I remastered and copied the remastered linuxfs and linuxfs.md5 into /mnt/sda1/antiX instead of the ones from the iso. Persistence in the VM can be set up via the Control Centre; also add “persist_all” to APPEND line in syslinux.cfg.2. Clone a live flash drive in a VM
This is not as frugal but it retains nice antiX boot menus and persistence.
Make a VM with a large enough virtual disk and boot from iso. Mount the flash drive in the VM.
Use gparted to
–make msdos partition table on sda
–unmount the flash drive ext4 partition, copy it and paste it to sda
–set the boot flag on sda1
cat mbr.bin to sda as above. Reboot without iso; in boot menu choose F5: persist option if desired, F8: save and add “from=hd” to the Boot options. Reboot the VM to a clone of the live flash drive, with persistence.3. Boot VM from a live flash drive
https://www.howtogeek.com/187721/how-to-boot-from-a-usb-drive-in-virtualbox
Create a sort of link to the live flash drive (sdb):
$> VBoxManage internalcommands createrawvmdk -filename flash_drive.vmdk -rawdisk /dev/sdb
Create a VM, use Settings to attach flash_drive.vmdk as sata storage, start the VM, add “from=all” to boot options and F8: saveI hope some of this will be useful. Nothing worked the first time, but that’s just me :/
This was done using antiX-21_x64 on artix host machine.- This topic was modified 10 months, 3 weeks ago by Vincent17.
- This topic was modified 10 months, 3 weeks ago by Vincent17.