Posts: 1,308
BitJam
Joined: 31 Aug 2009
#1
Everything can be downloaded from my
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.dropbox.com/sh/53mwi5nhllsc952/AAB1gs_j44WkvkCSEsDRRn7Wa"
linktext was:"antiX-14-a3.1 dropbox folder"
====================================
.

FIX-1: initrd-2014-10-28a.gz had no modules. Replaced with initrd.gz which does contain modules.

This is designed for testing on LiveUSBs that use an ext2/3/4 filesystem. There will be problems with the xtra tarball on LiveUSBs that use fat32. I could provide a workaround.

I'm not interested in tests on the 32-bit version. I am mostly interested in how loading the video drivers earlier
works, the earlier running live init.d scripts and any outstanding/new problems with persistence.

I hope this fixes all reported issues with persistence.

Here is the contents of the README:

Code: Select all

The xdelta3 patch is designed to modify antiX-14-a3-RV_x64-full.iso

The other files work with any 64-bit version of antiX-14-alpha-3.
The were tested with the full RV (sysVinit) version.  They should
work with the systemd versions but the Live shutdown is not perfect.
It relies on the systemd shutdown so there is no pause for you to
eject the LiveCD and their will probably be umount problems on
LiveUSB/Frugal on ntfs filesystems.

Instructions
------------
To create an iso file (suitable for booting in Virtual Box):

xdelta3 -d -s /antiX-14-a3-RV_x64-full.iso antiX-14-a3.1-RV-x64.xd3 new.iso

For an existing 64-bit LiveUSB:

  1) copy new initrd-2014-10-28a.gz to LiveUSB
     cp initrd.gz /live/boot-dev/antiX/initrd.gz

  2) unpack xtra tarball
     tar -C /live/boot-dev/antiX -xzf  xtra-2014-10-28a.tgz

  3) copy the gfxboot init:
     cp gfxboot-init /live/boot-dev/syslinux/init

Fixes:
  o Persist-save should only run once

  o Entering passwords and so forth on first persistent boot
    should work much better

  o A lot of little fixes

  o No changes have been made to the desktop menu or to
    desktop-session (alternative desktops) except the startup
    has been bumped from 1 second to 2.

Changes:
  o The biggest change is that video drivers have been added
    to the initrd so they should load much earlier in the
    boot process

  o Even without persistence, your current desktop selection is
    saved on the liveUSB by running"/ etc/init.d/live-init stop" as
    root.

  o If you use the new gfxboot-init then the default is to have
    no vga= boot parameter. This is the only change even though
    there are outstanding bugs.  The change is meant to go along
    with loading video drivers earlier.

  o This comes with the newer version of .conkyrc

  o Set the default width of the persistence and remaster-live
    GUIs to 680.

Additions:
  o Added search-bar applications for doing internet searches from
    the command line and via the X clipboard. See:
    https://github.com/BitJam/Search-Bar

  o splash-select will let you change the background theme in the
    virtual consoles

  o uxrvt-style makes it easy to customize the urxvt terminal
    emulator.  See --help for details.
I'm sure I've forgotten some things.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#2
Note: I now use the root and demo passwords to trigger persist-config (to set up the persistence save mode) and persist-save during the live boot.

You can test this after you already have root-persistence enabled just be changing the root password to"root" (or the demo password to"demo"). Likewise if you make one or both of these changes before doing a remaster-live then the first time you (or anyone downstream) boots with root persistence there will be a prompt to change the passwords and set up the persistence save mode. Those selections will be immediately saved with a persist-save.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#3
**** crickets ****

**** crickets ****
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#4
BitJam wrote:**** crickets ****

**** crickets ****

Give me a day or 2 BitJam. My Dual Core Dell is in the mail right now.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#5
I didn't get very far. I used the delta file to make a new iso and made a bootable usb on an ext4 usbstick. boot completes and slim starts, but login fails.

Here's a screen shot of some perhaps pertinent error messages.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#6
Thanks D.O.!
dolphin_oracle wrote:I didn't get very far. I used the delta file to make a new iso and made a bootable usb on an ext4 usbstick. boot completes and slim starts, but login fails.
Please make the LiveUSB the normal way and then follow the instructions for copying initrd.gz and unpacking the xtra tar file. I provided the iso xdelta3 patch *only* for booting into Virtual Box.

You can probably fix this by unpacking the xtra tarball in the /live/boot-dev/antiX/ directory. For some reason I don't understand, your way of making a LiveUSB caused some file in the xtra/ directory to lose their execute permission.

I'm surprised the xtra/ directory got copied at all by whatever you used to make the LiveUSB. Maybe it did a copy that does not preserve execute permission.

I'm sorry I was unclear in the original instructions.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#7
I probably didn't read it close enough... __{{emoticon}}__

However, it appears the xtra directory got copied (unetbootin) but as you suspected the executable scripts had lost their x bit. so I fixed that and here we are, new conky (with dynamic network monitors,nice...) and earlier loading graphics driver. no problem on the hp, and I had the antiX theming on the console nearly the whole boot. much less jarring. password and username prompts on live were very fast as they should be.

as suggested I am running on an ext(4) formated usb stick, although I can see where we really will need fat to work in the future. so we will drive this around a while and see what happens.

***edit*** also, persist-save is only running once.

Code: Select all

emo@antix1:~
$ inxi -F
System:    Host: antix1 Kernel: 3.17.0-antix.1-amd64-smp x86_64 (64 bit) 
           Desktop: IceWM 1.3.8 
           Distro: antiX-14-a3-RV_x64-full Killah P 11 October 2014 
Machine:   System: Hewlett-Packard product: HP Pavilion dm4 Notebook PC v: 0587110002242B10000022100
           Mobo: Hewlett-Packard model: 146A v: 58.28
           Bios: Hewlett-Packard v: F.26 date: 02/14/2011
CPU:       Dual core Intel Core i5 M 460 (-HT-MCP-) cache: 3072 KB 
           Clock Speeds: 1: 1199 MHz 2: 1866 MHz 3: 1199 MHz 4: 1199 MHz
Graphics:  Card: Intel Core Processor Integrated Graphics Controller
           Display Server: X.Org 1.16.1 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.03hz
           GLX Renderer: Mesa DRI Intel Ironlake Mobile
           GLX Version: 2.1 Mesa 10.2.6
Audio:     Card Intel 5 Series/3400 Series High Definition Audio 
           driver: snd_hda_intel 
           Sound: ALSA v: k3.17.0-antix.1-amd64-smp
Network:   Card-1: Intel Centrino Advanced-N + WiMAX 6250 [Kilmer Peak]
           driver: iwlwifi
           IF: wlan0 state: up mac: 00:23:15:7b:a8:14
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169
           IF: eth0 state: down mac: 64:31:50:6d:81:b4
Drives:    HDD Total Size: 352.1GB (12.3% used)
           ID-1: /dev/sda model: WDC_WD3200BPVT size: 320.1GB
           ID-2: USB /dev/sdb model: Cruzer_Glide size: 32.0GB
Partition: ID-1: /home size: 969M used: 79M (9%) fs: ext4 dev: /dev/loop2 
Sensors:   System Temperatures: cpu: 46.0C mobo: 44.0C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 170 Uptime: 17 min Memory: 597.2/7786.8MB 
           Client: Shell (bash) inxi: 2.1.28 
demo@antix1:~
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#8
dolphin_oracle wrote:as suggested I am running on an ext(4) formated usb stick, although I can see where we really will need fat to work in the future. so we will drive this around a while and see what happens.
Fat32 works but not with the xtra/ directory for development. I actually have a workaround for that. You can put an xtra.tgz file in the /antiX/ directory and I will unpack it in the root file system. The problem is that it can't have the top-level /xtra/ directory in it so this requires I provide 2 different xtra tarballs, one with the top-level /xtra/ directory and one without it. I thought it would be easier all around to only provide the one xtra file which is already a part of my standard development process. Also, creating the rootfs and homefs files on fat32 can take an annoyingly long time.


Please try the search apps. From the command line:

Code: Select all

amz           Amazon
antix         antiX Linux forums
ddg           DuckDuckGo
dict-search   Dictionary Lookup
g             Google
gf            Gentoo Linux Forums
imdb          Internet Movie Database
imdb-disc     Search IMDb for labels on bluray and dvd discs
imdbe         Internet Movie Database Episodes
mx            MX Linux Forums
stp           Start Page
wiki          Wikipedia
In X-windows, either launch search-bar:

Code: Select all

search-bar&
Or copy some of the search .desktop files in /usr/share/applications/search-bar/ so the show up as desktop icons. Highlight text anywhere on the screen and then hit a search-bar button (or click on one of the search desktop icons) and a new browser window/tab should open up with your search results.

I find both the buttons and the CLI applications to be incredibly useful. I often use"Alt-F2" in Fluxbox to open up a run box and use that for typing in a search.

Known bug: Selecting"Nederlands" from the"F2 Language" menu causes a crash early in the boot process. I'm working on a fix.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#9
I'm really digging the search-bar type functionality. I like the run box searches. My monitor is small, so the search-bar itself if of limited usefullness cause it gets covered up. Now, if that thing was an autohiding dock that popped up when you scroll to the edge of the screen... the dictionary search is particularly useful when using in conjuction with the browser. select the word, hit a button.
Posts: 1,062
Dave
Joined: 20 Jan 2010
#10
dolphin_oracle wrote:I'm really digging the search-bar type functionality. I like the run box searches. My monitor is small, so the search-bar itself if of limited usefullness cause it gets covered up. Now, if that thing was an autohiding dock that popped up when you scroll to the edge of the screen... the dictionary search is particularly useful when using in conjuction with the browser. select the word, hit a button.
maybe give it a go with a wbar configuration?

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://code.google.com/p/wbar/downloads/list"
linktext was:"http://code.google.com/p/wbar/downloads/list"
====================================

I used to have it in the repo... maybe it is still there I don't know...
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#11
? what is /usr/local/lib/antiX/.antiX-common.sh.swo

--------------------

regarding search-bar:
Because its dialog window opens to such a narrow width, titlebar drag is difficult (impossible?) until window is resized wider.
I'm suggesting it should open to a slightly wider width. User can resize narrower, if desired.

--------------------

regarding cli"search apps":
Works fine, is pretty nifty ~~ will save a me LOT of clicks!
On the downside, though, it's pretty unsettling to know that a fat-fingered cli typo could send the content of my system clipboard to google.
Preferably IMO, a custom"single character" executable ("g") would be acheived via (and editable via) .bashrc alias
and the actual files on disk would bear filenames like"search-bar-g", search-bar-mx" etc.
-=-
Aliased or not, any convenient-but-too-short (too ambiguous?) command names will probably invite typing"man wiki" or"man antix"

Consider: gExec --} roxterm (as root)
# g linux rootkit

user is now searching the web for rootkits... using a root-permissioned browser. How"insanely convenient" is that?

Not just pecific to search-bar, but across the board:
the pre-installed browser executable should be aliased to a script which drops root permissions prior to launching the browser.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#12
semi-automatic root persistence. Startup, video detection and shutdown seem pretty smooth so far.

When attempting to launch roxterm,
4x dialog pops up: [Error from ROXTerm]"Unable to save options file /home/demo/.config/roxterm.sourceforge.net/Shortcuts/Default"

--------------------------------

I haven't messed with any settings nor made any choices regarding"splash", but found this:
/var/log/spash-all.log

Code: Select all

FBIOCONDECOR_SETSTATE failed, error code 22.
FBIOCONDECOR_SETSTATE failed, error code 22.
FBIOCONDECOR_SETSTATE failed, error code 22.
FBIOCONDECOR_SETSTATE failed, error code 22.
FBIOCONDECOR_SETSTATE failed, error code 22.
FBIOCONDECOR_SETSTATE failed, error code 22.
splash-term 2 -> antiX-blue-purple
FBIOCONDECOR_SETSTATE failed, error code 22.
splash-term 3 -> antiX-rev-neutral
FBIOCONDECOR_SETSTATE failed, error code 22.
splash-term 4 -> antiX-purple
FBIOCONDECOR_SETSTATE failed, error code 22.
splash-term 5 -> antiX-rev-blue
FBIOCONDECOR_SETSTATE failed, error code 22.
splash-term 6 -> antiX-neutral-purple
FBIOCONDECOR_SETSTATE failed, error code 22.
splash-term 2 -> antiX-blue-purple
splash-term 3 -> antiX-rev-neutral
splash-term 4 -> antiX-purple
splash-term 5 -> antiX-rev-blue
splash-term 6 -> antiX-neutral-purple
splash-term 2 -> antiX-blue-purple
splash-term 3 -> antiX-rev-neutral
splash-term 4 -> antiX-purple
splash-term 5 -> antiX-rev-blue
splash-term 6 -> antiX-neutral-purple
--------------------------

issues probably not specific to the updated initrd:

gExec --} rox-filer (as root)
the"edit as root" and"open as text" commands

gExec --} spacefm (as root)
OpenWith handlers are unassigned. Need to wait 15secs or so while the"choose applications: all applications" populates
to select leafpad, or geany or whatever
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#13
dolphin_oracle wrote: My monitor is small, so the search-bar itself if of limited usefullness cause it gets covered up. Now, if that thing was an autohiding dock that popped up when you scroll to the edge of the screen...
We could use"yad --notification" to create an icon in the system tray that would give you a menu of search options when you right click on it. Would that work for you?

A left click on the icon could do a $DEFAULT search. A left click would open up a little menu that allows a variety of searches.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#14
BitJam wrote:
dolphin_oracle wrote: My monitor is small, so the search-bar itself if of limited usefullness cause it gets covered up. Now, if that thing was an autohiding dock that popped up when you scroll to the edge of the screen...
We could use"yad --notification" to create an icon in the system tray that would give you a menu of search options when you right click on it. Would that work for you?

A left click on the icon could do a $DEFAULT search. A left click would open up a little menu that allows a variety of searches.
That would work too.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#15
skidoo wrote:? what is /usr/local/lib/antiX/.antiX-common.sh.swo
Search(.swo file). It is leftover from a vim editing session.
regarding search-bar:
Because its dialog window opens to such a narrow width, titlebar drag is difficult (impossible?) until window is resized wider.
We could set the default orientation to horizontal. Try:"search-bar -o h" to see what it's like.
Preferably IMO, a custom"single character" executable ("g") would be acheived via (and editable via) .bashrc alias and the actual files on disk would bear filenames like"search-bar-g", search-bar-mx" etc.
This is what I had done originally. The problem was that unless everyone has those bash aliases then the shorter versions of the commands break mysteriously. Making them actual commands seemed more robust. I also had longer commands for the clipboard searches but this polluted /usr/local/bin and was confusing.

One quick fix might be to require a command line parameter (perhaps"--" or even"--clipboard") to activate the clipboard search. So"g" alone does nothing."g skidoo" searches for"skidoo". and"g --" searches for what is in the clipboard. I have never wanted to do a clipboard search from the CLI. Although that may be because I have two copies of the search-bar on my screens. Do you think"--" or"--clipboard" is better? I guess it depends on how often you want to do a clipboard search from the CLI.
Aliased or not, any convenient-but-too-short (too ambiguous?) command names will probably invite typing"man wiki" or"man antix"
Thanks for the reminder. I was planning one man page for all of them with symlinks so doing a man on any of the commands will get you to the same page. This lets you quickly see all the different search commands.

Perhaps"gg" would be better than"g". The command"gs" is already taken by ghostscript.
Consider: gExec --} roxterm (as root)
# g linux rootkit
Good point. I don't have a good solution.

Re the all-splash log. What is the output of"inxi -G"? Do you get background colors on the virtual terminals?

Re: non-initrd issues. They should be posted in
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/viewtopic.php?f=6&t=5305"
linktext was:"antiX-14R alpha3 available for testing"
====================================
.

Thank you for your testing and suggestions.