Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Jail Bill Gates on January 02, 2021, 09:12:17 PM

Title: instructions for installing please
Post by: Jail Bill Gates on January 02, 2021, 09:12:17 PM
Hi
I found an old CD with written on it is “Linux core small” I believe this is the shell based operating system
Is there anywhere I can get instructions to install it please?
Title: Re: instructions for installing please
Post by: corezoo on January 04, 2021, 02:56:16 PM
Hi JBG,
An up to date version may be beneficial.
Information sources include:
http://tinycorelinux.net/corebook.pdf
http://tinycorelinux.net/install.html

If you are not familiar with tiny core please read the handbook to understand the concepts.

To answer your question, if you can boot the CD, the kernel and the initrd can be copied to a hard drive
but a boot loader would be needed. Grub2 and Syslinux work.

If coreplus is used it has helpful utilities to "install" TCL.

Hope this helps,
Joe
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 04, 2021, 06:11:04 PM
Hi JBG,
An up to date version may be beneficial.
Information sources include:
http://tinycorelinux.net/corebook.pdf
http://tinycorelinux.net/install.html

If you are not familiar with tiny core please read the handbook to understand the concepts.
Thanks for the links. I see there is a lot there to read

To answer your question, if you can boot the CD, the kernel and the initrd can be copied to a hard drive
but a boot loader would be needed. Grub2 and Syslinux work.
What are you saying hear?
Are you saying that the CD I have is a live CD and all that is required is that it is copied onto a hard drive and it should boot. Doing it that way as oposed to installing from CD to hard drive
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 04, 2021, 07:43:23 PM
Information sources include:
http://tinycorelinux.net/install.html
That is for the wrong oporating system!
The one I have is a command line only
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 04, 2021, 07:57:54 PM

http://tinycorelinux.net/corebook.pdf
I think this artical is the one for the OS I have
It mentions

Tiny Core is different because users are not encouraged to perform
a
traditional
, hard-drive installation of the operating system. Sure,
a hard drive installation is possible, but Tiny Core is designed to
run from a RAM copy created at boot time. Besides being fast, this
protects system files from changes and ensures a pristine system on
every reboot. Easy, fast, and simple renew-ability and stability are
principle goals of Tiny Core.


I have run linux mint OS off of CD before (live CD) and they are no good. Booting the OS from CD; they are just to slow
Title: Re: instructions for installing please
Post by: Leee on January 04, 2021, 08:24:21 PM
Hi JBG,

Since you mentioned that this is "an old CD", lets find out exactly what  you have.

If you've booted from the CD, please run the following commands and post the results:
Code: [Select]
version
uname -a

If you are not running whatever is on the CD, please post a directory listing of the /boot directory of the CD, including file dates.

Also, to help with installing, it would help to know a little about the computer you want to install it onto and how you want to use it.  For instance:

The GUI installation of Tiny Core (referred to as "Tiny Core") literally -is- the same as the command line installation (referred to as "Core", which is tinier) but with a few additional software packages ("extensions") loaded to provide the graphical user interface.

Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 04, 2021, 09:01:04 PM
Hi Lee the system says its 11.1
I do not know the terminal codes to tell me what speck it has on it. But it has linux mint fx installed on it so it will need two operating systems on the HDD?
The machine also has a land card installed in the mother board and is a 32 bit (has a windows xp sticker on it, but no win xp OS installed)
Thanks
JBG
Title: Re: instructions for installing please
Post by: Leee on January 04, 2021, 10:25:43 PM
I'm not particularly familiar with Linux Mint, but it must have a boot loader installed, so it should  be trivial to configure it to use either of Linux Mint or Tiny Core...  Without having spent much effort googling Linux Mint, it looks to me like it's probably using the grub2 bootloader.

Assuming grub2 is in use, there's probably a GUI tool in Linux Mint that will let you fiddle with the grub configuration.  Unfortunately, I know -nothing- about that process as I go old-school and just edit grub.cfg with a text editor...

And I literally just today learned some of the ins and outs of grub2.  I previously used grub4dos for many years and grub2 turns out to be nicer but the config files for the two are significantly different.

The end result you want is for grub2 to have a menuentry either directly in grub.cfg or in some file included by grub.cfg, that looks something like this:

Code: [Select]
#  The following assumes that the kernel ( vmlinuz ) and initrd ( core.gz ) and
#  the tce directory are all in /boot/core11.1/  on the boot disk
#
#  /boot/core11.1/  should be owned by root:root
#  /boot/core11.1/tce  and everything in it should be owned by tc:staff
#
#  /boot/core11.1/tce  can be empty at first boot - maybe even doesn't have to be there
#  at first boot.  I always create it because I usually copy some stuff into it.
#
#  The below assumes that the kernel is in file vmlinuz.  If that's not the case, you have a seriously old CD.
#  Likewise assuming the initrd is in core.gz.



# the bit in quotes in the menuentry line is what will appear in the grub2 boot menu
# the --id value is how you specify the menu entry when setting a default or fallback menu selection
menuentry "core 11.1" --id core11.1 {
  #  I  often keep a museum of previous Tiny Core versions on hand so each gets it's own directory
  COREDIR=core11.1
  # and each  Tiny Core version can have either a 32 bit or 64 bit config so TCE might be either tce or tce64
  TCE=tce

  #  CHANGE THIS value to the UUID of your boot disk ( use  blkid /dev/sd??  to find it)
  BOOTFSUUID="093a03df-90b3-4383-a3e7-798f63f377bd"

  search --no-floppy --fs-uuid --set-root ${BOOTFSUUID}

  #  these two lines just keep the "linux" line from being absurdly long
  WAITUSB="waitusb=30:UUID=${BOOTFSUUID}"
  TCESPEC="tce=UUID=${BOOTFSUUID}/boot/${COREDIR}/${TCE}"

  linux  /boot/${COREDIR}/vmlinuz ${GENERALOPTS} ${WAITUSB} ${TCESPEC} ${BLACKLIST}
  initrd /boot/${COREDIR}/core.gz
}

If you have over 4GB of RAM (probably not, on an old XP box), you probably want to use a 64 bit version of Tiny Core, which is probably not what's on that CD.  11.1 is the current version of Tiny Core, so I guess the CD isn't -that- ols.  I was afraid you had a 4.x CD or some such.    :)

Final thought: If the computer can boot from a USB stick, -please- configure a bootable USB stick and get it working first.  You may need to fiddle with the BIOS setting to allow USB booting.
Title: Re: instructions for installing please
Post by: Rich on January 04, 2021, 10:40:41 PM
Hi Leee
... I was afraid you had a 4.x CD or some such.    :) ...
Hey, the machine I post from is running 4.x. ;D
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 05, 2021, 03:36:20 AM
I'm not particularly familiar with Linux Mint, but it must have a boot loader installed, so it should  be trivial to configure it to use either of Linux Mint or Tiny Core...  Without having spent much effort googling Linux Mint, it looks to me like it's probably using the grub2 bootloader.

Assuming grub2 is in use, there's probably a GUI tool in Linux Mint that will let you fiddle with the grub configuration.  Unfortunately, I know -nothing- about that process as I go old-school and just edit grub.cfg with a text editor...

And I literally just today learned some of the ins and outs of grub2.  I previously used grub4dos for many years and grub2 turns out to be nicer but the config files for the two are significantly different.

The end result you want is for grub2 to have a menuentry either directly in grub.cfg or in some file included by grub.cfg, that looks something like this:

Code: [Select]
#  The following assumes that the kernel ( vmlinuz ) and initrd ( core.gz ) and
#  the tce directory are all in /boot/core11.1/  on the boot disk
#
#  /boot/core11.1/  should be owned by root:root
#  /boot/core11.1/tce  and everything in it should be owned by tc:staff
#
#  /boot/core11.1/tce  can be empty at first boot - maybe even doesn't have to be there
#  at first boot.  I always create it because I usually copy some stuff into it.
#
#  The below assumes that the kernel is in file vmlinuz.  If that's not the case, you have a seriously old CD.
#  Likewise assuming the initrd is in core.gz.



# the bit in quotes in the menuentry line is what will appear in the grub2 boot menu
# the --id value is how you specify the menu entry when setting a default or fallback menu selection
menuentry "core 11.1" --id core11.1 {
  #  I  often keep a museum of previous Tiny Core versions on hand so each gets it's own directory
  COREDIR=core11.1
  # and each  Tiny Core version can have either a 32 bit or 64 bit config so TCE might be either tce or tce64
  TCE=tce

  #  CHANGE THIS value to the UUID of your boot disk ( use  blkid /dev/sd??  to find it)
  BOOTFSUUID="093a03df-90b3-4383-a3e7-798f63f377bd"

  search --no-floppy --fs-uuid --set-root ${BOOTFSUUID}

  #  these two lines just keep the "linux" line from being absurdly long
  WAITUSB="waitusb=30:UUID=${BOOTFSUUID}"
  TCESPEC="tce=UUID=${BOOTFSUUID}/boot/${COREDIR}/${TCE}"

  linux  /boot/${COREDIR}/vmlinuz ${GENERALOPTS} ${WAITUSB} ${TCESPEC} ${BLACKLIST}
  initrd /boot/${COREDIR}/core.gz
}

If you have over 4GB of RAM (probably not, on an old XP box), you probably want to use a 64 bit version of Tiny Core, which is probably not what's on that CD.  11.1 is the current version of Tiny Core, so I guess the CD isn't -that- ols.  I was afraid you had a 4.x CD or some such.    :)

Final thought: If the computer can boot from a USB stick, -please- configure a bootable USB stick and get it working first.  You may need to fiddle with the BIOS setting to allow USB booting.


Great!
So where do we go from hear?
Title: Re: instructions for installing please
Post by: Leee on January 05, 2021, 04:54:30 AM
Hi Leee
... I was afraid you had a 4.x CD or some such.    :) ...
Hey, the machine I post from is running 4.x. ;D


Yeah I was kind of poking myself there as I only very recently upgraded my last 4.7.7 install... and I might still end up reverting as I'm having trouble getting samba to work on 11.1 ... of course it's been -that- long since I fooled around with installing/configuring samba.
Title: Re: instructions for installing please
Post by: Leee on January 05, 2021, 05:22:15 AM
Great!
So where do we go from hear?

For a hard disk install:  Were you able to locate your grub.cfg file and can you post it hear?

For a USB stick install: Do you have new (or disposable) USB stick?  It should be at least 256 MB to allow room for downloading extensions.  Of course, larger will do if you can't find one that small!     :)
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 05, 2021, 06:53:19 PM
For a hard disk install:  Were you able to locate your grub.cfg file and can you post it hear?
No how do you locate it please?

For a USB stick install: Do you have new (or disposable) USB stick?  It should be at least 256 MB to allow room for downloading extensions.  Of course, larger will do if you can't find one that small!     :)
To be honest I think the machine will be to old to boot from USB
Title: Re: instructions for installing please
Post by: Leee on January 07, 2021, 04:31:04 PM
Hi JBG,

Sorry to disappear like that for a few days - I had some "IRL" issues pop up.

Locate grub.cfg with
Code: [Select]
sudo find /mnt/sda1 -name grub.cfgsubstituting the appropriate mount point of your boot disk for /mnt/sda1
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 07, 2021, 07:42:16 PM
Hi JBG,

Sorry to disappear like that for a few days - I had some "IRL" issues pop up.

Locate grub.cfg with
Code: [Select]
sudo find /mnt/sda1 -name grub.cfgsubstituting the appropriate mount point of your boot disk for /mnt/sda1

Hi Lee

I have just typed that command into the terminal and it says "no such file or directory"
Just to confirm that this not a typo. I have written this out on a piece of paper and now inputing it hear with keyboard (no copy and paste)

sudo find /mnt/sdal -name grub.cfg

IRL?
Title: Re: instructions for installing please
Post by: Leee on January 08, 2021, 03:51:00 AM
The find command you have written out is correct.  I suspect the disk just isn't mounted, especially if you booted from CD.

Please run
Code: [Select]
blkid /dev/sd??and post the device(s) listed (/dev/sda1 /dev/sdb1 etc) and the LABEL and TYPE for each

Code: [Select]
mount |grep /dev/sdand post the device(s) listed and their mount points.


IRL="in real life", the physical non-online world.
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 10, 2021, 04:17:00 PM
The find command you have written out is correct.  I suspect the disk just isn't mounted, especially if you booted from CD.
Sorry for late reply but been away all weekend. You must be like me! dont have a smart phone


Please run
Code: [Select]
blkid /dev/sd??and post the device(s) listed (/dev/sda1 /dev/sdb1 etc) and the LABEL and TYPE for each
I ran that command but I dont understand what any of this mounting means so please see a screen shot attached




Code: [Select]
mount [color=red]|[/color]grep /dev/sdand post the device(s) listed and their mount points.
I dont even know what that symbol means

[attachment deleted by admin]
Title: Re: instructions for installing please
Post by: corezoo on January 10, 2021, 09:16:15 PM
Hi JBG,
Sorry I have not replied sooner, been busy.
Are you still trying to get the hard drive install to work?
I guess you want to keep Linux mint?
Tiny Core Linux is two files. core.gz which is the file system and vmlinuz which is the kernel.
Both are needed and both are on the CD.
You would need to boot into linux mint then run the CD to copy the files to a directory(folder) created on the hard drive.
ideally in / , the root directory, but you would need to sudo in mint to do that. perhaps name it tiny_core_linux.
To add tiny core to the boot menu it would be necessary to edit the /etc/grub.d/40_custom file as root.
This may take some explaining but I believe the code that Leee provided would work then run the command to update grub.
Hope this helps some,
Joe
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 11, 2021, 08:36:57 PM
If its all the same I think I will leave the instulation for now as it would all be a waste of time if I could not get the internet to work
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 20, 2021, 11:30:14 AM

To answer your question, if you can boot the CD, the kernel and the initrd can be copied to a hard drive
but a boot loader would be needed. Grub2 and Syslinux work.

Do you know how to check to see if Grub2 and Syslinux  are all ready installed?
How do you install it please? is it downloaded from the net or done on a CD/ USB stick?

Doing this method, can I still have 2 partisions on the HDD?
Title: Re: instructions for installing please
Post by: Juanito on January 20, 2021, 12:18:58 PM
I think it will be easier for you to use the tc-install-GUI or tc-install extensions
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 20, 2021, 03:50:07 PM
As long as I can partition the hard drive then let go with that!
Do you know how to do it please?
Title: Re: instructions for installing please
Post by: Rich on January 20, 2021, 05:15:39 PM
Hi Jail Bill Gates
Please download the  TCscan.sh  script found here:
http://forum.tinycorelinux.net/index.php/topic,23936.0.html

Then make it executable and run it:
Code: [Select]
chmod 775 TCscan.sh
./TCscan.sh

Attach the  TCscan_TIMESTAMP_.txt  file to your next post.  _TIMESTAMP_.  will be in the form of  YYMMDDHHMMS.
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 21, 2021, 10:02:06 AM
Hi Jail Bill Gates
Please download the  TCscan.sh  script found here:
http://forum.tinycorelinux.net/index.php/topic,23936.0.html

Then make it executable and run it:
Code: [Select]
chmod 775 TCscan.sh
./TCscan.sh

Attach the  TCscan_TIMESTAMP_.txt  file to your next post.  _TIMESTAMP_.  will be in the form of  YYMMDDHHMMS.

Thanks!
At the bottom of your post there is a link with 2 files to download. Do I download them on this machine burn to CD and transfer over to other machine somehow. Or do I download them from my web browser links in tiny core OS?
Title: Re: instructions for installing please
Post by: Rich on January 21, 2021, 10:08:08 AM
Hi Jail Bill Gates
... Or do I download them from my web browser links in tiny core OS?
Yes. You only need to download the  TCscan.sh  file.
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 21, 2021, 04:38:49 PM
Hi Jail Bill Gates
Please download the  TCscan.sh  script found here:
http://forum.tinycorelinux.net/index.php/topic,23936.0.html

Then make it executable and run it:
Code: [Select]
chmod 775 TCscan.sh
./TCscan.sh

Attach the  TCscan_TIMESTAMP_.txt  file to your next post.  _TIMESTAMP_.  will be in the form of  YYMMDDHHMMS.

I downloaded it and followed that command. but I cant see any time signature present
(PLease see the links)


https://ibb.co/0KqkvBq
https://ibb.co/cC62k2x
https://ibb.co/brbzjpX
https://ibb.co/CPHRqKr
Title: Re: instructions for installing please
Post by: Rich on January 21, 2021, 04:48:21 PM
Hi Jail Bill Gates
... but I can see any time signature present ...
The very last line in the fourth image you posted shows:
Quote
Results written to /home/tc/TCscan210121212313.txt
I may have a couple of the digits wrong because the text is partially obscured by that  IMAG0026.AVI  label.
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 21, 2021, 05:01:44 PM
I had better go and it it again then
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 21, 2021, 05:18:02 PM
theres something wrong with the browser!
Its no longer displaying the download links


https://ibb.co/XpPrWWQ
Title: Re: instructions for installing please
Post by: Rich on January 21, 2021, 08:08:08 PM
Hi Jail Bill Gates
Maybe you weren't logged in to the forum? Posted attachments are only visible if you are logged in.

The script and the file it produced should still be in your home directory.
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 22, 2021, 01:42:48 PM
Hi Jail Bill Gates
Maybe you weren't logged in to the forum? Posted attachments are only visible if you are logged in.
So it was!
https://ibb.co/f2DfxJx

The script and the file it produced should still be in your home directory.
How is that if I have rebooted the computer as it stores it to RAM?
Title: Re: instructions for installing please
Post by: jazzbiker on January 22, 2021, 02:03:58 PM
Hi, Jail Bill Gates!

The script and the file it produced should still be in your home directory.
How is that if I have rebooted the computer as it stores it to RAM?

You are free to do anything with Your data :). In TinyCore saving Your data is provided by filetool.sh utility.
Code: [Select]
filetool.sh -b
will save Your /home and /opt (by default) in your current /etc/sysconfig/tcedir directory and during the next boot this data will be restored.
Have You read "Into The Core" book?
Title: Re: instructions for installing please
Post by: corezoo on January 25, 2021, 09:35:24 PM
If I remember correctly we were running Core off the cd and have Linux Mint on the hdd. We were trying to determine if the hdd was being mounted
when we got side tracked by the "am I on the internet" thread.
As far as I know we have not set up any persistence or determined if we could write to the hdd.
I believe Linux Mint was to remain and an attempt to dual boot with Core "installed" on the hdd also.

Awaiting more information,
Joe
Title: Re: instructions for installing please
Post by: Rich on January 25, 2021, 09:51:52 PM
Hi corezoo
If I remember correctly we were running Core off the cd and have Linux Mint on the hdd. We were trying to determine if the hdd was being mounted ...
When booting from a CD, Tinycore will not automatically mount any drives it finds. It will add them as entries to  /etc/fstab
so they show up in the MountTool (mnttool) application.
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 26, 2021, 07:49:48 PM
So is it still possible to install it to HDD?
Title: Re: instructions for installing please
Post by: corezoo on January 27, 2021, 08:41:57 PM
Hi Rich,
Quote
When booting from a CD, Tinycore will not automatically mount any drives it finds. It will add them as entries to  /etc/fstab
so they show up in the MountTool (mnttool) application.

I'm confused about how this works. Hopefully I am not taking this out of context from "Into the Core"
Quote
Mount mode
Unless specified with a boot code of tce=xdyz Tiny Core will
search all drives on the computer and use the first /tce directory it
finds for storing/loading extensions.


Backup/restore
If the restore code is not used, Tiny
Core will search for mydata.tgz in available root directories at boot.

If TCL searches all drives for a TCE directory and/or a mydata.tgz file, are the drives or partitions mounted and searched?
Can TCL search without mounting? Are they then umounted if no files are found?

As far as I can tell from the previous posts, no boot parameters (restore=sdx home=sdx) were passed at boot time. Do these parameters tell TC to mount that partition?

When shutting down from CLI (poweroff) is it necessary to issue a backup command or is it done automatically like the default shutdown from the GUI? Would not the partition have to be mounted?

I believe JBG wanted to do a hdd install. Would not the tc-install.sh clobber the Linux Mint grub boot loader? I think that Linux Mint was to be kept and TC dual booted.

Establishing a TCL directory that the CD could access seemed like a useful interim step without having to explain editing grub in Mint so the changes made there would not be wiped out when Mint updates.
If restore=sdX/somedirectory (possibly restore=sda/home/JBG/TCL/core11_1) if the file was first created on the Mint system, would provide some persistence. This could also provide a space for the kernel and initrd so once grub is reconfigured TC could be booted from the hdd. Space permitting.

There are a few ways to accomplish what is desired, a hdd "install", but I am not doing a very good job of explaining how to do that.(:-(

Joe
Title: Re: instructions for installing please
Post by: corezoo on January 27, 2021, 09:02:32 PM
Hi JBG,
Quote
So is it still possible to install it to HDD?

Yes it is possible. It is more of a choice as to how you do it.
If you intend to keep Mint, you would need to use the Mint installed boot loader, grub2, to boot TCL.

It would be necessary to find the 2 files, vmlinuz, that is the kernel, and core.gz, that is the initial RAM disk that contains the tiny core files.
These are on the cd and would have to be copied to the hard drive to start the process. Preferably in a directory (folder) so you will know where to find them.
There are more steps but it can be overwhelming in the beginning.

Configuring the boot loader in Mint could be tricky but is not too bad once you do it once or twice.(;-)

Joe
Title: Re: instructions for installing please
Post by: Rich on January 27, 2021, 09:10:55 PM
Hi corezoo
If TCL searches all drives for a TCE directory and/or a mydata.tgz file, are the drives or partitions mounted and searched?
Can TCL search without mounting? Are they then umounted if no files are found? ...
I don't know the answer off the top of my head. The  tce  directory does have to be in the drives root directory for that
to work though.

Quote
... As far as I can tell from the previous posts, no boot parameters (restore=sdx home=sdx) were passed at boot time. Do these parameters tell TC to mount that partition? ...
Yes.

Quote
... When shutting down from CLI (poweroff) is it necessary to issue a backup command or is it done automatically like the default shutdown from the GUI? Would not the partition have to be mounted? ...
Yes, it is necessary to run a backup. There is no backup/restore when booting from a CD. When installed to writable
media, the drive containing  mydata.tgz  is already mounted.

Quote
... I believe JBG wanted to do a hdd install. Would not the tc-install.sh clobber the Linux Mint grub boot loader? I think that Linux Mint was to be kept and TC dual booted. ...
If you tell it to install to whole drive or install boot loader, I would say yes.
Title: Re: instructions for installing please
Post by: corezoo on January 27, 2021, 09:42:10 PM
Hi Rich,
Quote
The  tce  directory does have to be in the drives root directory for that
to work though.

Ok so when running off the CD it only looks at that drive, the CD, and a boot parameter would definitely be needed to use the hdd.
Hence the distinction between CDE and TCE.
I have used the tce=UUID=somelongstringofnumbersandletters/tcl/tce (I am not sure if the trailing tce is necessary) but the tce would have to be in the root directory to automatically find it if restore=UUID=.../ or restore=sdxy were used.
I would guess restore=sdxy/home/user/tcl/tce could work also?
I was trying help JBG have a place to save the output of TCscan.sh BTW thanks for creating that utility.
It has been so long since I booted off a CD it's hard to remember the details.(;-)

Joe
Title: Re: instructions for installing please
Post by: Rich on January 27, 2021, 10:08:04 PM
Hi corezoo
If you do not specify  tce=  then the system searches the root of each partition and uses the first one found.

This:
Code: [Select]
tce=UUID="543cac60-3224-4cab-b1d5-008407dd9ce8"and this:
Code: [Select]
tce=UUID="543cac60-3224-4cab-b1d5-008407dd9ce8"/tcemeans look for a directory called  tce  in the root of the partition with that UUID.

This:
Code: [Select]
tce=UUID="543cac60-3224-4cab-b1d5-008407dd9ce8"/tce64means look for a directory called  tce64  in the root of the partition with that UUID. This allows you to use a name
other than  tce.

This:
Code: [Select]
tce=UUID="543cac60-3224-4cab-b1d5-008407dd9ce8"/tcl/appsmeans look for a  tce  directory called  apps  in the  /tcl  directory of the partition with that UUID.

... I would guess restore=sdxy/home/user/tcl/tce could work also? ...
Only if that's a persistent directory. When booting from a CD the /home directory is in RAM and not persistent.
Title: Re: instructions for installing please
Post by: Jail Bill Gates on January 28, 2021, 04:53:20 PM

Yes it is possible. It is more of a choice as to how you do it.
If you intend to keep Mint, you would need to use the Mint installed boot loader, grub2, to boot TCL.

It would be necessary to find the 2 files, vmlinuz, that is the kernel, and core.gz, that is the initial RAM disk that contains the tiny core files.
These are on the cd and would have to be copied to the hard drive to start the process. Preferably in a directory (folder) so you will know where to find them.
There are more steps but it can be overwhelming in the beginning.

Configuring the boot loader in Mint could be tricky but is not too bad once you do it once or twice.(;-)

Joe
Which is easyer? doing it in mint or off of the CD?
Title: Re: instructions for installing please
Post by: corezoo on February 01, 2021, 08:07:06 PM
Hi JBG,
Sorry for the delay.
I found a DVD from a magazine with Linux Mint 18.3 and installed it to my older laptop. Also burned the core iso to a cd. This way I can follow what you are doing and hopefully be more useful in posting.

First off is the Mint issue.
Do you intend to keep and use Mint, keep it updated?
Do you know the password, can you access the root account?
In order to install Tiny Core along side Mint it would be necessary to boot from Mint. This would require editing Grub2 in Mint as root.

It is possible to boot off the CD and have some persistence, retaining your changes, this is very basic and others here may have a better way of doing this.

Boot the CD

Mount the hard drive, which I am guessing is sda1, the first partition of the first disk.
Code: [Select]
sudo mount /dev/sda1 /mnt/sda1
create a directory called "tce".
Code: [Select]
sudo mkdir /mnt/sda1/tce
Code: [Select]
reboot
check to make sure it worked.
Code: [Select]
ls /mnt/sda1/tce
There should now be items in the directory and the hard drive was mounted automatically during boot.
Changes made in the home directory, /home/tc and the opt directory, /opt can be saved before shut down.

When a program is downloaded using the app browser, tce-ab, choose on-demand so it can be saved to the tce directory.

The system will not issue a prompt to back the system as it does from the GUI. So it is essential to remember to do that manually.
To backup the system before shutting down.

Code: [Select]
filetool -b
I believe this will automatically restore saved data but would have to do more testing to confirm this.

I can walk you through installing to the hard drive and editing Mint to dual boot, as I did that today on my laptop.
If you intend to stay with the command line interface, it would be helpful to become familiar with the basic shell
commands like ls , cp , cd , etc. There are many resources on the internet for that.

Hope this helps,
Joe
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 04, 2021, 11:42:20 AM
Hi JBG,
Sorry for the delay.
I found a DVD from a magazine with Linux Mint 18.3 and installed it to my older laptop. Also burned the core iso to a cd. This way I can follow what you are doing and hopefully be more useful in posting.

First off is the Mint issue.
Do you intend to keep and use Mint, keep it updated?
Do you know the password, can you access the root account?
In order to install Tiny Core along side Mint it would be necessary to boot from Mint. This would require editing Grub2 in Mint as root.

It is possible to boot off the CD and have some persistence, retaining your changes, this is very basic and others here may have a better way of doing this.

Boot the CD

Mount the hard drive, which I am guessing is sda1, the first partition of the first disk.
Code: [Select]
sudo mount /dev/sda1 /mnt/sda1
create a directory called "tce".
Code: [Select]
sudo mkdir /mnt/sda1/tce
Code: [Select]
reboot
check to make sure it worked.
Code: [Select]
ls /mnt/sda1/tce

Nothing has happened!
https://ibb.co/vZ04p7p
Title: Re: instructions for installing please
Post by: corezoo on February 04, 2021, 09:21:38 PM
Hi JBG,
Sorry should have been as root
Code: [Select]
sudo rebootThat is what the "Operation not permitted" means, user TC does not have permission to use that command, only root.
Upon reboot or shut down and boot Core will automatically see the TCE directory and use it, mounting the first hard drive's first partition, no boot codes needed. Then try again.
Code: [Select]
ls /mnt/sda1/tce
This worked on my laptop and should work for you also.

If it is not working, we can try and figure out why.
Joe
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 05, 2021, 10:00:15 AM
for some reason it wont take the first command this time
https://ibb.co/zQNP8KQ
Title: Re: instructions for installing please
Post by: Rich on February 05, 2021, 10:46:02 AM
Hi Jail Bill Gates
That's because the operating system found a  /tce  directory and automatically mounted the partition (/dev/sda1) that
contained it. You don't need to mount it manually.
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 07, 2021, 08:40:43 AM
Hi JBG,
Sorry should have been as root
Code: [Select]
sudo rebootThat is what the "Operation not permitted" means, user TC does not have permission to use that command, only root.
Upon reboot or shut down and boot Core will automatically see the TCE directory and use it, mounting the first hard drive's first partition, no boot codes needed. Then try again.
Code: [Select]
ls /mnt/sda1/tce
This worked on my laptop and should work for you also.

If it is not working, we can try and figure out why.
Joe

I rebooted and tried the last command and hear is the resaults
https://ibb.co/w6DctfD
Title: Re: instructions for installing please
Post by: Juanito on February 07, 2021, 11:26:45 AM
You typed “mnt/sda1/tce” instead of “/mnt/sda1/tce”
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 07, 2021, 12:42:28 PM
No! I typed bough, have another look at it
the resault is show in purple and says "ondemand    /optional"
Title: Re: instructions for installing please
Post by: corezoo on February 07, 2021, 01:20:57 PM
Hi JBG,
There is much progress being made! Already it is possible to access other computers on the internet, download and use tiny core extensions, and some persistence has been established so changes can be saved without duplicating previous efforts.

It is helpful to understand what is happening. Also interpreting the messages the OS is giving, even when errors occur, is critical.

When booting from the CD without an available /tce directory the only media usable was the CD which is not writable now that an ISO image was burned to that disc.

Using the live CD operating system to make the hard drive usable by issuing the "mount" command.
Code: [Select]
sudo mount /dev/sda1 /mnt/sda1/This made the hard drive available for use. The next step was to create the /tce directory, that was done with the "mkdir" command.
Code: [Select]
sudo mkdir /mnt/sda1/tceTiny Core OS will use that directory but it has to see it at boot time, so the reboot was needed.
Code: [Select]
sudo reboot
Now that the OS sees the /tce directory, the hard drive will automatically be mounted when the CD is booted. This is why the error message was displayed because the hard drive was already mounted when trying to mount it manually was attempted.

As can be seen by issuing the "ls" command.
Code: [Select]
ls /mnt/sda1/tceThis lists the items in that directory. Since booting from a read only media, the CD, only the /ondemand and /optional directories are available.
Now when using tce-ab, if OnDemand is used, the extensions will be saved to the /optional directory and a file to load that extension will be placed in the /ondemand directory. Therefore negating the need to download these extensions every time the OS is shut down and rebooted.

In addition if the command to backup the system is issued,
Code: [Select]
/usr/bin/filetool.sh -bthe contents of /home and /opt will be saved and a mydata.tgz file will be created in the /mnt/sda1/tce directory. Anything in those directories will be available again after a shutdown and/or reboot.     

It would be helpful if you could share your thoughts on what you expect to happen versus what is happening.

All the best,
Joe
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 07, 2021, 03:14:46 PM
In addition if the command to backup the system is issued,
Code: [Select]
/usr/bin/filetool.sh -bthe contents of /home and /opt will be saved and a mydata.tgz file will be created in the /mnt/sda1/tce directory. Anything in those directories will be available again after a shutdown and/or reboot.     
https://ibb.co/88jW2nZ

It would be helpful if you could share your thoughts on what you expect to happen versus what is happening.
Would like to create a new partition on the hard drive for this O.S to run along side my current linux mint

Or format the hard drive and install this OS and partition it using mint, which ever is easyer because there is no data saved on the disk anyway

I would like to boot the OS from HDD1 and install programs link "links" to it
Title: Re: instructions for installing please
Post by: corezoo on February 08, 2021, 10:23:23 PM
Would like to create a new partition on the hard drive for this O.S to run along side my current linux mint Or format the hard drive and install this OS and partition it using mint, which ever is easyer because there is no data saved on the disk anyway I would like to boot the OS from HDD1 and install programs link "links" to it

Hi JBG,
The best way to install Tiny Core depends on many factors.
How much of the first partition is used by Mint and how much is available for Tiny Core to use?
What is the total size of the hard drive?
Is Mint stored on a single partition or several?
Space permitting Core can easily be stored in a directory in the root of Mint without creating a new partition.
TCL is very flexible as to where it can be installed.

Also now that you have found CorePlus, it might be preferable to use than rather than Core.

Is the password to access the root account in Mint known to you?

I would consider it beneficial to keep Mint installed but keep it updated.

I believe it is easier to initially set this up in Mint using Gparted to set up a new partition and then copy the needed files for Core and edit the grub2 configuration in Mint, if a separate partition for TCL is desired or if it were to reside in a directory in Mint.
Modifying Mint's Grub2 to boot TCL is not difficult but is easier and for updating the boot loader needed to be done in Mint.

Joe
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 09, 2021, 06:42:17 PM
Hi Joe

How much of the first partition is used by Mint and how much is available for Tiny Core to use? I dont know
What is the total size of the hard drive? 80GB
Is Mint stored on a single partition or several? single
Space permitting Core can easily be stored in a directory in the root of Mint without creating a new partition.
If that is easyer then I think we should go with that



Also now that you have found CorePlus, it might be preferable to use than rather than Core.
Think the OS is curup!

Is the password to access the root account in Mint known to you? yes
Title: Re: instructions for installing please
Post by: corezoo on February 10, 2021, 08:35:10 PM
Hi JBG,
Install instructions.
Boot into Mint and insert Core CD, click the "Ask what to do" box and choose "Open Folder" then click "OK".
In the left pane left click on "File System", in the right pane, right click on the empty space near the bottom and choose "open as root",
when prompted enter the password for root and click "Authenticate".

In the right pane right click the "tce" folder that was created before and choose delete, and confirm delete by clicking delete in the pop-up box.
This folder will be re-created.
In the right pane right click on any empty space and choose "Create New Folder". Name the folder "tcl" then press enter.
Double click on "tcl" to open that folder. Right click anywhere in the right pane and choose "Create New Folder". Name the folder "core11.1"then press enter.
Double click on "core11.1" and right click anywhere in the right pane and choose "Create New Folder". Name the folder "tce" then press enter.
In the left panel left click "core" under devices. In the right pane double click "boot".
Hold down the "ctrl" key and left click "core.gz" and then "vmlinuz", release "ctrl" key and right click either of the highlighted files and choose "copy".
In the left pane click "File System" then in the right pane double click "etc", then double click "tcl", then double click "core11.1".
Right click anwhere in the right pane and choose "paste". The two files, "core.gz" and "vmlinuz" should now appear there.
In the left pane click on "file system" then in the right pane double click "etc" to open that folder, double click on "grub.d" to open that folder.
Double click on the file "40_custom", chose display, insert the following after the last line:
Code: [Select]
submenu 'Tiny Core Linux' {
   menuentry 'Core 11.1' {
    linux /tcl/core11.1/vmlinuz tce=sda1/tcl/core11.1/tce
    initrd /tcl/core11.1/core.gz
 }
}
Save file and exit.
In the left pane click "file system" then in the right pane double click "etc", double click "default".
Double click the file "grub", not folder grub.d, find the line that says "Grub_Hidden_Timeout=0" and add an # before the "G".
This will allow the grub menu to be visible when grub starts.
It should look like this:
Code: [Select]
#GRUB_HIDDEN_TIMEOUT=0Save and exit.
Click the icon with ">_" at the bottom of the screen to open a terminal.
Type:
Code: [Select]
sudo update-grubPress the enter key and enter the root password when promted.
In the left pane, right click "Core" under devices and select eject and remove the CD.
Close all windows, click "menu" to shut down or reboot.

When the grub menu starts, use the down arrow key to highlight "Tiny Core Linux" and press enter
"Core11.1" should allready be highlighted since it is the only entry, press enter and Core should boot.

Don't forget "filetool.sh -b" before shutting done to save your files as it is not done automatically.
The downloaded extensions like "links" will be saved in the optional directory.

I am also attaching the text file I used to create this post.

All the best,
Joe
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 11, 2021, 11:45:06 AM


In the right pane right click the "tce" folder that was created before and choose delete, and confirm delete by clicking delete in the pop-up box.
I managed to open it as a root (what ever that dose!)
But there is no tce folder (please see attachment)
There is only a isolinux and a core zipped folder. I do not want to delete them in fear of loosing data

https://ibb.co/Gfm4951

PS No! its a burnt CD, how can you delete data from it


I have just tried right clicking over the 3 items and non of them can be deleted; they are all grey scale
Title: Re: instructions for installing please
Post by: corezoo on February 11, 2021, 08:23:32 PM
After opening the CD in a folder, left click "File System" in the left pane. That will show the Mint root system. Looking at the screen shot I noticed there is an additional "File System" under devices that I do not have on my system. The "File System" that needs to be left clicked is the one under "My Computer".

Also since progress has been halted at this point, there is an error in the "40_custom" code it should have a trailing "/" after the final "tce".
The edited "40_custom" grub code is
Code: [Select]
submenu 'Tiny Core Linux' {
   menuentry 'Core 11.1' {
    linux /tcl/core11.1/vmlinuz tce=sda1/tcl/core11.1/tce/
    initrd /tcl/core11.1/core.gz
 }
}

This will keep those files in their own directory.
I will attach an edited text file.
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 12, 2021, 10:23:16 AM
After opening the CD in a folder, left click "File System" in the left pane. That will show the Mint root system. Looking at the screen shot I noticed there is an additional "File System" under devices that I do not have on my system. The "File System" that needs to be left clicked is the one under "My Computer".
???
https://ibb.co/T1rXZjt
Title: Re: instructions for installing please
Post by: corezoo on February 12, 2021, 08:47:38 PM
Yes that is the Mint file system. Although not as root with elevated permissions.
Please try to follow the steps in order.
It also may be helpful to read through completely prior to performing the steps to get a feel for what is being attempted.
Care needs to be taken to ensure the correct outcome.
As can be seen when I failed to add the trailing "/", the result was different from what I had intended.

All the best,
Joe
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 13, 2021, 05:43:13 PM
is this what you mean?

https://ibb.co/qYfjbLb

https://ibb.co/KWz3dvS
Title: Re: instructions for installing please
Post by: corezoo on February 13, 2021, 08:49:56 PM
Hi JBG,
/root is the home folder for the system administrator.
The path or the box to the right of the arrows is where in the file system the right pane is located.
The folder icon with the "/" is the root file system, all other folders and files are under that.
For example
/
 >etc
   >grub.d
     >40_custom

left clicking on the "File System" under "My Computer"  in between "Downloads" and "Rubbish Bin" will show the highest point in the filesystem hierarchy.
This screen shot shows the root filesystem where the "tcl" folder should be created. It is also where "etc" exists.
https://ibb.co/T1rXZjt (https://ibb.co/T1rXZjt)
Hope this is some help.
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 14, 2021, 02:27:09 PM
You dont mean the folder with the / and no name to them do you
https://ibb.co/R9mt4hw
Title: Re: instructions for installing please
Post by: corezoo on February 14, 2021, 10:24:55 PM
Yes " / " is the name .
See the link (one of your screen shots) in my previous post it has "File System" highlighted in green.
At the very top it has the name /
And at the very bottom it says
"root" selected, Free space:52.4 GB
I also noticed the "tce" folder that was set up for the CD is not there.
The deletion of this file can be skipped in the instructions.
After reviewing my instructions I found another error I had made and corrected the text file.
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 15, 2021, 03:00:19 PM
Im not sure what I am supposed to do?
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 15, 2021, 03:01:22 PM
think it will easyer installing from boot CD rather then inside mint because I do not know what to do
Title: Re: instructions for installing please
Post by: corezoo on February 15, 2021, 08:17:51 PM
The Core CD does not contain .tcz file to install. It would have to be downloaded and I am not sure that will work either.
The instructions for that are outlined in the "into the core" book in chapter 2.

Referring to the previous post, if the steps are followed in order, skipping the line for deleting the now non-existent tce directory, Core will be installed on the hard drive.

I could explain each step as to what is being accomplished but so far both my explanations and instructions have proved inadequate for accomplishing the desired outcome.

I am at a loss as far as how to proceed.

All the best,
Joe
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 16, 2021, 12:55:41 PM
OK I think I should call it a day
Thanks anyway!
Title: Re: instructions for installing please
Post by: Jail Bill Gates on February 16, 2021, 01:03:01 PM
https://ibb.co/PYKW3Nb