Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: freyone on June 05, 2016, 11:45:51 PM

Title: very strange issue.
Post by: freyone on June 05, 2016, 11:45:51 PM
i use easy2boot to boot tinycore.ISO.
first i install tinycore at hardisk sda5,but i install it with text base ,
so i want to reinstall it and boot from usb with easy2boot again ,
but when i use apps to load tc-install.tcz,i find the default TCE path become /mnt/sda5/tce/optinal. and find sda5 has been mounted.try to umount it ,but failed ,reporting busy.the button in apps to set TCE path is grey.

Q2,why so?
Q1,how can i umount sda5?
Q3,if not reinstall ,how to let text based install improve to the extension?
Title: Re: very strange issue.
Post by: Misalf on June 06, 2016, 05:27:44 AM
I don't know easy2boot. If it's some kind of installer, you will be told that those are not supported.
Anyway, it sounds like your USB installation needs the  tce=  bootcode so it won't automatically use the first /tce directory found on your computer's internal storage media during boot. You cannot un-mount a drive from where extensions are mounted.
But you should also be able to simply copy extensions to  /mnt/sda5/tce/optional  (or similar) and edit  onboot.lst .
Title: Re: very strange issue.
Post by: freyone on June 06, 2016, 10:10:36 PM
i do as your suggestion,
copy extensions to  /mnt/sda5/tce/optional and cp the default onboot.lst to tce.and reboot.
report:
Setting Language to C Done.
Possible swap partition(s) enabled.
loading extensions ... sd 6:0:0:0: [sdb] No Caching mode page found.

sdb is another usb device, lt seems loading extesnsions from sdb.how to specify loading it from sda5/tce?
Title: Re: very strange issue.
Post by: gerald_clark on June 06, 2016, 10:38:40 PM
Please read the book.  You need the tce= boot option.
I'd give you a link but the server is down again.
Title: Re: very strange issue.
Post by: freyone on June 07, 2016, 02:00:56 AM
i seach the book,i know boot from cd ,adding tinycore tce=sda5,that will mount tce from sda5.
now i have installed the text mode,boot proccess cannot pause.coming into linux shell,i want to modify the boot code ,but boot code is in which path file?
Title: Re: very strange issue.
Post by: patrikg on June 07, 2016, 05:26:44 AM
If using extlinux ??

Code: (bash) [Select]
tc@TinyCoreLinuxBox:~$ ce
tc@TinyCoreLinuxBox:/mnt/sdb1/tce$ cd boot
tc@TinyCoreLinuxBox:/mnt/sdb1/tce/boot$ cd extlinux/
tc@TinyCoreLinuxBox:/mnt/sdb1/tce/boot/extlinux$ ls
extlinux.conf  ldlinux.sys
tc@TinyCoreLinuxBox:/mnt/sdb1/tce/boot/extlinux$ sudo nano -w extlinux.conf