-
Search Results
-
Topic: Automated installs
Hi everyone,
I’ve looked through the customisation documentation and it seems that there’s nothing to do exactly what I’m wanting, which is an auto-install.
What I’ve done so far is as follows:
1) Starting with core, extracted contents
xorriso -osirrox on -indev antiX-19.3_x64-core.iso -extract / extracted_iso_image2) Replaced isolinux.cfg with something that will boot immediately into text mode. This seemed to do the job:
timeout 10
default safeMENU TITLE Welcome to antiX-19.3_x64-core (Manolis Glezos)
LABEL safe
MENU LABEL Safe_Video_Mode
KERNEL /antiX/vmlinuz
APPEND disable=lx xorg=safe
INITRD /antiX/initrd.gz3) Remastered with
xorriso -as mkisofs -D -r -J -joliet-long -l -V “Custom antiX core” -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -iso-level 3 -no-emul-boot -partition_offset 16 -boot-load-size 4 -boot-info-table -o ./new_antix.iso ./extracted_iso_imageI appreciate this may not be the way the developers intend me to customise the system, however I need this customisation step to work on a Mac so I was going to use the Brew port of squashfs-tools for the customisation.
So this is a good start, as it takes me immediately into the login prompt, however I’d also like to automate the execution of cli-installer. I’ve been looking through the squashfs and initrd and I’m just wondering where I would run the cli-installer from. Should I put it somewhere in /etc/rc.local? Is there a better place? Should I be trying to run it at run level 1, or level 5?
Thanks for any help!
Hi !
I need to edit grub files in android-x86 in virtualbox, so I use vi .
And I can’t save and quit, because the escape touch (ESC) don’t work.
I need to do like that :
Found the solution!
You have to edit menu.lst file. Here is how:
boot in debug mode (usually the second option in boot menu)
when booting stops (for me it just hangs there with flashing cursor and without any prompt) enter mount -o remount,rw /mnt
enter cd /mnt/grub
enter vi menu.lst
press Shift+a
right under the first boot entry find the line starting with kernel initrd=/in (your line might look different; it depends on Android version; in general just find the line that starts with kernel)
at the end of the line type vga=834 nomodeset xforcevesa
press ESC then :wq – these commands will save the file and quit vi
enter cd /
enter umount /mnt
enter reboot -fNow the system should reboot in the VESA mode of your choice.
This will enforces to use the VESA driver for X.
You can replace the vga=xxx by any number you want for your screen resolution. Also tested that 832 works fine (gives 800×600 resolution).
You can find all the VESA modes when you use the iso file and pick the boot option to boot in VESA mode – it will show the list with all modes (numbers are in hex and there is also a redundant letter in front of some modes – ignore it) and you can test them there immediately to see if it works and is good to use in this menu.lst fix, but you have to convert it from hex to dec first using any hex->dec converter.
If anyone know how to save and quit in vi , in grub on virtualbox, thank you very much. (I read this too ):
The Escape key is a shortcut to Ctrl+[. If the key is missing (as on a real vt220, for example), or if it doesn’t do what you want (it’s been remapped by VirtualBox, or similar), then try the Ctrl+[ combination instead.
Check your VirtualBox setup. It should not remap Escape by default (at least not on the systems I’ve been using it on).
But don’t work … And Ctrl + C , don’t work, maybe I can mapping this touche in virtualbox, but I don’t found tutorial for that. Sorry.
$ uname -r
4.9.212-antix.1-amd64-smp
Mon retour de inxi -Fxz : https://pastebin.com/kqRMrRZZ
my xmpp : weerbor@jabber.fr





