WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: instructions for installing please  (Read 17189 times)

Offline Jail Bill Gates

  • Jr. Member
  • **
  • Posts: 57
instructions for installing please
« 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?

Offline corezoo

  • Newbie
  • *
  • Posts: 33
Re: instructions for installing please
« Reply #1 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

Offline Jail Bill Gates

  • Jr. Member
  • **
  • Posts: 57
Re: instructions for installing please
« Reply #2 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

Offline Jail Bill Gates

  • Jr. Member
  • **
  • Posts: 57
Re: instructions for installing please
« Reply #3 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

Offline Jail Bill Gates

  • Jr. Member
  • **
  • Posts: 57
Re: instructions for installing please
« Reply #4 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

Offline Leee

  • Full Member
  • ***
  • Posts: 122
Re: instructions for installing please
« Reply #5 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:
  • What CPU?  The specific model isn't that big a deal, but is it Intel/AMD and is it 64-bit capable?
  • How much RAM
  • Is the system currently running Windows?  If so, do you want to dual boot?  Do you want to install onto the hard disk at all?  Tiny Core runs really nicely from a USB stick with the only downside being that physical "thingy" protruding from the box just waiting to get broken off.  :)
  • If using the hard disk, and you want to preserve what's on it, what is the filesystem type on it?
  • Does it have wired internet access and if so, does that work when booting from the CD?

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.

core 15.0 x86_64

Offline Jail Bill Gates

  • Jr. Member
  • **
  • Posts: 57
Re: instructions for installing please
« Reply #6 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
« Last Edit: January 04, 2021, 09:02:50 PM by Jail Bill Gates »

Offline Leee

  • Full Member
  • ***
  • Posts: 122
Re: instructions for installing please
« Reply #7 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.
core 15.0 x86_64

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11624
Re: instructions for installing please
« Reply #8 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

Offline Jail Bill Gates

  • Jr. Member
  • **
  • Posts: 57
Re: instructions for installing please
« Reply #9 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?

Offline Leee

  • Full Member
  • ***
  • Posts: 122
Re: instructions for installing please
« Reply #10 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.
core 15.0 x86_64

Offline Leee

  • Full Member
  • ***
  • Posts: 122
Re: instructions for installing please
« Reply #11 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!     :)
core 15.0 x86_64

Offline Jail Bill Gates

  • Jr. Member
  • **
  • Posts: 57
Re: instructions for installing please
« Reply #12 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

Offline Leee

  • Full Member
  • ***
  • Posts: 122
Re: instructions for installing please
« Reply #13 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
core 15.0 x86_64

Offline Jail Bill Gates

  • Jr. Member
  • **
  • Posts: 57
Re: instructions for installing please
« Reply #14 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?