WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Mode of Operation?  (Read 7056 times)

Offline 1bolsen07

  • Newbie
  • *
  • Posts: 2
Mode of Operation?
« on: July 04, 2009, 05:29:23 PM »
I have a fair amount of experience with linux but I am new to Tiny Core and other minimal distributions. I do not fully understand Tiny Core's different modes of operation and I am looking for suggestions. I want to boot Tiny Core from a usb drive and run entirely from ram. However, I want a place where I can save installed packages/settings but only as they are changed.

What I hope to accomplish is this: have Tiny Core boot from usb and load all installed applications into ram. I do not want Tiny Core to access my hard drive in any way. I do not want TC to refer to the usb drive in order to launch applications (I could pull out the drive if I wanted and TC could still run), but if I install new packages they are installed to the usb drive so that I don't have to reinstall them when I reboot. I also want to be able to save config files and documents to the flash drive.

Ultimately, I'm trying to get my laptop battery to run as long as possible. I want to avoid using the hard drive to squeeze out every bit of charge I can, hence the flash drive. I only plan to install firefox, abiword, some sort of file manager, maybe one or two other applications but I'm not installing a bunch of applications. Pretty much, just enough to boot quickly and get online or write papers.

Can anybody recommend which mode of operation I should follow or point me in some sort of direction?

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Mode of Operation?
« Reply #1 on: July 04, 2009, 07:37:07 PM »
It sounds like PPR/TCE may fit your description.  Since you are using a usb device, the uuid option may also be useful.

Offline tim2092008

  • Newbie
  • *
  • Posts: 6
Re: Mode of Operation?
« Reply #2 on: July 04, 2009, 11:03:31 PM »
I have a question here to do what he is saying can you run tiny core from the usb drive and save everything or do u have to run tiny core and install it to usb drive from tiny core. Because i made my tiny core usb with unetbootin..would it work better if i made it with tiny core?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Mode of Operation?
« Reply #3 on: July 04, 2009, 11:32:14 PM »
I want to boot Tiny Core from a usb drive and run entirely from ram. However, I want a place where I can save installed packages/settings but only as they are changed.

You can do this by creating a folder named /tce in the root of the usb stick and copying extensions to this folder. You can also designate the usb stick for your backup via the control panel "backup/restore"

Quote
What I hope to accomplish is this: have Tiny Core boot from usb and load all installed applications into ram. I do not want Tiny Core to access my hard drive in any way. I do not want TC to refer to the usb drive in order to launch applications (I could pull out the drive if I wanted and TC could still run), but if I install new packages they are installed to the usb drive so that I don't have to reinstall them when I reboot. I also want to be able to save config files and documents to the flash drive.

As long as you install only tce extensions you will be able to do this. Note that you will need to "umount" the usb stick prior to unplugging it. "backup/restore" will take care of your config files - for documents, I would recommend making a folder named /docs or similar on the usb stick, rather than using /home/tc

Quote
Ultimately, I'm trying to get my laptop battery to run as long as possible. I want to avoid using the hard drive to squeeze out every bit of charge I can, hence the flash drive.

the laptop-mode-tools extension will turn off your hd after a short period of inactivity.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11048
Re: Mode of Operation?
« Reply #4 on: July 05, 2009, 04:16:17 AM »
I have a question here to do what he is saying can you run tiny core from the usb drive and save everything or do u have to run tiny core and install it to usb drive from tiny core. Because i made my tiny core usb with unetbootin..would it work better if i made it with tiny core?

The method of install shouldn't matter.
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Mode of Operation?
« Reply #5 on: July 05, 2009, 04:49:31 AM »
The method of install shouldn't matter.

..except that you might have to change the ownership of folders like /tce to tc:staff if you installed from another distro.

Offline 1bolsen07

  • Newbie
  • *
  • Posts: 2
Re: Mode of Operation?
« Reply #6 on: July 05, 2009, 02:49:07 PM »
Thanks for the info guys. This helped a lot.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Mode of Operation?
« Reply #7 on: July 05, 2009, 03:20:14 PM »
The advantage of using the usbinstall from within Tiny Core, sets up your tce directory, inital backup, and UUID. Otherwise, you should read the FAQ to do this setup.
10+ Years Contributing to Linux Open Source Projects.

Offline tim2092008

  • Newbie
  • *
  • Posts: 6
Re: Mode of Operation?
« Reply #8 on: July 05, 2009, 06:21:01 PM »
Thanks roberts the usb install within tiny core works much better and this is alot easier now. Now i just need to find that code to load icewm at start up or find a way to move the panel to the bottom to the bottom of the screen and add a main menu and get rid of the date to only show the time and get rid of the quick launcher and find the right drivers for my wifi atheros 5007g nothing i try works
« Last Edit: July 05, 2009, 06:33:44 PM by tim2092008 »

Offline tclfan

  • Sr. Member
  • ****
  • Posts: 286
Re: Mode of Operation?
« Reply #9 on: July 06, 2009, 09:09:03 AM »
Thanks roberts the usb install within tiny core works much better and this is alot easier now.

I find USBINSTALL much better for TCL than UNETBOOTIN. It sets partitions nicely (in ZIP mode), and installs TCL in first (16M) FAT partition. The second partition (FAT32) is for /tce and data. Both partiions can be accessible from other operating systems (if you have proper USB stick, if your USB stick is not proper, then the second partition will not be accessible in Windows). UNETBOOTIN does not apper to handle properly USB sticks partitioned in HD mode.