Quickly create a bootable USB in Linux

Posted: November 2, 2013 in Linux, Ubuntu
Tags: , , , , ,

Yes – Everything I do – I do it for you (more like IN you; Ahem! You = Linux BTW)!

Alright without wasting any time lets quickly get on with it.

This post is about saving your DVD and DVD tray; This post is about installing the OS at a superior speed; This post is about saving time.

What we want to achieve:

We want to install an OS using a bootable USB drive instead of a DVD (it has a lot of hassles – you need to buy one – you need to sit and wait for burning to complete – it may fail – you need to go to the shop and buy another one – as it runs from a DVD the installation will be slower – BLAH BLAH BLAH!)

How we are doing it?

For Ubuntu and other more recognized Operating Systems, we already have Ubuntu Startup Disk Creator, or that.

But it requires software installation and doesn’t work with all the Operating Systems.

So we are going to use the tools which come bundled with all the Linux distros and we are going to make our USB disk imitate a DVD.

What to do:

Make sure you have the ISO of the operating system downloaded already. Lets put it in the $HOME directory and let’s call it OS.iso


$ sudo dd if=$HOME/OS.iso of=/dev/sdx oflag=direct  bs=1048576

Where:

bs stands for bytes. 1048576 = 1024 * 1024 bytes = 1Mb.

‘/dev/sdx‘ is the target USB drive. If your system doesn’t support ‘oflag=direct’, you can just leave it out as it is simply intended to speed up the process a bit.

If you don’t know about the target USB drive path, run this command and figure out your destination drive.


$ sudo fdisk -l

Warning: Please make sure you have the correct value for x – or it can be catastrophic for you running environment.

Remember, don’t include an integer for the USB drive, e.g. ‘/dev/sdx1′, as it would refer to the existing partition on that drive and not the drive itself.
When the USB has been properly created by ‘dd’, there should be an output similar to this:

706+1 records in
706+1 records out
740601856 bytes (741 MB) copied, 91.7024 s, 8.1 MB/s

Happy Hacking!

Source: http://community.linuxmint.com/tutorial/view/744

 

About these ads
Comments
  1. More than 75K hits?!! :O
    Partyyyyyyyyyy :-) :-)

    Mahnnn…. You are MIGHTILY popular \m/
    AAAAANNNNDDDD,,,,
    It’s no big wonder if the blog’s written by someone like YOU, who never fails to impress with his mind.
    Now… Now… need I say more?! :-) ;-)
    You Rock.

    Way to go!!
    *Happy New Year to You* ;-)

    PS: Nice Theme ^_^

    – The Loyal Follower

    • :D Ah! Thank You Thank You Simharika.
      Happy New Year to you too.

      I honestly feel that you must have contributed for most of my site visits. You are so sweet + far too kind! It feels good that *My loyal follower* appreciates the site theme. Now I wouldn’t have to change it :)

      – `Mighty` Popular

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s