UNetbootin Installation

19 replies [Last post]
Aristophanes
Offline
Joined: 10/05/2017

I'm running Trisquel 8. I'm trying to install UNetbootin via the "Add/Remove Applications" program. Whenever I click the checkbox to install it, the program hangs seemingly indefinitely, and I have to close it.

What is causing this issue, and might there be a better way of installing UNetbootin? FWIW, I'm trying to create a Fedora LiveUSB, hence my attempt to install UNetbootin.

Magic Banana

I am a member!

Offline
Joined: 07/24/2010

https://trisquel.info/en/wiki/how-create-liveusb gives instructions for any live ISO.

Aristophanes
Offline
Joined: 10/05/2017

I tried the "Trisquel GNU/Linux (GUI: graphical user interface)" method. The issue is I cannot open the Fedora ISO in the "Startup Disk Creator" program.

nickylodeon
Online
Joined: 07/22/2017

Yes, I was about to mention that this thing may happen.

So, try dd program :)

this is what you need:
sudo dd if=/path/to/image.iso of=/dev/sdX bs=8M;sync
where image.iso is your fedora[someting].iso, or how are they named. And /dev/sdX is the name of your device. One of the ways to find it out is to run this command: `lsblk`

Have fun!

Aristophanes
Offline
Joined: 10/05/2017

I came across the Libreboot project's instructions on how to prepare a USB Drive in GNU+Linux (https://libreboot.org/docs/gnulinux/grub_boot_installer.html#prepare-the-usb-drive-in-gnulinux), and I noticed that they slightly differ from those described here. Why is that?

loldier
Offline
Joined: 02/17/2016

The USB drive should be unmounted before writing with dd.

nickylodeon
Online
Joined: 07/22/2017

exactly, pardon for that

Aristophanes
Offline
Joined: 10/05/2017

If you were basing your instructions on the relevant Trisquel manual, which it seems that you were, it's not necessarily your fault; rather, the manual's instructions were lacking.

nickylodeon
Online
Joined: 07/22/2017

Hello, Aristophanes.

This package was removed, since it contains a list of distros that don't respect users' freedom (software that does not respect Free System Distribution Guidelines).
As you can see here, it was fixed, and the fix is FUSBi program which does what is recommended (changes or removes the list of distors available -- I've never used that program). But I discovered that it is unmaintained. In fact, I can't even download it from the project's website, and it's not in Trisquel repos either.
While browsing threads, I found this, hope it will help you :)
here is that discussion.

It seems that there are no binaries around, so you will need to build freenetbootin, as written in README. But don't you want to use dd? Fedora in its ~clear~ form contains proprietary software, to be noted.

Have a good time!

Aristophanes
Offline
Joined: 10/05/2017

Thanks for your explanation.

"But don't you want to use dd?"

I'm concerned that I might, by mistake, delete the wrong disk. If I'm unable to create the live USB via a GUI, I'll try the command line.

nadebula.1984
Offline
Joined: 05/01/2018

Before running dd, always run "sudo lsblk" to see which device file corresponds to the USB storage.

If you have difficulties in using command line interface, try some GUI programs that respect your freedom. e.g. Etcher, which is recommended by FSF.

loldier
Offline
Joined: 02/17/2016

Etcher has privacy issues and in-app purchases.

DD is easy to use, so that would be my recommendation under most circumstances.

https://trisquel.info/en/forum/trisquel-8-codename-flidas-release-candidate-ready-testing#comment-130420

loldier
Offline
Joined: 02/17/2016

If you think you need UNetbootin rather than the default startup disk creator, download a binary copy and execute it. Check "allow executing as program" first (right-click, properties, permissions).

https://unetbootin.github.io/linux_download.html

Then run in terminal './unetbootin-linux64-661.bin'.

unetbootin.png
loldier
Offline
Joined: 02/17/2016

Fedora Media Writer would be the best universal solution. It should be ported or forked to Ubuntu and Trisquel. A snap is available (or a Flatpak).

Instructions to build from source:

https://github.com/FedoraQt/MediaWriter

FMW is able to write any ISO to USB. It works under GNU/Linux, MacOS and Windows.

https://en.wikipedia.org/wiki/Fedora_Media_Writer

andyprough
Offline
Joined: 02/12/2015

Have you tried Etcher? I prefer Etcher. https://directory.fsf.org/wiki/Etcher#tab=Overview

Even has a nice CLI interface with most of the features of the GUI.

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

dd is amazing and no one should ever need more.

Beformed
Offline
Joined: 01/13/2017

I totally agree with you. I remember using guis like unetbootin at some point, I also used rufus and some other stuff. Since I learned how to use dd, that's all I need to know.

dd:
* Fast
* Reliable
* alway works

GUIs:
* Have to install
* Not always stable
* Unexpected management of your usb stick
* They work weird with specific distros

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

>alway works

this..

nadebula.1984
Offline
Joined: 05/01/2018

"Always works" is a false generalization.

Some legacy iso images have no partition table. If you burn it to a CD/DVD, it works perfectly. If you write it to a USB key using dd, it won't boot, because there is no partition table on the USB key. If you run # lsblk, you'll see /dev/sdx as a block device but not /dev/sdx1.

loldier
Offline
Joined: 02/17/2016

There are many ways to accomplish the same result, 'cp' (as root) is one.

# cp trisquel_XXX.iso /dev/sdX

'cat' is another.

# cat trisquel_XXX.iso > /dev/sdX