WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Howto: Create Bootable USB Stick  (Read 55999 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Howto: Create Bootable USB Stick
« Reply #15 on: February 04, 2009, 10:43:06 PM »
This is not exactly what you're looking for, but this works for me:
Code: [Select]
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

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.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Howto: Create Bootable USB Stick
« Reply #16 on: February 04, 2009, 11:30:08 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.

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.
10+ Years Contributing to Linux Open Source Projects.

Offline jaygeetiny

  • Newbie
  • *
  • Posts: 20
Re: Howto: Create Bootable USB Stick
« Reply #17 on: February 05, 2009, 09:51:29 AM »
This is not exactly what you're looking for, but this works for me:
Code: [Select]
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

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.

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.


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.

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".


 
Using TC 1.1 in PPR/TC mode on a bootable USB stick with boot options "quiet noswap tce=sda1 waitusb=7 pause"

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Howto: Create Bootable USB Stick
« Reply #18 on: February 05, 2009, 11:24:14 AM »
Thanks Jay, edits done.
10+ Years Contributing to Linux Open Source Projects.

Offline 3rail

  • Full Member
  • ***
  • Posts: 114
Re: Howto: Create Bootable USB Stick
« Reply #19 on: April 01, 2009, 02:17:46 PM »
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!

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Howto: Create Bootable USB Stick
« Reply #20 on: April 01, 2009, 05:16:34 PM »
Quote
BTW being really pedantic the PPI/TCE para has the heading "The Forth Mode".

Quote
Thanks Jay, edits done.

So there's really no Forth mode?  And I really wanted to do reverse-polish arithmetic.  :)


A one-time forth geek.

(File systems are for sissies)
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 cdr

  • Newbie
  • *
  • Posts: 6
Re: Howto: Create Bootable USB Stick
« Reply #21 on: June 14, 2009, 01:54:13 PM »
I am surprised that in this discussion there was no mention of ziplinux.
That is the in doc section of the syslinux release.
The author implies that it is the only sure fire way to boot from flash media because of
geometry problems on the media, ie, the way out is to emulate a 250MB zip drive which
has disk geometry that can reliably be used on flash media with a small modification
to accound for the true size of the flash drive.

Any way, the short fille called ziplinux.txt explains it much better than I can.

Costa

Offline linus72

  • Full Member
  • ***
  • Posts: 196
  • Damn it Jim!
Re: Howto: Create Bootable USB Stick
« Reply #22 on: June 14, 2009, 02:10:04 PM »
I simply used the aforementioned grub/usb install and it works awesome
Note, anyone interested I have available tc-1.4.3-usb ready to go for both grub/ext2-3 or syslinux/fat16/32 usb
simply plop the 2 download folders(boot & flavors) onto usb, install either grub or syslinux to usb and your set
I have also "flavor" modules pre-loaded with tce's too, just stick'em in flavors folder and go! ;)
this simplifies it all, and menu.lst/syslinux.cfg is already setup for diff usb names(sda1/sdc1/sdf1, etc)
syslinux.cfg even has sub-menu system for saving to hd, usb, or even tcvd(flavors)
( http://multidistro.com/downloads/tc_flavors/tc_flavors.html )
and cool screenshots of 2.0 here and 1.4.3 too
( http://multidistro.com/tinycore-shots/tc-scrnshots.html )

Distro of the Year?
TC hands down!:)
I'm getting ready to devote my whole site to tc!

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Howto: Create Bootable USB Stick
« Reply #23 on: June 14, 2009, 02:31:34 PM »
I created both usbhdd and usbzip for DSL.
I am in the testing stage of porting both to TC.
Will likely be an extension.
10+ Years Contributing to Linux Open Source Projects.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Howto: Create Bootable USB Stick
« Reply #24 on: June 14, 2009, 11:33:10 PM »
Could we have an option to create an ext2 usbhdd using the extlinux extension?

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Howto: Create Bootable USB Stick
« Reply #25 on: June 14, 2009, 11:52:09 PM »
Will do.
10+ Years Contributing to Linux Open Source Projects.

Offline Laskody

  • Newbie
  • *
  • Posts: 30
Re: Howto: Create Bootable USB Stick
« Reply #26 on: March 17, 2021, 01:18:11 PM »
I want to ask an newbie question.  ::) If a newer version is released in the future, how can i create the core instalations image on a bootable usb?

(I created the current installation flash drive under a different system)

I'm looking for something like that

 "usb disk image recorder" that works on TC. :)  If in the future there would be only tc on the Computer.

 

Offline NewUser

  • Full Member
  • ***
  • Posts: 168
Re: Howto: Create Bootable USB Stick
« Reply #27 on: March 19, 2021, 03:36:09 AM »
If you start from Windows machine, core2usb.

Offline Laskody

  • Newbie
  • *
  • Posts: 30
Re: Howto: Create Bootable USB Stick
« Reply #28 on: March 19, 2021, 08:15:51 AM »
Thank you, but My question is that, when If you only have Tiny Core linux on your machine and you want to create an tc installation usb from Iso.  :)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Howto: Create Bootable USB Stick
« Reply #29 on: March 19, 2021, 08:45:48 AM »
You can use the tc-install extension.