Tiny Core Base > TCB Tips & Tricks
Howto: Create Bootable USB Stick
Juanito:
This is not exactly what you're looking for, but this works for me:
--- Code: ---display boot.msg
default tc
label tc
kernel /boot/bzImage
append initrd=/boot/tinycore.gz quiet vga=773 noswap laptop tce=sda1 waitusb=5 noscan text
implicit 0
prompt 1
timeout 300
F1 boot.msg
F2 f2
F3 f3
--- End code ---
i.e.
1. extensions in /mnt/sda1/tce loaded at boot
2. extensions in /mnt/sda1/tce/optional in app browser options menu
Note that I don't think "laptop" is needed anymore, but I didn't get around to removing it.
roberts:
--- Quote from: jaygeetiny on February 04, 2009, 07:49:39 PM ---I tried the waitusb=7 boot option together with tclocal=sda1, downloaded a couple of TCE extensions, backed up to sda1 and rebooted to find no sign of the downloaded extensions on the menu bar or within the right click menu.
Until I can find a simple way of setting up persistence on a USB stick I'll content myself by playing with TC in Virtualbox within Hardy Heron.
--- End quote ---
There is no tclocal, it was a typo on the boot screen and has been corrected in RC and FAQ:
tinycore local={hda1|sda1} Specify PPI directory or loopback file.
jaygeetiny:
--- Quote from: Juanito on February 04, 2009, 10:43:06 PM ---This is not exactly what you're looking for, but this works for me:
--- Code: ---display boot.msg
default tc
label tc
kernel /boot/bzImage
append initrd=/boot/tinycore.gz quiet vga=773 noswap laptop tce=sda1 waitusb=5 noscan text
implicit 0
prompt 1
timeout 300
F1 boot.msg
F2 f2
F3 f3
--- End code ---
i.e.
1. extensions in /mnt/sda1/tce loaded at boot
2. extensions in /mnt/sda1/tce/optional in app browser options menu
Note that I don't think "laptop" is needed anymore, but I didn't get around to removing it.
--- End quote ---
Hi Juanito
Thanks for that.
I've managed to get USB stick persistence in PPR/TCE mode by adding the boot options "no swap tce=sda1 waitusb=7".
I'll stick to PPR/TCE mode for the moment and try other options later.
--- Quote from: roberts on February 04, 2009, 11:30:08 PM ---
There is no tclocal, it was a typo on the boot screen and has been corrected in RC and FAQ:
tinycore local={hda1|sda1} Specify PPI directory or loopback file.
--- End quote ---
Hi roberts
The reference to "tclocal" is still shown on the http://www.tinycorelinux.com/concepts.html page which is the first point of contact for many new TC users. Is it possible to get the doc edited?
BTW being really pedantic the PPI/TCE para has the heading "The Forth Mode".
roberts:
Thanks Jay, edits done.
3rail:
fwiw, I've spent the last couple of days playing around with tc linux and trying to get it to boot from a 2gb pendrive. I used unetbootin at first, but it failed to boot too many times so I went with http://tinycorelinux.com/install.html route instead with my 2gb pendrive acting as the "hard drive".
the two head scratchers I had to overcome to get a bootable usb with tc linux using those instructions:
1. How to mount the live cd from within tc linux (answer after reading the forum: cat /etc/fstab [where is the d* cdrom drive? oh, hda]; mount /dev/hda)
2. Trying to figure out what the right grub incantation was for "sdb1". I gave up and borrowed from http://lists.us.dell.com/pipermail/linux-poweredge/2003-July/008898.html (answer: set sdb as the root device: "Grub>device (hd0) /dev/sdb", then follow the rest of the grub installation instructions in http://tinycorelinux.com/install.html.
next was TCE persistence. key to this one was the kernel line "waitusb=5 tce=sdb1/tce" and "pause" was a useful debugging tool too. home persistence was easy with adding "home=sdb1".
Thanks for TinyCore, it's very cool!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version