WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Difficulties with CorePlus installation to a pendrive  (Read 23871 times)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Difficulties with CorePlus installation to a pendrive
« Reply #30 on: February 15, 2014, 11:40:04 PM »
Read the book http://tinycorelinux.net/book.html
It explains the backup options.

Offline Mike7

  • Full Member
  • ***
  • Posts: 143
Re: Difficulties with CorePlus installation to a pendrive
« Reply #31 on: February 16, 2014, 07:57:20 AM »
Hi, Juanito.

Quote
You need to shut down and reboot without a backup so that a clean, known state is reached.
What will get lost if I do that? Will I lose my configurations and my documents?

Quote
Note that you can also achieve this by entering "norestore" at the boot prompt.
I don't think there is a no restore choice on the screen I get when I boot. It just has choices about copying the OS to RAM, and such. But there is a backup choice when I shutdown: None, Safe, and Backup. Should I choose None?

Mike
Asus eeePC 1000HA, Intel Atom N270 CPU, 1GB RAM, 160GB HDD, CorePlus-5.1 on 8GB flash drive.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Difficulties with CorePlus installation to a pendrive
« Reply #32 on: February 16, 2014, 08:37:56 AM »
If you have not saved your documents to permanent storage they will be lost. As a safety measure, you could copy the mydata* files to permanent storage and delete them from their current location.

For the purposes of getting things sorted out, it would be better to choose the backup choice "none".

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11703
Re: Difficulties with CorePlus installation to a pendrive
« Reply #33 on: February 16, 2014, 10:26:27 AM »
Hi Mike7
Quote
- New mydata.gz file in /mnt/sdb1/tce/
- New mydata.gz file in /etc/sysconfig/tcedir/
Those are both physically the same file.  /etc/sysconfig/tcedir/  is a link to  /mnt/sdb1/tce/
Quote
- An empty directory /mnt/sdb1/tce/tce/
- An empty directory /etc/sysconfig/tcedir/tce/
Those are both the same directory.

Offline Mike7

  • Full Member
  • ***
  • Posts: 143
Re: Difficulties with CorePlus installation to a pendrive
« Reply #34 on: February 18, 2014, 08:13:56 PM »
Hi, Rich.

Thanks. I  thought that /etc/sysconfig/tcedir/ was probably a reflection of tce/ in /mnt/sdb1/, but I wasn't sure.

But should the tce/ directory in /mnt/sdb1/tce/ be empty, or be there at all? In other words, what the heck is an empty /mnt/sdb1/tce/tce/ directory doing there?

M.
Asus eeePC 1000HA, Intel Atom N270 CPU, 1GB RAM, 160GB HDD, CorePlus-5.1 on 8GB flash drive.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Difficulties with CorePlus installation to a pendrive
« Reply #35 on: February 18, 2014, 08:20:06 PM »
It will be empty if you have not installed any extensions, nor done a backup.

Offline Mike7

  • Full Member
  • ***
  • Posts: 143
Re: Difficulties with CorePlus installation to a pendrive
« Reply #36 on: February 18, 2014, 08:50:08 PM »
Hi, juanito.

Quote
If you have not saved your documents to permanent storage they will be lost.

I've been saving them to a folder I created in the tce directory. Perhaps I shouldn't do that, but it works. (Maybe it messes up some config files, but so far everything seems okay.)

Quote
As a safety measure, you could copy the mydata* files to permanent storage and delete them from their current location.

I can see saving a copy to another disk outside core as a safe backup, but why would I want to delete them from core?

Quote
For the purposes of getting things sorted out, it would be better to choose the backup choice "none".

You may be right about that, but I just went with whatever the shutdown dialogue gave me as a default. I figured it knew best. Now what can I do? I've already done one "Safe" backup and one "Backup" backup. <grin>

This is becoming like a Chinese puzzle.

For the purposes of clarity, I suppose I could, as you say, delete the mydata.gz file again and shut down with "None" in the shutdown dialogue. I just don't really want to lose the extensions I've downloaded.

The alternative is re-installing from scratch. But it seems like giving up.

Mike
Asus eeePC 1000HA, Intel Atom N270 CPU, 1GB RAM, 160GB HDD, CorePlus-5.1 on 8GB flash drive.

Offline Mike7

  • Full Member
  • ***
  • Posts: 143
Re: Difficulties with CorePlus installation to a pendrive
« Reply #37 on: February 18, 2014, 09:04:08 PM »
Hi, Gerald.

Quote
It will be empty if you have not installed any extensions, nor done a backup.

Ah, but you see I have done both those things.  :)

I may be all wrong, but I suspect that this /mnt/sdb1/tce/tce/ directory shouldn't be there at all and that it's just the result of having put tce=sdb1 into the Installer when the Installer creates the tce directory automatically anyway.

I don't know what my personal solution to this is, but to keep it from happening to anyone else how about removing tce =xxx from the list of boot code options in the Installer?

M.
Asus eeePC 1000HA, Intel Atom N270 CPU, 1GB RAM, 160GB HDD, CorePlus-5.1 on 8GB flash drive.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Difficulties with CorePlus installation to a pendrive
« Reply #38 on: February 18, 2014, 09:09:54 PM »
Post the output of "showbootcodes".

Offline Mike7

  • Full Member
  • ***
  • Posts: 143
Re: Difficulties with CorePlus installation to a pendrive
« Reply #39 on: February 18, 2014, 09:35:16 PM »
Quote
Post the output of "showbootcodes".

That's tricky, because I would have to switch to TCL to get them, and then switch back to Puppy to post them. (I have to use Puppy Linux to communicate with the forum because I don't yet have a web browser in TCL.)

But since I haven't changed any boot codes (not intentionally, anyhow), they should still be the same as when I edited extlinux.conf (see Feb. 15th posts):

Code: [Select]
tc@box:~$ showbootcodes
initrd=/tce/boot/core.gz loglevel=3 waitusb=10:UUID="6065ad4c-d216-48bb-a7c1-c538c02a42ed" tce=UUID="6065ad4c-d216-48bb-a7c1-c538c02a42ed" BOOT_IMAGE=/tce/boot/vmlinuz

Those are the boot codes that juanito and coreplayer2 advised me to put into extlinux.conf.

Note that tce=sdb1 was removed, yet there is a suspicious-looking empty directory /mnt/sdb1/tce/tce/ that /etc/sysconfig/tcedir/tce/ has created.

M.
Asus eeePC 1000HA, Intel Atom N270 CPU, 1GB RAM, 160GB HDD, CorePlus-5.1 on 8GB flash drive.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Difficulties with CorePlus installation to a pendrive
« Reply #40 on: February 18, 2014, 10:26:56 PM »
I can see saving a copy to another disk outside core as a safe backup, but why would I want to delete them from core?
Because, due to the fact you had both a back-up and persistent home and opt set, the backup is probably messed up.

Quote
For the purposes of clarity, I suppose I could, as you say, delete the mydata.gz file again and shut down with "None" in the shutdown dialogue. I just don't really want to lose the extensions I've downloaded.
Extensions should be on persistent storage and not in your backup

Offline Mike7

  • Full Member
  • ***
  • Posts: 143
Re: Difficulties with CorePlus installation to a pendrive
« Reply #41 on: February 19, 2014, 12:00:12 AM »
Curaga-

I directed two posts (#s 37 & 39 above) to Gerald Clark that I think maybe should have been addressed to you as well.

As you can see from this series of posts, adding tce=xxx to the boot codes in the Installer app is not only redundant (we all agree about that, right?) but seems to have messed up part of the filesystem, creating a weird empty /mnt/sdb1/tce/tce/ directory, if nothing worse. (Or am I wrong and /mnt/sdb1/tce/tce/ really is supposed to be there?)

Since you were reasonable enough to add an explanatory label to that page of the Installer, how about also removing tce=xxx from the list of possible add-in boot codes  so that no one makes the same mistake I did?

Cheers!

Mike
Asus eeePC 1000HA, Intel Atom N270 CPU, 1GB RAM, 160GB HDD, CorePlus-5.1 on 8GB flash drive.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Difficulties with CorePlus installation to a pendrive
« Reply #42 on: February 19, 2014, 12:10:21 AM »
No, it is not redundant.  The tce directory can be on a drive other than the boot drive, or on a different partition.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Difficulties with CorePlus installation to a pendrive
« Reply #43 on: February 19, 2014, 12:42:05 AM »
In any case, I slugged in a few of the boot codes (like tce=sdb1, home=sdb1, and restore=sdb1) without knowing what I was doing, just for the heck of it.

You know, perhaps we could have avoided a lot of problems by letting the installer use it's defaults?   I think I said before, I'd start over

Offline Mike7

  • Full Member
  • ***
  • Posts: 143
Re: Difficulties with CorePlus installation to a pendrive
« Reply #44 on: February 19, 2014, 12:45:54 AM »
Gerald-

Quote
No, it is not redundant.  The tce directory can be on a drive other than the boot drive, or on a different partition.

But the Installer automatically puts tce=UUID=xxx into extlinux.conf, doesn't it? Does adding a tce=yyy boot code override the xxx UUID?  If so, how do you explain that the Installer created a tce directory inside the tce directory (/mnt/sdb1/tce/tce/)?

M.
Asus eeePC 1000HA, Intel Atom N270 CPU, 1GB RAM, 160GB HDD, CorePlus-5.1 on 8GB flash drive.