Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.computer > #10878

Re: s.l.o.w OS ?partly fixed? NO!

From Paul <nospam@needed.invalid>
Newsgroups alt.computer
Subject Re: s.l.o.w OS ?partly fixed? NO!
Date 2018-06-16 20:56 -0400
Organization A noiseless patient Spider
Message-ID <pg4bj9$g7d$1@dont-email.me> (permalink)
References (26 earlier) <pesvts$qov$1@dont-email.me> <2G3VC.134258$%s2.5990@fx18.iad> <pg2qd0$p5e$1@dont-email.me> <iAbVC.413316$nq5.28164@fx36.iad> <IBgVC.276020$Hv4.113375@fx39.iad>

Show all headers | View raw


Robert Baer wrote:
> Robert Baer wrote:
>> Paul wrote:
>>> Robert Baer wrote:
>>>> Paul wrote:
>>>>> Robert Baer wrote:
>>>>>
>>>>>> Thanks. Hope i do not have to dig that deeply.
>>>>>
>>>>> I would use Imgburn 2.5.0.0 to burn the image to a CD, but use
>>>>> whatever you've got on hand.
>>>>>
>>>>> You should *not* end up with a CD showing one file "some.iso" on
>>>>> it. The burning tool has to open the ISO and convert it to a
>>>>> bootable CD as part of the unpacking. In other words, it "lays"
>>>>> the .iso on top of the CD, file system and all, rather than
>>>>> burning the file as if it was adding "some.iso" to a Data CD.
>>>>>
>>>>> The resulting CD might show
>>>>>
>>>>> boot\ efi\ isolinux\ live\ pool\ [BOOT]\ md5sum.txt
>>>>>
>>>>> depending on where you're viewing it.
>>>>>
>>>>> The CD should not consist of a single entry similar to this.
>>>>> That means you used the windows "drag and drop" file burning
>>>>> thing if that happened. A disc prepared this way, cannot boot.
>>>>>
>>>>> some.iso
>>>>>
>>>>> HTH, Paul
>>>>>
>>>> Q4OS "live" is working..but it is memory hungry; gets to a point
>>>> in loading and then stuck in an infinite loop. If i can free up a
>>>> HD, will try install.
>>>
>>> It doesn't actually use that much RAM. See the section at the bottom
>>> of this post.
>>    It "hung",showing an animated "working" bar tat lasted forever.
>>    ?break? ,?esc?, whatever, stopped htat and resulted in message "out of
>> memory".
>>
>>>
>>>>
>>>> BUT,, WRT XPQ4, what understands the ".esh" files? How can one run
>>>> a setup.esh file?
>>>
>>> For a file sample, I used an attachment from a posting here.
>>>
>>> https://sourceforge.net/p/q4os/discussion/Support1/thread/9f6abf71/
>>>
>>> This is the file.
>>>
>>> https://sourceforge.net/p/q4os/discussion/Support1/thread/9f6abf71/1227/attachment/setup_q4os-clipgrab_1.1-a1_amd64.esh 
>>>
>>>
>>>
>>>
>>>
>>>
>>> I opened that in Wordpad for a look.
>>>
>>> It's a self-extracting combo script/binary payload. It uses shell
>>> commands and a kind of "here is" capability to pipe the binary blob
>>> at the end of the file, into an unpacking tool. Once it's unpacked a
>>> tree of files, it can then do the setup.
>>>
>>> https://s33.postimg.cc/s9mvq7ywv/esh_contents.gif
>> * BINGO! !instructions!  No ASS-u-ME-umptions!
>>  From that, it is clear one must be running Linux to get anywhere.
>> Will have to save this post for the time when i have a HD installation.
>>
>>>
>>> The system thinks it's executing a script, only the majority of the
>>> file ends up being piped through an unpacker that might be in
>>> /usr/bin perhaps (tar -x). See "man tar" for more info.
>>>
>>> If you're in Linux, you set the permissions on the file to 755 after
>>> downloading it from somewhere.
>>>
>>> chmod 755 setup_q4os-clipgrab_1.1-a1_amd64.esh
>>>
>>> The tough part, is getting it to execute. In some of the nicer
>>> shells, you can use dot-relative path execution. The current working
>>> directory is in the path, and so this works
>>>
>>> ./setup_q4os-clipgrab_1.1-a1_amd64.esh
>>>
>>> But in other cases, some other kind of tomfoolery is required. I
>>> doubt this would work, but you could try.
>>>
>>> source setup_q4os-clipgrab_1.1-a1_amd64.esh
>>>
>>> Sometimes, not even adding the current directory to $path is enough
>>> to give you execution capability. So the worst setups, are really
>>> "mean".
>>>
>>> It's not necessarily a given, that if you double-click it, that it
>>> can figure out the context and what directory it's supposed to work
>>> in.
>> * Dew help to have instructions..
>>
>>>
>>> The file format itself isn't that novel. The Nvidia and AMD video
>>> drivers come packaged that way (the combo script idea), but most
>>> other sources of this kind of file would just use a more regular .sh
>>> extension. Making up goofy extension types, doesn't help anyone. I
>>> had a fair idea before I loaded that into Wordpad, it would be that
>>> combo script thingy.
>>>
>>> And to get a "windows-ism" out of your head, the file is not really
>>> identified by the .esh at all. The file could end in .baloney and it
>>> would still work.
>>>
>>> The first line of that sample file is
>>>
>>> #!/bin/sh
>>>
>>> which the system sniffs when you try to execute it, and the system
>>> knows that's bourne shell. In a sense, it then runs
>>>
>>> /bin/sh setup_q4os-clipgrab_1.1-a1_amd64.esh
>>>
>>> and uses that file as input to /bin/sh. You could have run that
>>> file, with no extension at all, and it would still work. Linux/Unix
>>> uses "magic" or file sniffing, to identify file types.
>>>
>>> If you used the "file" command, it should say "Bourne Shell", which
>>> it is, nominally. But the binary blob on the end of the file, is
>>> hardly a conventional Bourne Shell script. When you know something
>>> is a Bourne Shell script or a BASH script, then you know it can be
>>> opened in a text editor. Which is why I tried Wordpad in the first
>>> place.
>>>
>>> file setup_q4os-clipgrab_1.1-a1_amd64.esh
>>>
>>> *******
>>>
>>> OK, so I visited your distributions home, and what do I find.
>>>
>>> https://q4os.org/downloads1.html
>>>
>>> "The minimal HW requirements for Q4OS is defined as Pentium 300MHz
>>> CPU / 128MB RAM / 3GB disk. "
>>>
>>> How the hell could you have run out of RAM ???
>> * I have only 3GB ram, cannot ave any more.
>>    No hexplaination, just booted the Live media and followed the yellow
>> brick road...
>>
>>>
>>> It says it needs 128MB. Here it is running in a VM. I started with
>>> 1024MB. The Live OS uses half available RAM for TMPFS live storage
>>> (that's the RAM-based file system the OS uses, rather than your hard
>>> disk). Now, we're down to 512MB or so. The OS portion only needs a
>>> bit over 100MB, and the remainder (slack) is about 400MB. The
>>> implication is, it could run with less.
>> * What you say is theory; remember that Avast s acting nuts by reporting
>> zero problems.
>>    Hoo nose what is really available for the Live?
>>
>>>
>>> https://s33.postimg.cc/fytx6a2n3/Q4_OS_Live.gif
>> * In your system,looks like under 300Meg..
>> (used screen capture, selected only screen part, inverted colors to read)
>>
>>>
>>> If the screen locks on you, the userid is "adminq" and the password
>>> I tried was "adminq", which seemed to work. Or maybe it just didn't
>>> care ? I hate screen lockers, especially the ones set to 5 minutes.
>>>
>>> If you give me a bit more context about what file you're trying to
>>> execute, I have the CD here now, so who knows what I could figure
>>> out.
>> * In XP, goofy Avast, ran resulting DVD generated by
>> q4os-2.4-i686pae.r8.iso
>>    Process Explorer (now) shows about 2.3Gbytes available.
>>    Had a major system problem; been DOA for about a week, 1 month's
>> e-mail screwed up by new Office 365 (recommendation: refuse to use
>> Office, ANY version).
>>    In Process Explorer, some things are not showing as running that used
>> to show: namely that Apache stuff, and i do not know what else; the list
>> it shows is significantly shorter.
>>    System is still slow, boot-to-run-a-program but all else seems to be
>> decent speed.
>>
>>    What the heck, will try it after sending this..
>>
>>
>>>
>>> Paul
>   Operation basically as before; sequence:
>  loads a bunch of stuff
>  NVIDIA DRIVERS FOUND (loaded and installed)
>  reboot? (absolutely NOT as that puts you back to square zero = reboot DVD)
>  Select full featured desktop (sez takes 500MB)
> 
>   Loads a whole bunch of stuff, eventually get MSG "running low on disk 
> space (4% free)" Run Konquer? "Y"; not much to remove - a few K at most.
>   Used VLC on "ordinary" MP4,ran OK.
>   Used VLC on a 1080p MP4 (56877KB); for a while,it looked OK -  did not 
> skip or stutter like in WinXP.
>   BUT.
>   It then did a video hang with diagonal frozen confetti on strange 
> background; impossible to stop / reboot; had to use infallible power bar 
> switch.
>   Back in XP, used Computer Manager and saw:
> Drive C WinXP 57.65GB free (77%)
> Drive E SCSI  64.66GB free (86%)
> Drive G SANDISK128G  80.91GB free (68%)
> 
>   Am guessing that the OS carves out a measly 1GB for use.

LiveCD disc operating systems, have to operate when
there is *no* hard drive in the system. They also have to
operate with no swap - it wasn't that many years ago,
that many of them were poorly tuned, and would crash
when some unnecessary swap attempts discovered no
swap was present. Today the tuning is much better,
and that's not likely to happen.

The LiveCD uses system RAM to contain a file system.
/tmp is stored there, as is /home/username is stored
in there. If you do a little bit too much Program Manager
work and install too much stuff, that fills up that
RAM-based file system too.

*******

Look for articles concerning "persistent store". They
allow a 4GB file stored on a FAT32 file system, to contain
an EXT4 Linux file system. The home directory can be kept
in there and so on. This is a better option for a really
low RAM machine. Another name for persistent store is
"CasperRW" or similar.

If you transfer a Linux LiveCD to a USB stick, some of
those transfer procedures include a persistent store option.
The 4GB file is on the USB stick. I don't recommend this,
because it broke a couple TLC USB flash sticks here, and I
don't use that option any more. However, adding a partition
to a hard drive for the purpose, could easily give a nice
home for such things.

*******

Once you *install* the OS on a hard drive, then obviously
TMPFS is no longer used for those purposes. All the RAM
then is available for other things.

*******

The Nouveau driver is the open source version for NVidia
video cards.

The NVidia driver is written by NVidia and released as a
binary blob, without source. Usually, the user has to
arrange for that driver to be used. On the plus side,
you might get OpenGL acceleration. On the minus side,
eventually a kernel update will come in, where DKMS can
no longer combine that NVidia driver with the new kernel.

The Nouveau driver on the other hand, would receive
updates more in-step with the kernel. There should
be fewer management issues with the open source
driver. It should "just work".

*******

If your NVidia card is ancient, like maybe a TNT2 or something,
then don't expect the support to be very good.

    Paul

Back to alt.computer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

s.l.o.w OS Robert Baer <robertbaer@localnet.com> - 2018-05-02 22:16 -0700
  Re: s.l.o.w OS JJ <jj4public@vfemail.net> - 2018-05-04 04:59 +0700
    Re: s.l.o.w OS Robert Baer <robertbaer@localnet.com> - 2018-05-04 22:14 -0700
  Re: s.l.o.w OS tony sayer <tony@bancom.co.uk> - 2018-05-03 23:00 +0100
    Re: s.l.o.w OS Robert Baer <robertbaer@localnet.com> - 2018-05-04 22:16 -0700
      Re: s.l.o.w OS tony sayer <tony@bancom.co.uk> - 2018-05-05 16:30 +0100
  Re: s.l.o.w OS Batchman <batchman@dosville.foo> - 2018-05-05 08:53 +1000
    Re: s.l.o.w OS Robert Baer <robertbaer@localnet.com> - 2018-05-04 22:19 -0700
  Re: s.l.o.w OS Robert Baer <robertbaer@localnet.com> - 2018-05-04 22:36 -0700
    Re: s.l.o.w OS ?partly fixed? Robert Baer <robertbaer@localnet.com> - 2018-05-06 18:46 -0700
      Re: s.l.o.w OS ?partly fixed? Robert Baer <robertbaer@localnet.com> - 2018-05-13 21:07 -0700
        Re: s.l.o.w OS ?partly fixed? Paul <nospam@needed.invalid> - 2018-05-14 02:27 -0400
          Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-05-15 00:05 -0700
            Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-05-15 04:42 -0400
              Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-05-15 23:32 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-05-16 03:31 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-05-16 20:45 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-05-17 01:16 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-05-20 03:23 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-05-20 10:18 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-05-21 01:19 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-05-21 06:36 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-05-22 00:23 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-05-22 03:51 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-05-22 10:18 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-05-22 14:48 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-05-24 03:07 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-05-24 21:38 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-06-01 12:25 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-06-01 18:42 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-06-01 18:58 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-06-01 22:37 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-06-16 01:14 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-06-16 06:56 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-06-16 10:14 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-06-16 22:57 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-06-16 20:56 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-06-20 18:30 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-06-23 07:10 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-06-23 03:51 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-06-25 23:23 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-06-26 02:49 -0400
                Re: s.l.o.w OS ?partly fixed? NO! Robert Baer <robertbaer@localnet.com> - 2018-06-30 01:34 -0700
                Re: s.l.o.w OS ?partly fixed? NO! Paul <nospam@needed.invalid> - 2018-06-30 05:12 -0400

csiph-web