Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Mera on November 06, 2018, 02:34:49 AM

Title: New to Tiny Core
Post by: Mera on November 06, 2018, 02:34:49 AM
I recently learned about Tiny Core and it looks great for my well kinda ancient laptop, ASUS X56T. However after making a bootable USB with the Tiny core 9.0 iso (x86 version) I get the command line, while I thought it's supposed to have a graphical interface. Did I choose the wrong version? Or do you always start with a command line? And if so how do I get to the graphical interface.
Title: Re: New to Tiny Core
Post by: Juanito on November 06, 2018, 02:55:31 AM
"startx"

How did you create the bootable usb stick?
Title: Re: New to Tiny Core
Post by: Mera on November 06, 2018, 03:45:51 AM
With the Yumi-2.0.5.8 multiboot UUI https://www.pendrivelinux.com/yumi-multiboot-usb-creator/  (https://www.pendrivelinux.com/yumi-multiboot-usb-creator/) and the TinyCore-9.0 iso file
Title: Re: New to Tiny Core
Post by: Juanito on November 06, 2018, 04:23:07 AM
what does the following give:
Code: [Select]
$ showbootcodes
$ cat ~/.xsession
Title: Re: New to Tiny Core
Post by: curaga on November 06, 2018, 10:42:36 AM
Third-party installers often cause that. If you don't want to burn a cd, you could attach the stick to a VM, boot the CorePlus CD in that VM, and install to the stick there. There's also many ways to edit the install the third-party installer made, if you search the forum.
Title: New to Tiny Core
Post by: coreplayer2 on November 06, 2018, 10:58:27 AM
I have found that Yumi doesn’t work as expected with TinyCore

However, the Option 2 guide using Rufus portable works great
Here
http://wiki.tinycorelinux.net/wiki:install_usb_stepbystep?&#option_2


https://r.tapatalk.com/shareLink?share_fid=29079&share_tid=22290&url=http%3A%2F%2Fforum%2Etinycorelinux%2Enet%2Findex%2Ephp%3Ftopic%3D22290&share_type=t


Sent from my iPhone using Tapatalk
Title: Re: New to Tiny Core
Post by: Mera on November 07, 2018, 02:05:20 AM
Thanks, Rufus works... now to figure out the rest. Thank you. Like how to install it to my HDD, I can't seem to find any install options at all.
Title: Re: New to Tiny Core
Post by: Juanito on November 07, 2018, 02:15:19 AM
If you've created a bootable usb stick, you can use the tc-install extension to install to a hard disk.
Title: Re: New to Tiny Core
Post by: Mera on November 07, 2018, 04:47:19 AM
As you can tell I'm such a noob at this, but learning thankfully in this field is fun. So for web browsers....Not liking Firefox with them getting into political stuff. So what others would be usable? Brave, Palemoon, Waterfox(ubuntu 18.04 on my main rig hates it),  Qupzilla?
Title: Re: New to Tiny Core
Post by: Juanito on November 07, 2018, 04:52:36 AM
If you use the apps gui "tags" function and enter "browser", you'll get a list of the available web browser extensions.

The fifth browser was made with tinycore in mind.
Title: Re: New to Tiny Core
Post by: Mera on November 11, 2018, 04:32:13 AM
I only got a list of three, but I found both Palemoon and Opera, that will work just fine. Is it possible to install Discord? Then it would be complete.
Title: Re: New to Tiny Core
Post by: Juanito on November 11, 2018, 04:56:14 AM
I'm not sure how you got a list of three:
Code: [Select]
tce - Tiny Core Extension browser

         1. chromium-browser.tcz
         2. elinks-doc.tcz
         3. elinks-locale.tcz
         4. elinks.tcz
         5. epiphany.tcz
         6. fifth.tcz
         7. firefox-ESR.tcz
         8. firefox-nightly.tcz
         9. links.tcz
        10. midori.tcz
        11. opera-12.tcz
        12. otter-browser.tcz
        13. palemoon.tcz
        14. webkit-dev.tcz
        15. webkit-gir.tcz

Enter selection ( 1 - 18 ) or (q)uit, (n)ext, (p)revious: :
..I make that about ten  ;)

Anyway, the beauty of tinycore is that it is very hard to break anything that cannot be cured with a reboot - so go ahead and try discord and see what happens
Title: Re: New to Tiny Core
Post by: Mera on November 11, 2018, 05:28:43 AM
Thanks, though I can't find discord in the app list, is it OK to get it from the website?
Title: Re: New to Tiny Core
Post by: Juanito on November 11, 2018, 05:40:44 AM
That's what was meant by go ahead and try discord  :)
Title: Re: New to Tiny Core
Post by: Mera on December 05, 2018, 03:46:42 AM
Great. Now I wanted to look at g-parted, however it says it requires root privileges. I would need to set a password... How do I do that and is there a list with commands for Tiny core and what they do, or a tutorial of such?
Title: Re: New to Tiny Core
Post by: Juanito on December 05, 2018, 04:15:24 AM
You don't need to set a root password to use "sudo", but you can do so with "sudo passwd".

To run gparted, first read the info file and then "sudo gparted"

To get information on linux commands, google on "linux man page command_name".

To get information on tinycore commands see the wiki, book or search these forums.
Title: Re: New to Tiny Core
Post by: MikeFromPA on January 19, 2019, 12:02:22 AM
Allow me to preface this saying I really haven't used Linux since the first distro of Lindows was released, and haven't used the cli since DOS 6.2 and my Commodore Amiga days. So, long time for both.

I have found that Yumi doesn’t work as expected with TinyCore

However, the Option 2 guide using Rufus portable works great
Here
http://wiki.tinycorelinux.net/wiki:install_usb_stepbystep?&#option_2


Took me a day of searching the site to find this excellent post!  I tried Yumi, core2usb, isotousb, and a few others, including rufus.  Now that I know what to modify, boots into the gui.

NOW the problem is, when I install it onto the harddrive, it asks which folder to copy extensions from. Huh, that's a GREAT question! Where *are* the extensions located?  I download the newest core to install from the web, take the default suggestions for everything else.  I leave the extension box empty because I don't know what subdirectory to find them in.  I hit my install button, goes to the hd like a champ!

I then shutdown the system, remove the usb drive, power on, and am back at the tc$box.  :P
Title: Re: New to Tiny Core
Post by: Pats on January 19, 2019, 12:24:08 AM
Last post by MikeFromPA :
Quote
... I then shutdown the system, remove the usb drive, power on, and am back at the tc$box. 

The default folder where ext / packages are stored is /tce/optional .

... But better option is to read the book on TCL is :
http://tinycorelinux.net/book.html
Title: Re: New to Tiny Core
Post by: Juanito on January 19, 2019, 02:31:20 AM
As long as you have a wired connection you can download the extensions you need to get you to a gui on your hd install:
Code: [Select]
$ tce-load -wil Xvesa flwm wbar aterm
$ startx
Title: Re: New to Tiny Core
Post by: MikeFromPA on January 19, 2019, 06:03:40 AM
Quote

The default folder where ext / packages are stored is /tce/optional .

... But better option is to read the book on TCL is :
http://tinycorelinux.net/book.html


I saw that on the usb drive.  When I went to install it on the sda1, I put that in the install program, and it returned the message usb drive could not be initialized.
Title: Re: New to Tiny Core
Post by: Rich on January 19, 2019, 06:25:47 AM
Hi MikeFromPA
... NOW the problem is, when I install it onto the harddrive, it asks which folder to copy extensions from. ...
That would be the  cde  directory of the ISO.
Title: Re: New to Tiny Core
Post by: Pats on January 19, 2019, 06:33:26 AM
Quote
...and it returned the message usb drive could not be initialized.

Pl decide , if you want to install on HDD , USBdrive or prestine mode.
Pl read bootcodes , UUID , booting from USB or HDD , perstency , backup  etc  portion from wiki or the book , it may help if you are not aware abt it. :)

Also search on the forum itself for prvs post of the same subject.

Best Luck !
Title: Re: New to Tiny Core
Post by: coreplayer2 on January 19, 2019, 06:39:31 AM
NOW the problem is, when I install it onto the harddrive, it asks which folder to copy extensions from. Huh, that's a GREAT question! Where *are* the extensions located?  I download the newest core to install from the web, take the default suggestions for everything else.  I leave the extension box empty because I don't know what subdirectory to find them in.

Installing to a HDD is the exactly same as installing to a USB drive. 

Depending on what OS you're used too, Linux will most likely feel totally alien which is how it felt for me in the beginning as i recall..

What you need to know about TinyCoreLinux is the root file system is created in memory into which all media (like Hard drives, USB drives and CD's) and everything else is copied to or is mounted. By convention the structure is:
Code: [Select]
/
|-- bin
|-- dev
|-- etc
|-- home
|-- init
|-- lib
|-- mnt
|-- opt
|-- proc
|-- root
|-- run
|-- sbin
|-- sys
|-- tmp
|-- usr
`-- var

"/mnt" is where you'll find temporarily mounted file systems from HDD's etc., etc.   
Therefore if you're trying to copy all extensions from a USB thumb drive "/mnt/sdb1/tce/optional" is where you'll likely find them.

To find where your tcz (extensions) are located, use the "find" command
Code: [Select]
sudo find / -iname "*tcz"
Title: Re: New to Tiny Core
Post by: MikeFromPA on January 19, 2019, 07:27:19 AM
Hi MikeFromPA
... NOW the problem is, when I install it onto the harddrive, it asks which folder to copy extensions from. ...
That would be the  cde  directory of the ISO.

OK, so according to the http://wiki.tinycorelinux.net/wiki:install_usb_stepbystep?&#option_2 page, I changed the cde to tce, so I know what you're talking aboot.

I tried using the /optional folder on the usb boot drive, but as I went to install, I received a message saying the usb drive couldn't be initialized.

I only know (maybe) of 1 desktop Linux file manager, Komando (??) which I didn't find in the apps search, which I was hoping to use to manually copy files from the /optional folder onto my harddrive.

I guess after being this long winded, the question I have is how do I get the desktop to load automagically after I install tinycore to the hard drive. If it were DOS, there would be an autoexec.bat file that would do the trick as far as scripting.
Title: Re: New to Tiny Core
Post by: Rich on January 19, 2019, 07:43:56 AM
Hi MikeFromPA
Quote
I tried using the /optional folder on the usb boot drive, but as I went to install, I received a message saying the usb drive couldn't be initialized.
You went too deep. Point it to the  cde  (or tce if you renamed it) directory.
Title: Re: New to Tiny Core
Post by: coreplayer2 on January 19, 2019, 07:47:02 AM
Ok MikeFromPA,

After finding the path to your current USB installation, it's simply a matter of copying the entire USB/tce directory to the HDD

Assuming the path to your USB tce directory is "/mnt/sdb1/tce"  and
path to HDD partition 1 is /mnt/sda1
then use "cp" command to copy tce directory and all it's contents from USB install to the HDD partition of the new installation. 

This is just an example, always, always, always verify the path of both source and destination
Make sure both source and destination drive/partitions are mounted
Code: [Select]
mount /dev/sda1
sudo cp -a /mnt/sdb1/tce /mnt/sda1

The operation might be safer if you created a tce directory on the HDD then copy the entire contents of the USB tce directory (or as Rich suggested the contents of the ISO cde directory).to the newly created HDD tce directory.
Code: [Select]
mount /dev/sda1
sudo mkdir /mnt/sda1/tce
sudo cp -a /mnt/sdb1/tce/* /mnt/sda1/tce

Remember:  always, always, always verify the path of both source and destination to prevent overwriting important data
Title: Re: New to Tiny Core
Post by: coreplayer2 on January 19, 2019, 07:54:59 AM
I only know (maybe) of 1 desktop Linux file manager, Komando (??) which I didn't find in the apps search, which I was hoping to use to manually copy files from the /optional folder onto my harddrive.

You can use APPS / Tags to search for "File Manager" where I found 9 file managers in TC-9 x86 library
I obviously prefer "SpaceFM"  The best Tabbed file manager  ;D