WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tce-load\run from onboot-b.lst  (Read 2178 times)

Offline oeai

  • Newbie
  • *
  • Posts: 22
  • 0 be 1 can 0 be if_0_then_1_else_0
    • Symbiants
tce-load\run from onboot-b.lst
« on: July 21, 2015, 02:32:08 PM »
i wanted to load .tcz from list in file, but it seems it's not working like
Code: [Select]
tce-load -i /tce/boot-b.lst
i just wanted to separate first terminal boot in onboot.lst for low pc and to load some xorg apps with another onboot-b.lst
and actually it would be nice to have such thing in boot record, so it was loading different sets through boot-menu

maybe i don't know some commands?
symbiants from space

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: tce-load\run from onboot-b.lst
« Reply #1 on: July 21, 2015, 02:38:33 PM »
while read EXT
do
   tce-load -i $EXT
done < /etc/sysconfig/tcedir/onboot-b.lst

Offline oeai

  • Newbie
  • *
  • Posts: 22
  • 0 be 1 can 0 be if_0_then_1_else_0
    • Symbiants
Re: tce-load\run from onboot-b.lst
« Reply #2 on: July 21, 2015, 04:15:38 PM »
thanks!
symbiants from space

gordon64

  • Guest
Re: tce-load\run from onboot-b.lst
« Reply #3 on: July 21, 2015, 09:41:52 PM »
gerald_clark has answered your question where you want to load extra files from a booted up "boot" list

you may not be aware that Tinycore allows you to create your own lists and you just edit your current bootloader menu or add an entry to allow you to choose different lists

If interested it shows as a bootcode option here
http://distro.ibiblio.org/tinycorelinux/faq.html#bootcodes

tinycore lst=yyy.lst                Load alternate static yyy.lst on boot

let me give you examples where I use a grub2 bootloader, YMMV

Quote
linux   /64boot/vmlinuz root=/dev/sda4 home=sda4 opt=sda4 tce=sda4 tz=UTC-8 waitusb=5 lst=xbase.lst
linux   /32boot/vmlinuz root=/dev/sda3 home=sda3 opt=sda3 tce=sda3 tz=UTC-8 waitusb=5 lst=intel.lst
linux   /64boot/vmlinuz root=/dev/sda4 home=sda4 opt=sda4 tce=sda4 tz=UTC-8 waitusb=5

If interested the top line is from a boot menu with the "other stuff" that will boot into 64 bit and use the very basic xbase list I borrowed from the ISO or cd
middle line is my xorg list booting a 32 bit  ...its similar to a 64 bit menu but the name of kernel ....I have changed for personal reasons.
bottom line has no mention of list as it will find and boot my "onboot.lst"

those home= etc bits also show I have a fully persistent hard drive setup and am not suggesting you should follow suit.

Hope that helps and good luck

Offline oeai

  • Newbie
  • *
  • Posts: 22
  • 0 be 1 can 0 be if_0_then_1_else_0
    • Symbiants
Re: tce-load\run from onboot-b.lst
« Reply #4 on: July 25, 2015, 03:29:13 AM »
yes, indeed that's what i was looking for
symbiants from space