Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: cast-fish on February 06, 2012, 01:24:51 PM

Title: tinycore
Post by: cast-fish on February 06, 2012, 01:24:51 PM
Hello

I downloaded "Tinycore" latest release.  (iso)

How do i install it or get it running?...(not using CD's or even Pen drives..)

my laptop has a 20 gig hard-drive with windowsXP on it.

thanks

V.
Title: Re: tinycore
Post by: cast-fish on February 06, 2012, 01:30:53 PM
Hello

i think what i mean is..

can i install TINYCORE to my hard drive....by simply clicking the iso on the windows Desktop?
(or linux desktop)

can "unetbootin" tool or something else achieve the above?

thanks

V.
Title: Re: tinycore
Post by: floppy on February 06, 2012, 02:00:09 PM
I dont think so...
I already have installed TC on a netbook which had XP on it (like you). I made xp and tc running in parallel. I made it in a manual way (not using tc-install when starting a multicore CD; but why not, it could be valuable to try that way for you). The pc is from a colleague, and Im writing from what I remember, so dont kill me if there are few unclear things here. I will edit and rework this post until your install will be done.
I made:
- defragment HDD with win xp
- re-defragment ..
- start a USB with gparted (or a CD with gparted) via tc or other OS then reduce the windows partition and create a ext4 partition for the tc files and tc extensions (2 gig should be enough). This partition should not be marked "boot".
- put the tc files (of the multicore.iso by using isomaster of of your usb stick on the ext4 partition): core.gz vmlinuz & diverse extensions like Xprogs wbar Xlibs.. see how to build here in this forum the full tc with core.gz and the extensions (in this step, perhaps it would be the opportunity to use tc-install for installing all files).
- create the multiboot xp/tc according http://forum.tinycorelinux.net/index.php/topic,11265.msg58975.html#msg58975 (http://forum.tinycorelinux.net/index.php/topic,11265.msg58975.html#msg58975)
- reboot
- choose the boot line for booting into tc
- make your tc setup (and create your backup)
hopefully this description is acceptable for you.
Title: Re: tinycore
Post by: cast-fish on February 06, 2012, 04:02:26 PM
Hello

Oh , seems complicated....i wondered if "unetbootin" would work?  (even on older TC versions like 3.7)

for a frugal hard drive install?

thanks

V.
Title: Re: tinycore
Post by: floppy on February 07, 2012, 02:45:43 PM
hello,

so far I remember, there was a person in this forum installing tc on ntfs partition ...
http://forum.tinycorelinux.net/index.php/topic,11555.msg61061.html#msg61061 (http://forum.tinycorelinux.net/index.php/topic,11555.msg61061.html#msg61061) AND the linked page..
http://forum.tinycorelinux.net/index.php/topic,7120.msg37616.html#msg37616 (http://forum.tinycorelinux.net/index.php/topic,7120.msg37616.html#msg37616)

So far I understand this post http://forum.tinycorelinux.net/index.php/topic,12231.msg65785.html#msg65785 (http://forum.tinycorelinux.net/index.php/topic,12231.msg65785.html#msg65785)
it is possible to install tc with "tc-install" on a ext4 boot partition, then chainload xp from the extlinux.conf file (in the case above is grub described; exytlinux should be identical). Perhaps quicker?
Title: Re: tinycore
Post by: cast-fish on February 07, 2012, 09:40:48 PM
hello

uh


ye...i kind of understand you

but i was just looking for a simple way to achieve my goal

a one lick program..

something like the program

core2usb    written for win32 desktop......(which puts the TCL iso file onto a PEN DRIVE and makes TCL bootable from PEN....)

i wanted a tool that when clicked from the desktop.....takes a TCL .iso file and installs that file onto the computers drive....and makes TCL bootable on that drive.

i understand what you post says.....it's just that non of that stuff is automated into
one simple tool.

UnetBootin *did* work for my goals...but i believe it only worked with TCL 3** and it
does not work with TCL  4***


Thanks

V.
Title: Re: tinycore
Post by: floppy on February 08, 2012, 03:24:32 PM
or install tcl on an usb stick and boot from there. this is quick and not so painfull.
You can re-use that usb on any pc.
my usb (in fac a SD card on usb adapter) can boot with diverse boot lines in extlinux.conf (different onbootx.lst and mydatax.tgz different boot codes..) diverse PCs I have around me in my daily life (pc at home, from friends etc.):
- asus bi-core K51AE
- samsung nc10
- hp6910
I personally dont know any other quicker install method.
Title: Re: tinycore
Post by: cast-fish on February 09, 2012, 02:18:03 PM
Hello

Ye, if you read my first post in this thread, you'll see it says "without CD's
or PEN drives"

To be honest....i just can't understand why TC team have not made this win32
desktop tool yet. Or indeed, a similar tool for the Linux desktop.

similar to Unetbootin...because Unetbootin no longer words with TC 4* i believe.

thanks

i will ask around

V.
Title: Re: tinycore
Post by: roberts on February 09, 2012, 02:29:23 PM
Quote
similar to Unetbootin...because Unetbootin no longer words with TC 4* i believe.

Unetbootin will work with one simple adjustment.
After Unetbootin copying is completed, change cde to tce
Voila
Title: Re: tinycore
Post by: Rich on February 09, 2012, 02:32:25 PM
H cast-fish
Quote
To be honest....i just can't understand why TC team have not made this win32
desktop tool yet. Or indeed, a similar tool for the Linux desktop.
Maybe because they are not interested in developing, debugging, and hosting Windows applications.
Title: Re: tinycore
Post by: cast-fish on February 09, 2012, 02:49:45 PM
Ahhh great

Unetbootin works for Frugal HD installs of TCL 4*?....super! 

ye...it would take me for ever to create a tool to do what i mention.

core2usb is a useful win32 tool...it works

thanks

i will proceed with unetbootin

V
Title: Re: tinycore
Post by: cast-fish on February 15, 2012, 04:33:42 PM
Markus

hello

i was wondering if your tool called "core2usb" will work from my windows
desktop to put TCL onto an external USB hard drive.

Would i just format the entire USB hard drive to ext3?
then follow the onscreen prompts?

thanks

Vince.
Title: Re: tinycore
Post by: bmarkus on February 15, 2012, 06:01:47 PM
Hi,

core2usb at the moment works only with FAT formatted partition as you can not create an ext3 partition on Windows and it installs a boot loader for FAT. What you do is to create a small, lets say 64MByte FAT partition at the beginning of the drive and leave empty remaining area, than install TC with core2usb. I haven't tried it on USB HD but expected to work. If so, you have a base TC system working. Now you can format the empty second partition to ext3/ext4 and move /tce dir from the fat system to the native LINUX partition. Reboot and ready.
Title: Re: tinycore
Post by: cast-fish on February 16, 2012, 12:24:31 AM
Markus

Ahh right....i see what you mean.

It's funny but i don't even remember thinking about these topics when fist using
"core2usb"...i just used common sense and it worked!

The first time i used "core2usb" was from a winXP desktop with a 2 gigabyte
pen drive plugged in. Now that pen drive *must* have been fat formatted then?
(funny because i almost remember making an ex3 partition for the task but the
pen must also have contained a FAT partition and that is what TCL used)

Markus, to be honest...i will give "core2usb" another try from the win32 desktop
with the 2 gig pen drive plugged up that contains only ONE empty FAT partition.
(see what happens)

DEpending upon the paragraph above outcome....i will then take this USB HARD DRIVE
and completely format it to FAT and maybe try the same as what's above....

OR ...i will follow your advice about the partitioning and shifting things around..and
see what happens.

Either way...the laptop can boot to PEN or to USB HARD DRIVE so things should be ok.

I have gained some success with TCL for watching web movies...it seems to work real
good for this simple task so i am back using TCL almost daily now....other stuff is fine
but web movies work perfectly with NO fuss "out of the box" and with a very high
picture quality even in Xvesa from "mplayer-nodeps".

I wonder if you know Markus?....does an "over sized" swap drive confuse TCL?....like a 3 gig
swap drive?.....i just wondered....

thanks

Vince.
Title: Re: tinycore
Post by: bmarkus on February 16, 2012, 01:21:53 AM
Quote
I wonder if you know Markus?....does an "over sized" swap drive confuse TCL?....like a 3 gig
swap drive?.....i just wondered....

You can not oversize a swap partition (guess you mean partition). Worst thing can happen that it is not used fully :)
Title: Re: tinycore
Post by: cast-fish on February 16, 2012, 05:24:57 AM
Markus

i see...

so is there any added advantage using a swap "file" with TCL.

My laptop already has a seperate 1 gig partition that is just for swap and is empty...

would it be possible to also include a swap "file" of say 512 meg in the same
drive as where the TCE folder is?

i was reading this article here...where is says swap "file" half way down.

any usefulness there for my laptop?

yes.

Vince.
Title: Re: tinycore
Post by: bmarkus on February 16, 2012, 05:40:57 AM
swap is used only when system is out of RAM. If you have enough RAM it may happen that system will not touch swap space, doesn't matter how much you have. All depends on available RAM and applications you are using. Check usage in a terminal with command free

Adding swap which will be never used doesn't hurt system but a lost resources.
Title: Re: tinycore
Post by: maro on February 16, 2012, 09:39:09 PM
Just to throw in my 2 cents ...

For me the question of swap file vs. swap partition is largely a matter of convenience. Lets say 10+ years ago I spend quite some time and effort in trying to find the "perfect balance" by creating a lot of different partitions for several Windows (98 + NT, later replaced by 2000) and Linux (e.g. SuSE) installations on a single 30 GB disk. It took a while and in hind sight I never got it right. Sure, all the different OS were booting, but somehow I always ran out of space in one file system and had maybe too much in another one. The swap partition for the Linux system was at one stage deemed particular "wasteful". In the end I've come to the conclusion that I tried to be too clever for my own good.

Nowadays I'd always prefer to use a swap file as I could put it on pretty much any file system (e.g. EXT[2-4], or even VFAT or NTFS) and (provided the file system it resides on is mounted) the swap file could become my swap space. No need to engage in re-partitioning to adjust sizes. If I need more swap space I can easily create a larger swap file, and if the file system it is currently on does not have the required additional space I might be able to shift it to somewhere else.

So, if you already have a swap partition and you are happy with it's size then by all means use it for TC. OTOH I for one would not want to create such a partition any more as I'd rather have only a minimal number of (larger) partitions on my disks.
Title: Re: tinycore
Post by: cast-fish on February 17, 2012, 12:35:54 AM
Maro

yes...

i understand your point and somewhat agree with your logic.

This laptop already has a swap partition but according to what i read, you can further improve
swapping performance by introducing an additional swap "file" or additional swap "partitions (preferrably on different physical devices)

when i tried to make a swap "file" in the same partition as TCE it did not seem to like the commands
so i will have to try it again.

I am merely trying to get some better performance from this laptop by using more than a single
swap (element)

thanks

VInce.
Title: Re: tinycore
Post by: Rich on February 17, 2012, 12:59:57 AM
Hi cast-fish
I doubt you will see any performance improvements by putting multiple swap files/partitions on the same drive
since the drive can only access one of them at a time. Although it's possible if the kernel can use multiple drives
for swap space, it could interleave reads and writes between drives for some gain in performance. Whether it
would even be noticeable is another question since accessing a drive is several orders of magnitude slower
than accessing RAM.
Title: Re: tinycore
Post by: bmarkus on February 17, 2012, 01:02:14 AM
Talking about performance, swap partitions is better than swap file. This is another question, whether you recognise the difference or not.
Title: Re: tinycore
Post by: cast-fish on February 17, 2012, 12:06:23 PM
Yes

thanks for the head up

nope...i don't really know the  difference or why it exists...."file" versus "partition"

i don't understand your theory about "magnitudes" and ram...

i honestly don't know

just now i started a "ram" drive in win32 and the improvement running APPS from it is so clear....(like you say about ram speeds)

i am not sure about TCL and how it treats stuff when in the exhausted RAM situation. (my ram is often exhausted)........i figured if my swapping is interleaved and therefor better....then it can only improve TCL's performance...

but like i say...i don't know....sorry

V.

Title: Re: tinycore
Post by: cast-fish on February 17, 2012, 12:25:14 PM
it this one  i used   (ImDisk Virtual Disk ) freeware in win32 

somehow i don't think TCL is the exact same principle as "ram drives" is it?

V
Title: Re: tinycore
Post by: Rich on February 17, 2012, 12:32:01 PM
Hi cast-fish
Quote
i don't understand your theory about "magnitudes" and ram...
Sorry, accessing swap on a hard drive is at least 100 to 1000 times slower than accessing swap in RAM.
Quote
just now i started a "ram" drive in win32 and the improvement running APPS from it is so clear...
If you are referring to the apps startup time, thats a one time boost you get at the expense of having the program
twice in RAM, once on the ramdisk and once in RAM where it is running. If you are referring to how fast the app
performs its function, that is most likely because whatever data files it works on were copied to the ramdisk.
Title: Re: tinycore
Post by: cast-fish on February 17, 2012, 01:10:09 PM
Ye

i dunno Rich...the whole darn thing just seems to fly in win32.....with that ram drive. I installed
chrome to it....and the whole  thing is improved....much

i guesse ,my theory above won't translate over to TCL at all.........i assume TCL manages ram much more differently....... and i never actually put a "swap file" into  ram...

V





Title: Re: tinycore
Post by: Rich on February 17, 2012, 01:36:46 PM
Hi cast-fish
You can set up a ramdisk under Linux, but there wouldn't be any point in putting a swap file on it since for every
Meg of RAM you allocate to it means one Meg less of RAM the kernel has to work with, which means one more
Meg it would be forced to swap.