WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: appbrowser - mirrors  (Read 8309 times)

Offline wurstbrot

  • Newbie
  • *
  • Posts: 16
appbrowser - mirrors
« on: February 02, 2009, 06:53:40 PM »
TC 1.0, boot with 'norestore'. I tried the following mirrors:

ftp.nluug.nl/pub/os/Linux/distr/tinycorelinux/tce/ [ftp]
distro.ibiblio.org/pub/linux/distributions/tinycorelinux/ [http]

but appbrowser always says: "error connecting. try again later." What to do about it?

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: appbrowser - mirrors
« Reply #1 on: February 02, 2009, 08:35:22 PM »
The tce/tcz parts are left for the 'Repository' field, so it should be
Code: [Select]
URL: ftp.nluug.nl/pub/os/Linux/distr/tinycorelinux
Protocol: ftp
Repository: tce

The other one (default) looks fine - so if it cannot connect there could be something going wrong on your end or temporarily on the server side.

Offline wurstbrot

  • Newbie
  • *
  • Posts: 16
Re: appbrowser - mirrors
« Reply #2 on: February 02, 2009, 09:15:04 PM »
Wow! Thx a ton!

ibiblio had a problem today, and your tip for ftp.nluug.nl did the trick! Great experience! I already got annoyed with dependencies.

Other topic: my grub kernel line reads:
kernel (hd0,2)/tc_10/bzImage norestore.

but it seems mydata.tgz gets restored anyway?! Is this cheatcode correct?

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: appbrowser - mirrors
« Reply #3 on: February 02, 2009, 09:48:40 PM »
There isn't supposed to be a period, if it's there.

Offline wurstbrot

  • Newbie
  • *
  • Posts: 16
Re: appbrowser - mirrors
« Reply #4 on: February 02, 2009, 10:19:55 PM »
Here's what i did. Booted with:
Code: [Select]
kernel (hd0,2)/tc_rc9b/bzImage home=hda3 nodhcpCreated the folder /opt/.backgrounds/so and backed it up in mydata.tgz.

Then booted with
Code: [Select]
kernel (hd0,2)/tc_10/bzImage norestore
...and /opt/.backgrounds/so gets restored.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: appbrowser - mirrors
« Reply #5 on: February 03, 2009, 12:46:30 AM »
Does it say "skipping restore..." during boot?  (If it goes by too quickly, add the "pause" bootcode)

Offline wurstbrot

  • Newbie
  • *
  • Posts: 16
Re: appbrowser - mirrors
« Reply #6 on: February 03, 2009, 04:58:34 AM »
No. It says: Restoring backup ... blabla Done.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: appbrowser - mirrors
« Reply #7 on: February 03, 2009, 01:16:34 PM »
What does `cat /proc/cmdline` say?

It might be a problem with your bootloader - post your configuration?

Offline wurstbrot

  • Newbie
  • *
  • Posts: 16
Re: appbrowser - mirrors
« Reply #8 on: February 03, 2009, 11:05:18 PM »
Code: [Select]
tc@box:~$ cat /proc/cmdline
norestore

This is GNU GRUB version 0.97
menu.lst
Code: [Select]
  title tiny core 1.0
  kernel (hd0,2)/tc_10/bzImage norestore
  initrd (hd0,2)/tc_10/tinycore.gz
  boot

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: appbrowser - mirrors
« Reply #9 on: February 04, 2009, 12:23:02 AM »
Seems you are missing quiet

kernel (hd0,2)/tc_10/bzImage quiet norestore
10+ Years Contributing to Linux Open Source Projects.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: appbrowser - mirrors
« Reply #10 on: February 04, 2009, 12:43:55 AM »
Looks like some of the cmdline parsing explicitly check for a space before the bootcode, specifically those that use functions in /etc/init.d/tc-functions

grub seems to strip away the rest of the line unlike isolinux, so just having "norestore" will fail detection.

As a workaround, you can either put something else before norestore, such as the suggested "quiet".  However, if you still want verbose kernel messages during boot, you can just use any other 'filler' text, such as
Code: [Select]
kernel (hd0,2)/tc_10/bzImage filler norestore

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14750
Re: appbrowser - mirrors
« Reply #11 on: February 04, 2009, 04:55:13 AM »
...grub seems to strip away the rest of the line unlike isolinux, so just having "norestore" will fail detection.

That's an interesting comment - I have grub-0.97 set up to boot several os on a desktop and it completely ignores the kernel/boot parameters on an lfs build and dsl and only follows those of tc. Note that for each os I have several kernel/boot parameters entered...

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: appbrowser - mirrors
« Reply #12 on: February 04, 2009, 12:32:30 PM »
Is not necessary to put "tinycore" between quit and any tinycore boot command?

Code: [Select]
kernel (hd0,2)/tc_10/bzImage quiet tinycore norestore
I have created a boot menu in syslinux.cfg and works great:

Quote
display boot.msg
default tinycore

label tinycore
kernel /boot/bzImage
append initrd=/boot/tinycore.gz quiet tinycore tce=sda1 restore=sda1 waitusb=5 laptop
label 2
kernel /boot/bzImage
append initrd=/boot/tinycore.gz quiet tinycore tce=sda1/tce/optional/gparted restore=sda1/tce/optional/gparted waitusb=5 laptop
label 3
kernel /boot/bzImage
append initrd=/boot/tinycore.gz quiet tinycore base norestore waitusb=5 laptop
prompt 1   
timeout 300
F1 boot.msg
F2 f2
F3 f3

the menu is appended to boot.msg:

Quote
Tinycore menu:

1 - Tinycore complete <Enter>
2 - Tinycore gpart-image
3 - Tinycore base

Select option or <Enter>

Hope is useful, to me is

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: appbrowser - mirrors
« Reply #13 on: February 04, 2009, 01:43:31 PM »
Onyarian: that is needed for syslinux/isolinux/etc if you want to use that label, but it is different for grub

Offline wurstbrot

  • Newbie
  • *
  • Posts: 16
Re: appbrowser - mirrors
« Reply #14 on: February 04, 2009, 04:41:40 PM »
I tried
Code: [Select]
kernel (hd0,2)/tc_10/bzImage pause norestoreand both arguments worked.

However with
Code: [Select]
kernel (hd0,2)/tc_10/bzImage norestore pause
only pause is working. 

I don't know about the GRUB spacing issue, but an empty space before the first argument... might be stripped - if it is really there. Strange anyway. Must be different handling of arguments in the functions that use 'pause' and 'norestore'.