LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 01-19-2022, 06:32 AM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
making antix running on a raspberry pi4 via qemu


hello,

for starting an application available on x86 i386; pyilper, using Qt, available in anaconda too; and lifutils available as debian 32bits packages, and making it running on a raspberry pi4, I was thinking about starting antix on my pi4 (antix looks smaller than debian lxde etc.). These applications pyilper and lifutils dont have an ARM version.

Any advice is welcome...

a) what iso with graphic environment to use "antiX-21_386-core.iso" or the base version? (antix is not my daily distro for now)

b) what command parameters in qemu should be used for an antix desktop to run (lightweight; antix will only be used as a nest for pyilper and liftutils; no need for any other applications except the basic functionality of pyilper and liftutils which are communicating with serial drivers and exchanging data with a file in the PC).

If my project is weird and/or a nonsense, let me know (ok if it take 5min to boot; at the end, the pi4 will be used as storage device for an HP41 or HP71 and/or screen extension).

Another idea would be to start Win98 or XP via qemu on the pi4.. but Windows is not my preferred path for now. Example given there https://www.youtube.com/watch?v=2NI7...nnel=RickMakes
 
Old 01-19-2022, 08:14 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,144
Blog Entries: 21

Rep: Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482
Base at least comes with fluxbox and a lot of preinstalled libs.. Core iso. If you prefer dwm. You will have to install it.

Quote:
At the moment antiX-21 “Grup Yorum” comes as a full distro (c1.4GB), a base distro (<800MB), a core distro (c440MB) and a net distro (c180MB) for 32 bit and 64 bit computers. For those who wish to have total control over the install, use antiX-core or antiX-net and build up. Note that the net version will need an ethernet/wired connection.
Might wanna go with cli installer option also. I am a friend of Brian so I figure his blog should cover stuff.

https://brianmasinick.blogspot.com/2...ntix-core.html

runwiththedolphin on youtube has some videos also. Sorry. I don't handle qemu.

Last edited by rokytnji; 01-19-2022 at 08:16 AM.
 
Old 01-20-2022, 06:43 AM   #3
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Before I went into my raspberry PI4, I tested in my Debian11 64bits and made following (better/quicker hardware; I will transfer the solution to the pi4 later)

qemu-img create -f qcow2 hpdisk.img 10G
qemu-system-i386 -boot d -cdrom antix.iso -m 2047 -hda hpdisk.img

looks good. it starts (antix.iso = the 386 core version).
But the cli-installer is quite hardcore for me since I have not used it since years. I will try now the 386 full.
A graphical installer is on it: good stuff.

Update 1: a qemu harddrive with 7GB root and 3GB home was not enough (full iso version). Not enough room on the home for anaconda3 install on it. lets install the antix base and 4.2GB root & 4.8GB home. Looks good for now. See the picture.

Update2: antix32bits_base (after install in the qemu environment), starts with
Quote:
qemu-system-i386 -boot d -m 2047 -hda hpdisk.img
Attached Thumbnails
Click image for larger version

Name:	Bildschirmfoto vom 2022-01-20 17-37-45.png
Views:	13
Size:	38.6 KB
ID:	38165  

Last edited by floppy_stuttgart; 01-22-2022 at 06:00 AM.
 
Old 01-20-2022, 11:06 AM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,144
Blog Entries: 21

Rep: Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482
A lot of folks run Base since it comes with Fluxbox only and they can build from there to suit.

Good choice.

Here is a archived thread covering basic differences between Full and Base editions.
https://antixlinux.com/forum-archive...ion-t2168.html

Might wanna try a command I used in MX fluxbox to check on what I had installed so far included with initial installed packages during install process . Can't take credit for it. Borrowed from a thread that a member posted in, in this forum.

Code:
comm -23 <(apt-mark showmanual|sort) \
<(zcat /var/log/installer/initial-status.gz|sed -n 's/^Package: //p')
Here is hoping base iso has the libs and such to make the above command work
https://pastebin.com/5pzSQuFP
 
Old 01-22-2022, 01:29 PM   #5
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Now the question would be how to pass usb serial ports to qemu (where antix is started)

lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 10000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
|__ Port 2: Dev 2, If 4, Class=Vendor Specific Class, Driver=, 480M
|__ Port 2: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 2: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 2: Dev 2, If 5, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 2, If 3, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 2: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 4: Dev 7, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 4: Dev 7, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 7, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 7, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 7: Dev 3, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
|__ Port 8: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 8: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 9: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 9: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 14: Dev 6, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 14: Dev 6, If 1, Class=Wireless, Driver=btusb, 12M

UPDATE: DONE. WORKS.

This helped a lot. https://sysadminde.com/questions/872...n-the-guest-os

Quote:
qemu-system-i386 -boot d -m 2047 -hda hpdisk.img -usb -chardev tty,path=/dev/ttyUSB0,id=hostusbserial -device usb-serial,dev=hostusbserial
Now, since antix 32 bits is working in qemu on a 64bits Debian PC (with serial ports activ), lets come back to the previous vision: making antix working on raspberry pi4 via qemu.

I am still hesitating in using the antix base as the 32 bit OS in qemu in a raspberry pi4.
The pi4 boots with raspbian and a 32GB SD.

1. I must have a look if any simulated RAM or qemu window can be simulated into a separated USB storage (I would not like to kill too quick my SD card).

2. I should perhaps give a try again to antix core:
- minimum desktop environment
- automatic login
- serial usb only
- ftp (use of midnight-commander)
- Qt5 application installed via anaconda3
- file manager
- nano editor
- no cpu monitoring etc. because qemu would be nbested in a pi4 rasbian system lxde

Any advice where to find a cli-interface command list for installing (from antix core)
: /dev/sda1 ext4 / 2GB (antix minimum system installed from "core")
: /dev/sbb1 linux-swap 1GB (separated USB drive connected at the pi4)
: /dev/sda2 ext4 /home 5GB (home for storing the anaconda3 Qt application and few files created by it)
are welcome.

Last edited by floppy_stuttgart; 01-22-2022 at 02:37 PM.
 
Old 01-22-2022, 03:16 PM   #6
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,144
Blog Entries: 21

Rep: Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482
Might help or not. Brian is a buddy of mine. Yeah , I know it's old. Brian and I are old also.

https://brianmasinick.blogspot.com/2...ntix-core.html

https://antixlinux.com/forum-archive...sys-t3361.html

https://www.youtube.com/watch?v=njj6geeCOds

Good Luck.
 
Old 01-30-2022, 03:32 AM   #7
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
antix32bits starts in qemu on a pi4 (raspbian on it).
I have used the following command
Quote:
qemu-system-i386 -boot d -m 2047 -usb -hda /media/usb1/hpdisk.img
The /media/usb1/ is following https://www.amazon.de/Philips-Black-.../dp/B07YCLM8XT on the usb3 port of the raspberry PI, = USB stick formatted with ext4 in a single partition.
But thats slow. example, in a terminal, the "apt-get update" show at the end "17.7MB in 18min29s".

a) Perhaps I should use another hardware? (looks like 40MB/s read and 18MB/s write is not enough).
Should I give a try to an SSD for approx 40Eur? see examples there https://jamesachambers.com/raspberry...-flash-drives/
I could connect an SSD into the USB3 port instead of that lousy stick.

b) Perhaps is ext4 not the best for reading/writing speed? another format should be used?

c) Using any parameter in qemu for acceleration? the cpu seems to be 100% busy in antix (according the conky cpu monitoring) but the raspbian monitoring show a 30% busy CPU.

Any recommendation is welcome (before I spend more money).

Last edited by floppy_stuttgart; 01-30-2022 at 04:22 AM.
 
Old 01-30-2022, 05:52 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,978

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
pyilper is written in python, it can run on RPi without VM. lifutils is binary, but I think it can be compiled on arm.
So if possible I wouldn't run qemu at all.
Regarding speed you may want to buy a fast pendrive (like Corsair Voyager GTX)
 
Old 02-07-2022, 04:55 PM   #9
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
>Stop here. box86 installed on raspbian was the best alternative to start x86 codes (wine then ilper etc.).
 
  


Reply

Tags
anaconda, antix, qemu, raspberry pi 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Veracrypt in Kali running on raspberry pi4 the red poppet Linux - Software 3 12-23-2021 12:56 PM
Parrot on Berryboot/Raspberry Pi4 the red poppet Linux - Embedded & Single-board computer 4 01-18-2021 11:38 AM
Raspberry Pi4 does not show on the HDMI the 3.5" TFT display output dr_berta Linux - Hardware 8 11-27-2020 12:38 PM
What OS for an ISPcorporate datacentre based on Raspberry PI4 ronatartifact Linux - Server 16 10-04-2019 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration