WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tinycore restore my hda1 backup when booting using an USB key  (Read 2313 times)

Offline trembb22

  • Newbie
  • *
  • Posts: 28
tinycore restore my hda1 backup when booting using an USB key
« on: September 04, 2009, 02:07:58 PM »
I will like to understant why tinycore boot my USB key and restore hda1 backup. I did set at grub boot: tce=sda
and I also set backup panel to: sda/ and did a backup succefully
so is there another place I am missing.
my error was that I mounted hda1 to copy some files in it and forget to unmount it, so at shutdown it backuped into hda1 and since then tinycore always boot my USB key but restore from hda1
thanks for your help

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: tinycore restore my hda1 backup when booting using an USB key
« Reply #1 on: September 04, 2009, 02:17:24 PM »
I think that if you don't use the "restore=whatever" boot code, it will restore from the first backup found.

Try specifying

    restore=sda

or removing (or renaming) the file mydata.tgz on hda1.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: tinycore restore my hda1 backup when booting using an USB key
« Reply #2 on: September 04, 2009, 02:33:09 PM »
It is best to put backup in the tce directory. If you do, you don't need to specify it in Grub.

Not knowing exactly what you have done or what you want.

You should probably change to tce=sda1.

In the control panel select backup in sda1/tce.
Many people see what is. Some people see what can be, and make a difference.

Offline trembb22

  • Newbie
  • *
  • Posts: 28
Re: tinycore restore my hda1 backup when booting using an USB key
« Reply #3 on: September 04, 2009, 03:22:13 PM »
thanks, restore=sda at boot fixed it!

I didn't want to change anythings under hda1 cause I need it to boot without my USB key sometime, my production system is on /hda1 and my compilation system is in my USB key on sda. So I teste and compile programs under my USB key environment than I mount /hda1 manually and copy over my new programs, than I unmount /hda1 and reboot withtout my USB key so that way I have a minimal system on /hda1 that boot under 20 secondes that use my programs done with my usb key.

thanks again