WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Problems Installing CorePlus 9.0 on a small machine  (Read 5464 times)

Offline Len E.

  • Newbie
  • *
  • Posts: 22
Problems Installing CorePlus 9.0 on a small machine
« on: March 19, 2018, 02:53:58 PM »
The small (and very old) machine being used is a Toshiba Tecra 8000 laptop,
which has 266 MHz Pentium II processor, 128 MB memory, and a 6 GB
hard drive, partitioned with sda1 as 5.3 GB ext3, and sda2 as a 767 MB
swap partition.

In trying out the various installation options available on booting up
from a USB stick,  most failed by hanging up and not completing the
initial  Loading /boot/vmlinuz or Loading /boot/core.gz  steps.

The one procedure that worked was to select the command line only
configuration, and then immediately follow it with the command
tce-load -wi  Xorg-7.7 Xprogs Xlibs fluxbox wbar tc-install-GUI aterm,
and then the command startx.

I was then able to complete the frugal install command graphically,
but when trying to reboot the newly-installed system, the graphics
would not come up.

As a check, I tried the same approach with a CorePlus 8.2.1 stick,
but the tce-load command failed, not being able to find
repo.tinycorelinux.net.

On a much larger, newer machine, the approach with both the
CorePlus 9.0 and CorePlus 8.2.1 sticks worked just fine.

The most confusing aspect of all this is that after I reformatted the
sda1 partition on the Toshiba to ext3 after the initial CorePlus 9.0
install, the original procedure no longer worked for 9.0, hanging
up one of the initial Loading /boot steps, just like all the other
options.

*****************************************************
Documentation on Tiny Core system requirements suggests that
46mb is enough memory for installation, but maybe not for
CorePlus ?

I realize the Toshiba is a very marginal machine at best, but I'm
hoping to elicit some advice to make this work.

Len E.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Problems Installing CorePlus 9.0 on a small machine
« Reply #1 on: March 20, 2018, 01:32:19 AM »
Hello Len E

My advise on limited hardware is first; start with the smallest ISO then add extensions as needed.

Secondly, when you install to a USB thumb drive you’ll need to add the bootcode  waitusb= 

 Next, you’ll need to remove the “ cde “ bootcode from the boot config command line

Then you’ll need to inform tc via the boot config command line where to find installed extensions   tce=

See the Core book for examples for all the above

Additionally, I’d follow the same guide to verify the HDD installed boot config file and since the HDD and PC subsystem is old and slow I’d add the waitusb= bootcode using the uuid method to the command line for the HDD install aswell

Once you have installed to a usb thumb drive or HDD it’s best to remove the install CD from the drive


Sent from my iPhone using Tapatalk
« Last Edit: March 20, 2018, 01:47:15 AM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Problems Installing CorePlus 9.0 on a small machine
« Reply #2 on: March 20, 2018, 02:14:57 AM »
The core book can be downloaded for free here http://tinycorelinux.net/book.html


It would help if you would show the output of
Code: [Select]
showbootcodes
« Last Edit: March 20, 2018, 02:19:37 AM by coreplayer2 »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11043
Re: Problems Installing CorePlus 9.0 on a small machine
« Reply #3 on: March 20, 2018, 06:05:59 AM »
Quote
hanging up and not completing the
initial  Loading /boot/vmlinuz or Loading /boot/core.gz  steps.
This means the bootloader failed for some reason. Try another bootloader; the installer uses extlinux, we have instructions for grub in the manual install page.
The only barriers that can stop you are the ones you create yourself.

Offline polikuo

  • Hero Member
  • *****
  • Posts: 715
Re: Problems Installing CorePlus 9.0 on a small machine
« Reply #4 on: March 20, 2018, 11:25:59 AM »
I just boot up this crap with TC 9.0 via extlinux bootloader.
With Xvesa, I have a working X window.
I believe your "laptop" hardware is better than that in general so it should boot.
How exactly did you update your system ?

Offline Len E.

  • Newbie
  • *
  • Posts: 22
Problems Installing CorePlus 9.0 on a small machine
« Reply #5 on: March 22, 2018, 01:49:40 PM »
I'm getting there, maybe .......

On coreplayer2's suggestion about a smaller ISO,  I
downloaded and installed to a USB stick the
standard TinyCore 18mb  .iso.

It has only 4 initial boot options.  After considerable
messing around,  I managed to get the 4th option,
command-line only, waitusb=5,  to come up using
the modified boot command:
/boot/vmlinuz agp=off vga=791 loglevel=3 waitusb=5 initrd=/boot/core.gz

Even that boot up was peculiar.  I had to enter the command on
4 separate tries, powering the machine off between tries, to
eventually make it work.  I don't know why the machine is so
balky.  I ran a memtest86 test, and the memory checked out
o.k., so I don't know what else could be wrong.

Having finally achieved an initial command prompt, I entered the
same 2 commands as shown in my initial post, except I used
flwm_topside instead of fluxbox.

After the startx, the graphic interface came up, and I used the
standard frugal install, with extlinux as the default boot loader.
In my initial install, I had used grub, so as mentioned by
polikuo, extlinux should be sufficient.

On successive reboots, Tiny Core came up on the Toshiba,
but only in command line mode.  I'm hoping I can install
something with the command line AB installer, to get the
graphics working, but I don't know yet.

I believe the graphics should work, because they looked
ok after the startx command using the USB stick.

Len E.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Problems Installing CorePlus 9.0 on a small machine
« Reply #6 on: March 22, 2018, 03:44:48 PM »
I'm getting there, maybe .......

On coreplayer2's suggestion about a smaller ISO,  I
downloaded and installed to a USB stick the
standard TinyCore 18mb  .iso.

It has only 4 initial boot options.  After considerable
messing around,  I managed to get the 4th option,
command-line only, waitusb=5,  to come up using
the modified boot command:
/boot/vmlinuz agp=off vga=791 loglevel=3 waitusb=5 initrd=/boot/core.gz

Looks like you're trying too hard..

when trying to boot from the USB modify the boot config so that you have only one boot option and edit the command line like this
Code: [Select]
kernel /boot/vmlinuz loglevel=3 waitusb=5 tce=sdb1
initrd /boot/core.gz

don't forget to rename at least please verify /cde directory renamed to /tce   
If using the standard install you might the tce directory in /boot/tce   the only important issue here is making sure it is not named cde

This is a simplified version, where I would use UUID to specify exactly the path to specific USB thumb drives and TCE directories etc etc..  as per the book examples
« Last Edit: March 22, 2018, 04:02:44 PM by coreplayer2 »

Offline Len E.

  • Newbie
  • *
  • Posts: 22
Re: Problems Installing CorePlus 9.0 on a small machine
« Reply #7 on: March 22, 2018, 06:00:13 PM »
Good news !   I found out the answer to my latest problem:

Because no persistence had been set up,  the
results of the initial tce-load and startx commands
were available for the frugal install, but the loaded
modules had all disappeared on the initial reboot
from the hard drive.

Accordingly, on booting up from the hard drive, only
the command line prompt was available.  I repeated the
tce-load and startx commands which reactivated the
graphics interface.  I then checked which directories
contained the packages from the tce-load command,
and inputted a modified /opt/.filetool.lst file:

Code: [Select]
opt/.filetool.lst
home
etc/password
etc/shadow
usr/local/etc/cups
usr/local/share
usr/local/lib
usr/local/bin
usr/local/tce.installed

(It's worth noting that although the cups subdirectory wasn't
 initially present, but will be required for future printer installation,
 it should be created now, so that the backup procedure works properly).

With the new /opt/.filetool.lst   in place, and with backup being executed in
the normal way,  everything held together on reboot, and the graphics works fine.

I installed htop, and it showed that 61mb of the net 118mb available were in use.

******************************************************************
Thanks yet again to the Tiny Core experts who commented and help me blunder my
way through to a successful conclusion !!

Len E.

    [EDIT]: Added code tags.  Rich
« Last Edit: March 22, 2018, 08:52:01 PM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11581
Re: Problems Installing CorePlus 9.0 on a small machine
« Reply #8 on: March 22, 2018, 08:45:33 PM »
Hi Len E.
Sorry to break it to you, but you got it wrong. The following entries should not be in your  /opt/.filetool.lst  file:
Code: [Select]
usr/local/share
usr/local/lib
usr/local/bin
usr/local/tce.installed
Those directories get populated when extensions get loaded. There should be an  onboot.lst  file in your  tce  directory. It
contains a list of extensions to load automatically when the system boots. Dependencies for extensions should not be listed
in that file, the system will resolve those on its own.

If you haven't already, I recommend you take an hour to read this:
http://tinycorelinux.net/corebook.pdf
« Last Edit: March 22, 2018, 08:50:44 PM by Rich »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11043
Re: Problems Installing CorePlus 9.0 on a small machine
« Reply #9 on: March 23, 2018, 05:56:54 AM »
Indeed, putting binaries in the backup slows down boot and shutdown greatly.
The only barriers that can stop you are the ones you create yourself.

Offline Len E.

  • Newbie
  • *
  • Posts: 22
Problems Installing CorePlus 9.0 on a small machine
« Reply #10 on: March 23, 2018, 11:44:53 PM »
Hi Rich:

(re:  corebook.pdf:  I have it, and frequently refer to it on specific topics,
        but I haven't read it cover-to-cover.)

Your explanation of how those four directories get populated is an eye-opener.
The mechanism you've described affirms that files created during the installation
of extensions automatically persist after reboots.  Any persistence problems
which arise with extensions are with files created during run-time execution
of them.

The extraneous directory entries in my .filetool.lst are based on my now-eliminated
ignorance of this distinction just described.  In particular, my earlier post on
"How to make printer configurations persist" reflects my thrashing around not
knowing this.

I've noticed now, and failed to notice before, that the Apps descriptions of cups,
hplip, and gutenprint have statements about how "To persist across boots".

Accordingly, I know now that only the 1st 5 statements in the .filetool.lst I described
above are relevant, and they are what I'll continue with going forward.

Thanks for clearing all this up !!

Len E.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11581
Re: Problems Installing CorePlus 9.0 on a small machine
« Reply #11 on: March 24, 2018, 12:00:08 AM »
Hi Len E.
You are welcome.

Quote
I've noticed now, and failed to notice before, that the Apps descriptions of cups,
hplip, and gutenprint have statements about how "To persist across boots".
It's always a good idea to read the descriptions in case there are any special instructions or hints listed.