Tiny Core Linux

General TC => General TC Talk => Topic started by: ulfr on June 16, 2018, 12:41:19 PM

Title: improvements to tinycore
Post by: ulfr on June 16, 2018, 12:41:19 PM


    hi tinycore team and everyone
    tinycore is the greatest
    by far the best designed distro there is
    i love tinycore

    i would like to make it even better
    but alas my coding skill are minimal 
    so any help would be appreciated 

    these are some things i am working on

    i would like to include a boot code
    that allows multiple home tce and opt directories
    to be created on the same drive

    for example
    home1=sda1 tce1=sda1 opt1=sda1 
    or
    home2=sda1  tce2=sda1  opt2=sda1 
   
    i do this now but i have to rename them when i want to change them

    this would allow multiple setups
    that one could choose at each boot
 
    another advantage is that /home would not be tinycore home
    as other distros also use /home
    and if they are on the same drive
    they can become confused
   
    to be continued

    thanks everyone 

    ulfr
Title: Re: improvements to tinycore
Post by: ulfr on June 16, 2018, 12:49:53 PM

    another thing i am working on
    is using the live usb
    that holds tinycore
    to have home tce and opt on it
 
    i have made a 1 gig ext2 image file
    and put it on the usb
    i can -o loop symlink to it
    but so far havent been able to make it hold home 

    there is code in puppy linux for this
    and i am trying to figure it out 
    but like i said i have limited abilities

    to be continued 

    thanks

    ulfr   


 
Title: Re: improvements to tinycore
Post by: curaga on June 16, 2018, 01:57:34 PM
Multiple tce dirs are already supported, you can include the name in your bootcode. "tce=sda1/mytce"

Home and opt do expect the dirs to be traditionally named, yes.
Title: Re: improvements to tinycore
Post by: ulfr on June 16, 2018, 02:42:16 PM


  thanks curaga

  i did not know about the tce
  that helps

  ulfr 
Title: Re: improvements to tinycore
Post by: CentralWare on June 16, 2018, 11:38:16 PM
@ulfr: If you use filetool.sh to back up your changes to opt or home, technically all you'd need was multiple TCE's as the filetool backup is saved in your tce directory.

@curaga: Do you remember if the tce=path supported sub-directories (ie: tce=sda1/resources/tce1)
Title: Re: improvements to tinycore
Post by: curaga on June 17, 2018, 06:22:49 AM
Sorry, don't remember.
Title: Re: improvements to tinycore
Post by: coreplayer2 on June 17, 2018, 07:06:04 AM
Do you remember if the tce=path supported sub-directories (ie: tce=sda1/resources/tce1)
From my most frequently used boot config file
Code: [Select]
tce=UUID="b313c2c4-fedf-4c44-bf42-6a6fca54b311"/tc9-x86
tce=UUID="b313c2c4-fedf-4c44-bf42-6a6fca54b311"/tc9-x86_64

So definitely one level but iirc only one level down available...
Title: Re: improvements to tinycore
Post by: CentralWare on June 17, 2018, 09:04:38 PM
Thanks guys!
Title: Re: improvements to tinycore
Post by: ulfr on June 17, 2018, 11:36:23 PM

    i really dont know what you guys are saying
    my knowledge is too limited

    however renaming home tce and opt files works just fine
    if i got real lazy i could just use a script

    i will keep working on things
    in my slow and inexpert way 
   
    thanks for tinycore
    its the greatest

    ulfr