WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: installing tiny core on second partition of USB  (Read 4254 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
installing tiny core on second partition of USB
« on: September 04, 2012, 05:34:21 AM »
I have been able to install tiny core on second partition(ext2) of my USB stick(16GB , first being fat 32 to be read on windows and linux OS).

Here is what I did
Code: [Select]
mounted coreplus.iso to /tinycorecd
gave /tinycorecd/boot folder for core.gz
selected frugal , existing partition , install boot loader , mark partition active bootable
waitusb=9 option
core and x desktop - nothing else selected

When I boot from USB , I get a 'tiny core' entry which on entering drops me to a prompt with $. no X window.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: installing tiny core on second partition of USB
« Reply #1 on: September 04, 2012, 06:00:01 AM »
Is the tce folder present and populated with extensions on your second partition?

What happens when you enter "startx"?

Offline ananix

  • Full Member
  • ***
  • Posts: 174
Re: installing tiny core on second partition of USB
« Reply #2 on: September 04, 2012, 07:12:06 AM »
try do a df and see if any real disks are mounted presumably not sounds like it cant find the tce directory, try adding boot code tce=sda2  or what ever partition you installed it on
« Last Edit: September 04, 2012, 07:14:57 AM by ananix »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: installing tiny core on second partition of USB
« Reply #3 on: September 04, 2012, 07:26:16 AM »
This is an example how I'm using my USB sticks.

Partitions:

1) Small, 64MByte FAT - primary 1

2) 1-2GByte LINUX Ext4 - primary 2 - Yes, journaling. USB stick is cheap and last long enough. YOr lost data and time due to non-journaling (ext2) file system is more valuable

3) Depending on the size, additional Ext4 partion(s)

First, TC installed on the FAT partition with core2usb, than tce directory is moved from the first partition to the LINUX partition. Reboot.

That's all. No any change in config files needed. Make sure no other tce directories on other TC readable partitions.



Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: installing tiny core on second partition of USB
« Reply #4 on: September 04, 2012, 07:53:55 AM »
Make sure you don't forget the 'waitusb=5' ( Or one of the LABEL/UUID versions ) boot option.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: installing tiny core on second partition of USB
« Reply #5 on: September 11, 2012, 04:36:07 AM »
'waitusb=9' helped

bmarkus  , you don't have any bigger partition of fat or fat32 .
You cannot copy much from computer with windows OS (hosting your USB) ?


Can I have multiple onboot.lst on same partition ?
Because I want one with ALSA while other with OSS .
I know , there is alsa-oss oss_alsa for emulating one over another .
« Last Edit: September 11, 2012, 04:40:06 AM by manit123 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: installing tiny core on second partition of USB
« Reply #6 on: September 11, 2012, 06:52:34 AM »
Hi manit123
Quote
'waitusb=9' helped
Don't just use the lowest value that works. Add a couple of seconds to allow for variations in boot time. Or better
yet, use one of the following:
Code: [Select]
waitusb=30:LABEL= or
Code: [Select]
waitusb=30:UUID= and identify your device by label or UUID.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: installing tiny core on second partition of USB
« Reply #7 on: September 11, 2012, 11:12:36 AM »
Yes, you can have multiple extension lists, use the lst bootcode.
The only barriers that can stop you are the ones you create yourself.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: installing tiny core on second partition of USB
« Reply #8 on: September 12, 2012, 05:19:53 AM »
if i write lst=with-oss.lst
where the mentioned file is present in tce folder of USB . Will that work ?

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: installing tiny core on second partition of USB
« Reply #9 on: September 12, 2012, 05:26:52 AM »
that worked.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: installing tiny core on second partition of USB
« Reply #10 on: September 12, 2012, 06:17:07 AM »
i wonder , is it  possible to add an entry in onboot.lst that says 'alsa/alsa.tcz' ?
I mean , will it take that file from 'alsa' folder present in 'folder containing onboot.lst'

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: installing tiny core on second partition of USB
« Reply #11 on: September 12, 2012, 06:22:06 AM »
Hi manit123
No, extensions are loaded from the tce directory.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: installing tiny core on second partition of USB
« Reply #12 on: September 12, 2012, 08:15:54 AM »
Having a distinct "tce=" dir altogether would be a valid approach.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: installing tiny core on second partition of USB
« Reply #13 on: September 16, 2012, 05:32:29 AM »
In my case , I have all tcz files in tce/optional  folder on USB stick which get loaded as written in tce/onboot.lst

I meant , can I create folder inside 'optional' and write entry in onboot.lst as 'something/something.tcz' and expect tiny core to load files by going into folders present in tce/optional .
Will that work ?
Also , I will try it myself ASAP. 

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: installing tiny core on second partition of USB
« Reply #14 on: September 16, 2012, 06:53:11 AM »
Hi manit123
That might work since tc-config calls tce-load which uses a path to load the extension. Make sure the entry
does not contain a leading /