How to Create a LiveUSB

The goal of this manual is to instruct the user on how to make a bootable USB drive with Trisquel installed.

Described methods

  • Trisquel GNU/Linux (GUI: graphical user interface)
  • GNU/Linux (terminal)
  • GNU/Linux (UEFI-only)
  • Windows (GUI)
  • Mac OS X (terminal)

Note: It is possible to enlarge the images via the button right click of your mouse.

Trisquel (Graphical)

Launch System Settings from the main menu.

USB_Install_01_0.png

Select Startup Disk Creator.

SelectSDC.png

Select a source disk image or burned Trisquel disk and a designated device. Click Make Startup Disk.

USB_Install_02.png

Confirmation will display that the startup drive is complete.

USB_Install_03_1.png

Terminal (dd of GNU Coreutils)

To find out the device name, type in terminal:

$ lsblk
Then unmount the USB:
$ umount /dev/sdX* 
# (e.g. /dev/sdc*); use asterisk (known as 'wildcard') to unmount all partitions on the USB.

Then write and transfer the image to the USB:

$ sudo dd if=/path/to/image.iso of=/dev/sdX bs=8M;sync
Note that you want the device name (e.g. /dev/sdX) not the partition name (e.g. /dev/sdX1).

UEFI-only USB (7zip in GNU/Linux)

Sometimes, a machine can only boot a UEFI-only USB. Here's how this can be done:

Format the USB using gparted as fat32, with only one partition. Install p7zip. In terminal:

$ 7z x trisquel-amd64.iso -o/media/$USER/604A-00EA/
Where 604A-00EA is the name of the USB drive.

(Adapted from https://askubuntu.com/questions/395879/how-to-create-uefi-only-bootable-usb-live-media)

Windows (Universal USB Installer (GPLv2))

This manual is not an endorsement for the use of non-free operating systems. This manual is designed to help users migrate from non-free systems to free ones, as it is the case of Trisquel.

The easiest way to get up an running with USB is to use the USB installer provided by pendrivelinux.com. You’ll need to download and install and follow the instructions.

Select.png

Click 'Browse' and open the downloaded ISO file.

Browse.png

Open.png

Choose the USB drive and click 'Create'.

ChooseUsbDrive.png

In Mac OS X (Terminal)

This manual is not an endorsement for the use of non-free operating systems. This manual is designed to help users migrate from non-free systems to free ones, as it is the case of Trisquel.
  1. Download a Trisquel disc image from our download page.
  2. Open the Terminal from Applications/Utilities.
  3. Convert the .iso file to a .img.

Type (according the name of the path to the file):

$ hdiutil convert -format UDRW -o ~/path/to/trisquel.img ~/path/to/trisquel.iso
This will create a file with a .img.dmg extension. Type the following to rename this file.
$ mv ~/path/to/trisquel.img.dmg ~/path/to/trisquel.img
To display the list of devices currently attached type:
$ diskutil list
Insert your USB stick with at least 2GB of free space, then type:
$ diskutil list
again to figure out the device file assigned to your USB stick (e.g. "/dev/disk2").

Now type:

$ diskutil unmountDisk /dev/diskN
where N is the number from the last command (If your USB stick is "/dev/disk2", N would be 2).

Then type:

$ sudo dd if=/path/to/trisquel.img of=/dev/rdiskN bs=1m
If you see the error message "dd: Invalid number '1m'", replace "1m" with "1M" in the previous command.

To finish:
$ diskutil eject /dev/diskN

Revisions

07/10/2009 - 14:50
kernel_script
01/31/2011 - 03:20
AndrewT
02/26/2012 - 07:37
levl
03/23/2012 - 13:43
icarious
06/01/2012 - 18:51
vod
01/18/2013 - 17:33
SirGrant
06/10/2013 - 20:58
bob328468365
08/13/2013 - 18:08
lloydsmart
04/14/2014 - 03:27
alguien
08/25/2014 - 18:05
icaroperseo
04/16/2015 - 16:33
Hdesmi
06/06/2015 - 15:00
Magic Banana
01/22/2016 - 03:17
knipknup
01/12/2017 - 21:51
albertoefg
08/16/2017 - 11:46
david
10/02/2017 - 12:10
ylevental
08/06/2018 - 22:26
loldier