WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Boot option iso=sdb1 in TinyCore 4.4  (Read 9270 times)

Offline V.Krishn

  • Newbie
  • *
  • Posts: 33
Boot option iso=sdb1 in TinyCore 4.4
« on: March 20, 2012, 11:39:15 PM »
How to use new boot code, e.g., iso=sdb1,
Is this option available in boot options list (F2, etc)?

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Boot option iso=sdb1 in TinyCore 4.4
« Reply #1 on: March 21, 2012, 04:42:54 AM »
It is documented here. http://forum.tinycorelinux.net/index.php/topic,12786.msg69982.html#msg69982

Cannot be easily explained/documented as a single "F" line nor is it often required.
As it was documented as above some thought it a boot loader, which it is not!


10+ Years Contributing to Linux Open Source Projects.

Offline V.Krishn

  • Newbie
  • *
  • Posts: 33
Re: Boot option iso=sdb1 in TinyCore 4.4
« Reply #2 on: March 21, 2012, 04:58:25 AM »
I could suggest a boot cheatcode text file in /boot dir

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Boot option iso=sdb1 in TinyCore 4.4
« Reply #3 on: March 21, 2012, 05:22:07 AM »
I could suggest a boot cheatcode text file in /boot dir

See f2, f3, f4 files in the boot directory or press F2, F3 or F4 for boot options.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Boot option iso=sdb1 in TinyCore 4.4
« Reply #4 on: March 21, 2012, 09:38:22 AM »
Quote
As it was documented as above some thought it a boot loader, which it is not!
  :P

But I think it would be useful to have all features/bootcodes organized in a place to avoid getting lost in the mists of time!

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11635
Re: Boot option iso=sdb1 in TinyCore 4.4
« Reply #5 on: March 21, 2012, 02:54:31 PM »
Hi vinnie
Most of them are listed in the FAQs.
A lot of them are listed in   /usr/share/doc/tc/bootOptions.txt.
All of them should be in   /etc/init.d/tc-config.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Boot option iso=sdb1 in TinyCore 4.4
« Reply #6 on: March 21, 2012, 04:57:48 PM »
... All of them should be in   /etc/init.d/tc-config.

Hmmm, that might be the case for the majority of TC specific boot codes. But in the Core there are some other scripts that interpret these TC specific boot codes:
    /etc/init.d/rc.shutdown
    /etc/init.d/tc-restore.sh
    /usr/bin/filetool.sh
    /init
    /usr/bin/scm-update
    /usr/bin/tce-setup
    /usr/bin/tce-update
(ignoring for a moment: '/etc/init.d/tc-functions', and '/usr/bin/showbootcodes', plus some executables like '/bin/busybox', '/sbin/udevadm' and '/sbin/udevd' which probably interpret some more generic boot codes)

If adding the default TinyCore extensions (e.g. from the 'cde' directory) there are some more:
    /usr/bin/setupdesktop
    /usr/bin/startx
    /usr/local/bin/appsaudit
    /usr/local/bin/exittc
(and ignoring again '/usr/local/bin/stats')

Please note that these lists are only containing files that directly interpret '/proc/cmdline'. In many cases the result of such an interpretation is stored in a file (e.g. '/etc/sysdir/icons') and several other scripts then use said file. So there are many other "secondary consumers" of TC specific boot codes.

Therefore I'd like to state that whilst I also use '/etc/init.d/tc-config' as my first stop when trying to figure out the treatment of a given boot code, one has to be aware that this is likely to be a necessary, but maybe not a sufficient approach.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Boot option iso=sdb1 in TinyCore 4.4
« Reply #7 on: March 21, 2012, 07:44:18 PM »
uhm, usefull :P

Offline ndrancs

  • Newbie
  • *
  • Posts: 34
  • I Love Linux
Re: Boot option iso=sdb1 in TinyCore 4.4
« Reply #8 on: March 21, 2012, 09:36:16 PM »
Hi Robert,
This is feature i waiting for in TC, likes other distro,

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: Boot option iso=sdb1 in TinyCore 4.4
« Reply #9 on: March 22, 2012, 02:17:09 PM »
Hello

THis appears to be a super feature to put into Tinycore....it appears to save a lot of effort on the part of any user.

Also the SCM system appears to be superb feature of TCL 4.4. I Have tried it out and it's simple to understand and simple operate with single clean files.

Would it ever be the case that the "whole" app browser will become SCM styled eventually?

thanks

V.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: Boot option iso=sdb1 in TinyCore 4.4
« Reply #10 on: March 22, 2012, 02:35:02 PM »
hello

do i understand this new "iso" bootcode right?

1) it is a feature for booting only TCL .iso files  (remastered tcl .iso files..... and such like)
2) it will read the entire contents of the .iso file and you can arrive at the GUI desktop with all extensions
detected and installed..(by using extra commands)


thanks

V.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Boot option iso=sdb1 in TinyCore 4.4
« Reply #11 on: March 22, 2012, 02:42:52 PM »
1. No it does not boot anything. 
2. Not exactly. It loop mounts the ISO so it can be treated like a DVD.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: Boot option iso=sdb1 in TinyCore 4.4
« Reply #12 on: March 22, 2012, 02:53:59 PM »
Hmm

not sure how to use it.....is this correct below...?

The new ".iso" bootcode assumes your machine is already booted with a TCL cd disc and is at the
boot prompt. Your hard drive contains some arbitrary remastered TCL .iso file with extensiosn in it.

Your point the new bootcode to that arbitrary iso file  (from your TCL boot prompt)

this should then mount that remastered .iso and arrive at a command line version  of that  remastered TCL .iso?

then follow more commands to arrive at the X gui desktop?...

and what about the extensions in that remaster?

V.