WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to write the image on a USB drive?  (Read 3613 times)

Offline Uqbar

  • Newbie
  • *
  • Posts: 20
    • A local host
How to write the image on a USB drive?
« 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!
Sent as ripples in the electromagnetic field. No single photon has been harmed in the process.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to write the image on a USB drive?
« Reply #1 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.

Offline emmi

  • Newbie
  • *
  • Posts: 29
Re: How to write the image on a USB drive?
« Reply #2 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
}

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to write the image on a USB drive?
« Reply #3 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.

Offline Uqbar

  • Newbie
  • *
  • Posts: 20
    • A local host
Re: How to write the image on a USB drive?
« Reply #4 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.
Sent as ripples in the electromagnetic field. No single photon has been harmed in the process.

Offline NewUser

  • Full Member
  • ***
  • Posts: 168
Re: How to write the image on a USB drive?
« Reply #5 on: March 12, 2015, 01:50:46 PM »
If you use Windows anywhere you can use core2usb.