Command to making USB flash drive a bootable disk works only 2/10 of the times

10 replies [Last post]
GrevenGull
Offline
Joined: 12/18/2017

I am following this guide

https://wiki.parabola.nu/Beginners%27_Guide

and when I get to the "# dd bs=4M if=~/downloads/parabola-*-dual.iso of=/dev/sdx && sync" where one shall make the USB flash a bootable disk, it only works some times, most of the times nothing happens.

Have anybody experienced something similar and found the cause?

GrevenGull
Offline
Joined: 12/18/2017

I found the error... The error was that in the 8/10 it didn't work, I was including the "#" in the command...

nadebula.1984
Offline
Joined: 05/01/2018

The # means that you need to run this command as root...

GrevenGull
Offline
Joined: 12/18/2017

Okay, that's a standard? :)

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

It is a convention, which is usually respected (execute 'sudo -i' to get a root terminal and see the prompt: it will end with "#", unless you redefined the PS1 variable, probably in /root/.bashrc).

GrevenGull
Offline
Joined: 12/18/2017

glorious! So after I type sudo -i, every command from there on will be sudo even though I do not specify sudo?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Yes. Be extra-careful with what you execute in a root terminal!

GrevenGull
Offline
Joined: 12/18/2017

Cool, how do I go back to normal terminal?

loldier
Offline
Joined: 02/17/2016

Ctrl+D or 'exit'.

GrevenGull
Offline
Joined: 12/18/2017

Nice

loldier
Offline
Joined: 02/17/2016

What do you mean "nothing happens"?

dd is not supposed to be verbose. It acts as if nothing's happening. At the end it will print the number of bytes written to target disk. Do you get the prompt back?

'sudo dd if=trisquel.iso of=/dev/sdX bs=1M;sync'

The USB disk must be unmounted first for dd to perform its routine.