Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: SimpleMan on June 04, 2010, 03:12:28 AM
-
Hello I'm new to Tiny Core Linux and love how simple it is but have a few questions
1. How do I put my applications that i download on my usb so when I reboot I will have them?
2. How do I add boot codes so that I can run GNOME on Tiny Core?
Thanks
-
1. How do I put my applications that i download on my usb so when I reboot I will have them?
If your usb stick is recognised by tc as /mnt/sda1, then you can either:
1. use the boot code tce=sda1
2. create a folder named /mnt/sda1/tce on your usb stick owned by tc:staff
After 1 or 2 above, the applications (extensions in "tc-speak") will be stored in /mnt/sda1/tce/optional
-
1. How do I put my applications that i download on my usb so when I reboot I will have them?
If your usb stick is recognised by tc as /mnt/sda1, then you can either:
1. use the boot code tce=sda1
2. create a folder named /mnt/sda1/tce on your usb stick owned by tc:staff
After 1 or 2 above, the applications (extensions in "tc-speak") will be stored in /mnt/sda1/tce/optional
Well, most probably - at least in the beginning - USB stick has a FAT partition, which do not support ownership :(
-
thanks guys i figured it out but one more thing how do i use download to usb in control panel and i press z for a dual partion one for os other for apps and then i get down to the file and type /mnt/sda1/boot/ and it says not found press enter then closes.
-
also when i use usb install and go through it all i type in /mnt/sbd1/boot/ it says i have no tinycore.gz or bizImage please help i am booting with usb flash drive i have tried everything i could think of i have been working on this for 6 hours please help
-
Can you list the files/folders that you do have on the usb flash drive?
Note that if you are booting from something that is named sda1 and using usb install to something that is named sdb1, when you remove the device in sda1 and use the device that was in sdb1 to boot, it will become sda1 - this means that you might need to edit any boot codes with "sdb1" in them.
-
okay the files are boot which breaks down into bizImage, tinycore.gz, and then the file that loads the boot im on tinycore right now and can't remember and have alot of apps downloaded. also on the sda1 and all that it changes because i take out my usb when i need to get back on my main os so it changes sorry about that. what would be very helpful if somone just put there usb files on here so i could download them that would be perfect.
-
what would be very helpful if somone just put there usb files on here so i could download them that would be perfect.
I'm not totally sure what you mean by that - if you mean the bootloader (eg grub, extlinux, syslinux, etc), then you cannot copy it, you need to install it using either "USB install" or the instructions in the wiki.
-
copy all your usb files and put them on a downloading sites
-
If you're trying to set your usb flash drive/usb stick up to be able to boot from it, I would suggest:
1. copy all your tc extensions somewhere safe
2. start 'USB install' again from the beginning
3. copy your extensions back to /mnt/sdax/tce/optional
-
i can boot from it live i just cant download TCE/install on it so i can save my apps
-
Once you've booted, open a terminal window and enter this:
$ sudo fdisk -l
..and post the result here
-
Disk /dev/sdb: 2062mb, 2062548992 bytes
16 heads, 32 sectors/track, 7868 cylinders
Units = cylinders of 512 * 512 =262144 bytes
Device Boot Start End Block Id System
/dev/sbd1 * 1 7868 2014192 b win95 FAT32
-
Hmm - it's been so long since I used a fat partition that I can't remember if it works for extensions or not.
Does this work: $ sudo mkdir -p /mnt/sdb1/tce/optional
If so, then you can copy all of your extensions to this folder
-
it says
Create DIRECTORY
Options:
-m Mode
-p No error exists; make parent directories as needed
-
also how would i copy files thanks for your help
-
Ah - sorry, that should have been:
$ sudo mkdir -p /mnt/sbd1/tce/optional
To copy files: $ cp /path-to-file/filename /mnt/sbd1/tce/optional
-
it doesn't say anything
what is the best partion to use and how can i do it i just used a program from pendrivelinux.com to do the instalation
-
i'm such a noob sorry but also how do i find what the path to the file is thanks once again i'm use to windows and don't know my way around linux well def this complicated
-
If you need a simple installer from windows check out http://www.linuxliveusb.com/
-
it doesn't say anything
If it doesn't say anything, then it probably worked.
Does: ls -l /mnt/sbd1/tce/optional
..show the file exists?
To find the extensions, you could try: find /mnt/sbd1 -type f | grep tcz
-
it said total 0 so prob no
-
Try this:
$ cd /mnt/sbd1/tce/optional
$ tce-load -iw emelfm.tcz
-
..and this:
$ find / -type f | grep tcz
-
AFAICR (I'm not at my Tiny Core box), these are the steps I went through to install Tiny Core on a USB stick. I had already determined that I could boot from CD and connect to the Tiny Core repository via the appbrowser on the box I was using:
1) Downloaded Tiny Core ISO and burned it to CD (did this on a Windows box).
2) Booted the machine I use for Tiny Core off the CD. USB stick was already be plugged in. Used bootcodes "waitusb=5 base norestore" [no quotes].
3) Mounted the CD (usually it unmounts after boot) using the mount tool. This gives a source for the files you want to install.
4) Opened a terminal and typed sudo su (gets root terminal).
5) Typed "usbinstall" [no quotes].
6) At this point the installer starts asking what you want to do. I chose the ext2 format and to keep a log.
7) If you don't have the Tiny Core extensions you need to complete the install, the installer will tell you at this point and exit. Download the extensions it tells you with the appbrowser (use 'install') and run usbinstall again, repeating the above.
8) Follow the subsequent installer directions. You have to tell the installer where your Tiny Core files are (on the mounted CD, I forget the directory name) and where the USB stick is (I think sda).
9) The installer should create a boot directory (with Tiny Core files), a directory for logging, and the tce directory (with optional directory underneath) on the USB stick.
10) When the installation is complete, unmount the CD and remove it, and then reboot. Your machine should boot off the USB stick. Note that you have to have your BIOS setup for this (I had to tweek mine a bit).
11) If the boot goes OK, at that point the appbrowser should download any extensions you want to the tce/optional directory on the USB stick, and find them there on subsequent boots.
-
those codes didn't work and i tried to install how you said thane i got the farthest i ever got then i got an error
-
What was the error?
-
i finnaly got it i use the 3rd option and it worked 300th time is the charm thanks i have one more question how do i add boot codes so they are entered automaticly? and also if i change a files name will i mess it up ex. ace-of-penguins.tcz to Games.tcz and then can i add it to my toolbar thanks
Thanks for all your time working with me you guys made a linux man out of me thanks once again ;D
-
'Glad to hear you got things working.
To add boot codes you need to modify the bootloader's config file, which depends on the bootloader you used:
grub: menu.lst
syslinux: syslinux.cfg
extlinux: extlinux.conf
Normally, these are found under the /boot folder.
Now that you have things working, you can use one of the text editor extensions to change the file, for example, beaver.
To be able to change the file, you need to use the text editor as "root" (= administrator in windows speak), you can do this using the 'run command' button in the panel and entering "sudo beaver" (assuming you loaded the beaver extension).
I would not suggest changing the names of extensions until you're are more comfortable with linux/tc
-
On my USB stick, /mnt/sda1/boot/extlinux/extlinux.conf has the boot codes, in the APPEND line. Do you know about file permissions and the vi editor? I had to change the permission from 644 to 666 ["sudo chmod 666 extlinux.conf" after I changed directories to extlinux] to edit. Change the permission back to 644 when you're done.
Sorry, don't know about the file name changes. I think it's safest to leave them alone unless it's really critical. There are hidden links and various file name lists in Tiny Core that would all have to be modified too.
-
Thanks
How do i modify the boot folder i used syslinux?
Do you know how to add an icon to the taskbar for easier tasking?
Also after thinking about it, it was pretty easy to setup but there is no visual instructions on how to do it.
Sorry but do you know how i could transfer over my bookmarks from firefox on windows xp?
-
Sorry but do you know how i could transfer over my bookmarks from firefox on windows xp?
Export them on FF windows, move the file over, import them here :)
-
thanks cool signature
-
How do i modify the boot folder i used syslinux?
1. use the appbrowser to install the 'beaver' text editor extension
2. click on the panel 'run command' button and enter "sudo beaver"
3. use 'file open' in beaver to navigate to /mnt/sbd1/boot/syslinux/syslinux.cfg and open it.
4. you should see a line with boot codes like "waitusb=5" "quiet" - add your boot codes to the same line, save the file and exit.
Do you know how to add an icon to the taskbar for easier tasking?
The extensions create their own icons, if you'd like to do something in addition to this, I believe the wiki explains how to do it.
-
okay thanks
what are some good apps to download?
and how do i enable scroll with middle button on mouse?
-
The extension that load at boot are controlled by a file named "onboot.lst", which in your case would be found in /mnt/sbd1/tce.
I don't think it would be a good idea to edit this file in windows, the symbol windows uses for 'new line' might mess up the file.
You can boot tc and use the beaver text editor to remove the gnome extension(s) from onboot.lst - the next time you boot, they will not be loaded and you can delete them.
-
i fixed the gnome problem i used beaver and deleated the files
-
what are some good apps to download?
beaver - text editor
emelfm - file manager
gtkfind - find files
and how do i enable scroll with middle button on mouse?
Try the mouse setup button on the panel
-
thanks but the mouse buttom on panel just changes speed
-
I'm on a windows machine at the moment, but you could try clicking on the shutdown icon and choosing "exit to prompt".
At the prompt, enter "xsetup.sh" and select something that matches your mouse. Once finished, enter "startx" to get back to the gui.
-
that worked thanks how can i change themes its looks too old and outdated it frustrates me
-
There are several choices - listed in order of increasing bloat:
1. Use gtk1 apps and gtk1-industrial-engine
2. Use gtk2 apps and gtk_prefs
3. Use one of the desktop "suites of extensions" like gnome, lxde, Xfce4
-
on xfce4 and gnome both i have downloaded both have fd up i have no exit button and the mouse cursor is a big x
-
I've never tried either these.
Did you use the appbrowser to download the extensions (so that you get all of the dependent extensions)?
Did you try loading some of the auxiliary extensions like gnome-backgrounds and/or gnome-colors
-
i used appbrowser to download all of them and i did also download aux extenstions
what do you recremend i use i have 2gb of ram so i'm good on the bloatedness and i have plenty of space on my flash drive
-
i used appbrowser to download all of them and i did also download aux extenstions
what do you recremend i use i have 2gb of ram so i'm good on the bloatedness and i have plenty of space on my flash drive
I'd suggest to wait until it's daylight in the US, then maybe the gnome/lxde/Xfce4 extension makers can give their suggestions.
-
if you use one what do you use?
-
I use microcore and flwm classic when I need a gui
-
if you see a big X mouse icon it means the desktop didn't start as expected, you can check /tmp/wm_errors for errors
speaking for gnome, you probably did not follow installation steps given in info
-
well then why did xfce4 do it then?
-
okay what am i suppose to do with number of dependencies where am i suppose to put that?
and the boot folder doesn't exsist where you said it was help?