WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Move Coreplus from Flash drive to HDD  (Read 103 times)

Offline bushyiii

  • WikiUser
  • *
  • Posts: 25
Move Coreplus from Flash drive to HDD
« on: September 13, 2018, 07:38:48 AM »
I have Coreplus configured the way I want it and would like to have it running directly from the HDD on an old IBM T43 laptop.  Is there a recommended way to do this.  The HDD has several other Linux OS on it but I no longer need them on it.  Coreplus would be the only OS.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1674
Re: Move Coreplus from Flash drive to HDD
« Reply #1 on: September 14, 2018, 05:12:31 AM »
I guess the recommended way would be to use the installer from a freshly burned CD and copy over any modifications later. Just in case one is not so savvy with installing it manually.

However, I only used the installer when TinyCore was new to me.
Now I just copy my  /tce  directory to a target PC and create a boot loader entry. While you already have several other Linux OSes installed, you don't even need to install a boot loader. I would also simply delete the other OSes if they are on the target partition to reduce file fragmentation. Keep the boot loader files though.

Edit: BTW, I always put the Kernel and initrd in a sub directory of /tce (/tce/boot/vmlinuz) to keep things together.
« Last Edit: September 14, 2018, 05:15:28 AM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline centralware

  • Sr. Member
  • ****
  • Posts: 309
Re: Move Coreplus from Flash drive to HDD
« Reply #2 on: September 14, 2018, 03:19:42 PM »
First, having Core set up (which sounds like you have a desktop, extensions, etc.) works on THAT computer, but we'll want to make sure the IBM doesn't have some kind of hardware that your "setup" doesn't bring with it.


1. Install CorePlus onto the IBM using the CD or USB method (IF the unit even supports USB booting!?)
2. If you're using the DEFAULT desktop/etc. (Xvesa versus Xorg; if you're not sure - it'll likely be the former) and the graphics, sound, etc. all seem to be working on the IBM, you're in good shape!
(If not, look up the computer's specs via Google and see what hardware it has versus what hardware driver(s) you might need to add to the IBM.)
3. Once the machine's ready HARDWARE wise, the rest is a piece of cake!


FIRST:
On the OLD machine, write (or print out) the contents from /etc/sysconfig/tcedir/onboot.lst - this is the list of extensions your old machine has installed on it.
On the IBM, install those same extensions either via the desktop application or command-line's tce-load function


NEXT:
There are two methods which people generally set up Core; by PERSISTENT directories or by the BACKUP method (using "backup" or "filetool.sh" to save changes to things you've done.)
  • If you're using persistent directories, you simply tell the IBM to use persistence, too, then copy your old OPT, HOME and/or TCE directories from the other machine to the IBM (See the note below for the TCE portion.)
  • If you're using the backup method, you can find your backup file in /etc/sysconfig/tcedir/mydata.tgz; copy this file from the old machine to the IBM and you're in business!


SAFETY:
  • When installing Core onto the IBM, feel free to wipe the entire drive IF you're certain nothing else already on it is vital.
  • Using a USB pen or similar, copy the files and/or directories from the old machine onto the new - KEEP this information on the device even after you're done JUST IN CASE something was overlooked.
NOTE: If your first install was CorePlus 64bit and your IBM can only handle 32bit (for example only, I didn't look up the computer's capabilities) you may run into a few bumps in the road; post back here and someone's likely to lend a hand!  (64 bit applications cannot run on a 32 bit machine, etc.)