Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Uqbar on March 10, 2015, 03:10:25 PM

Title: How to write the image on a USB drive?
Post by: Uqbar on March 10, 2015, 03:10:25 PM
I would like to boot TCB off a USB drive, just like I do with other distros.
The current procedure applies to an alteady runing system, not a clean one.
Any hint? I can use another Linux distribution, the one in use on a daily basis.
Thanks in advance!
Title: Re: How to write the image on a USB drive?
Post by: gerald_clark on March 10, 2015, 04:00:24 PM
Coreplus is an installer.
Boot it off a CD and install to your USB drive using the installer.
If you don't have a CD drive, dd the image to a USB thumb drive, boot it and use the installer to install to another USB drive.
Title: Re: How to write the image on a USB drive?
Post by: emmi on March 10, 2015, 04:13:05 PM
How big is the USB drive?
  dd if=TinyCore-6.1.iso of=/dev/sdx
where sdx is your usb drive. However, the bigger your usb drive the bigger the waste.

Another way is to make the usb drive bootable, install grub2 on it, copy the ISO file to the usb drive, get the label (or UUID) from the usb drive and edit grub.cfg:

menuentry "TinyCore 6.1" {
 set isofile=/TinyCore-6.1.iso
 loopback loop $isofile
 echo Loading vmlinuz ...
 linux (loop)/boot/vmlinuz -- iso=LABEL="your label"$isofile cde
 echo Loading core.gz ...
 initrd (loop)/boot/core.gz
}
Title: Re: How to write the image on a USB drive?
Post by: gerald_clark on March 10, 2015, 04:40:03 PM
Please read the book and consult the wiki.
Core is just 2 files.
Install the boot loader of your choice on the USB drive, and copy vmlinuz and core.gz to the drive.
Configure the boot loader to load those 2 files.
Title: Re: How to write the image on a USB drive?
Post by: Uqbar on March 11, 2015, 06:24:35 AM
Thanks all for the hints.
It'd be nice to state that the ISO images are ISOHYBRID somewhere in the download page.
This would allow people that know what a ISOHYBRID image is to immediately proceed to installation.
Title: Re: How to write the image on a USB drive?
Post by: NewUser on March 12, 2015, 01:50:46 PM
If you use Windows anywhere you can use core2usb.