Author Topic: How To prepare an ISO to USB - Linux & Windows Instructions  (Read 7649 times)

VastOne

  •      v-ger
  • Posts: 3794
    • View Profile
    • VSIDO Community
How To prepare an ISO to USB - Linux & Windows Instructions
« on: January 14, 2013, 05:53:30 AM »
Linux

WARNING, the following instructions will destroy any existing data on your USB stick.

Determine what device your USB is.  With your USB plugged in run:

Code: [Select]
sudo ls -l /dev/disk/by-id/*usb*

This should produce output along the lines of:

Code: [Select]
lrwxrwxrwx 1 root root  9 2010-03-15 22:54 /dev/disk/by-id/usb-_USB_DISK_2.0_077508380189-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 2010-03-15 22:54 /dev/disk/by-id/usb-_USB_DISK_2.0_077508380189-0:0-part1 -> ../../sdb1

In this example output, the USB device is sdb

Now cd to where your *.iso is

Code: [Select]
cd ~/downloads

Example
Code: [Select]
sudo dd if=filename.iso of=/dev/usbdevice bs=4M; sync

lets say the iso is named vsido_v1-2.iso and your USB device is sdb

Example
Code: [Select]
sudo dd if=vsido_v1-2.iso of=/dev/sdb bs=4M; sync
_____________________________________

Windows

WARNING, the following instructions will destroy any existing data on your USB stick.

1. Download win32imagewriter from here

2. Extract the ZIP archive to the directory of your choice, preferably the directory the VSIDO ISO is stored.

3. Run the Win32ImageWriter program, and click the folder icon in the Image File section.

4. In the window to “Select a disk image,” navigate to the directory the ISO is in, and type “*.iso” without the quotes. The image should appear. Click the Save button.

5. Select your USB device from the list under “Device”.

6. Click the “Write” button to write the image to the USB drive, and proceed to the following instructions concerning the installer.
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

Sector11

  • Posts: 870
    • View Profile
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #1 on: January 19, 2013, 08:01:36 PM »
Linux

WARNING, the following instructions will destroy any existing data on your USB stick.

Is that so, well it only goes to show how tough VSIDO is.

Because my USB stick with "VSIDO Debian kernel 3.7-1" on it refuses to be destroyed.

Kingston 2GB DataTraveller
  • /media/VSIDO LiveCD/install
  • /media/VSIDO LiveCD/isolinux
  • /media/VSIDO LiveCD/live
  • /media/VSIDO LiveCD/preseed
Now that's one tough, or stubborn, distro!

OK kidding aside.
   ;D 

What did I do wrong - or if nothing - what can I do?

Code: [Select]
sector11 @ sector11
 19 Jan 13 | 16:31:09 ~
         $ cd /media/5/zip-tar-gz/ISOs_LiveCDs/VSIDO/2013-01-18
 sector11 @ sector11
 19 Jan 13 | 16:31:23 /media/5/zip-tar-gz/ISOs_LiveCDs/VSIDO/2013-01-18
         $ ll
total 1404132
-rw------- 1 sector11 sector11 749731840 Jan 19 13:27 vsido_v1-2-Siduction_towo_3.7.1_Kernel.iso
-rw-r--r-- 1 sector11 sector11       322 Jan 19 13:47 vsido_v1-2-Siduction_towo_3.7.1_Kernel.iso.md5
-rw-r--r-- 1 sector11 sector11 230073823 Jan 18 23:54 vsido_v1-2-Siduction_towo_3.7.1_Kernel.iso_no1
-rw-r--r-- 1 sector11 sector11 228370975 Jan 19 00:08 vsido_v1-2-Siduction_towo_3.7.1_Kernel.iso_no2
-rw-r--r-- 1 sector11 sector11 229636527 Jan 19 00:25 vsido_v1-2-Siduction_towo_3.7.1_Kernel.iso_no3
 sector11 @ sector11
 19 Jan 13 | 16:31:40 /media/5/zip-tar-gz/ISOs_LiveCDs/VSIDO/2013-01-18
         $ sudo ls -l /dev/disk/by-id/*usb*
[sudo] password for sector11:
lrwxrwxrwx 1 root root  9 Jan 19 16:31 /dev/disk/by-id/usb-Kingston_DataTraveler_2.0_001CC07CE9A2F96021550244-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 19 16:31 /dev/disk/by-id/usb-Kingston_DataTraveler_2.0_001CC07CE9A2F96021550244-0:0-part1 -> ../../sdb1
 sector11 @ sector11
 19 Jan 13 | 16:32:16 /media/5/zip-tar-gz/ISOs_LiveCDs/VSIDO/2013-01-18
         $ sudo dd if=vsido_v1-2-Siduction_towo_3.7.1_Kernel.iso of=/dev/usbdevice bs=4M; sync
dd: writing ‘/dev/usbdevice’: No space left on device
3+0 records in
2+0 records out
10485760 bytes (10 MB) copied, 0.187867 s, 55.8 MB/s
 sector11 @ sector11
 19 Jan 13 | 16:33:54 /media/5/zip-tar-gz/ISOs_LiveCDs/VSIDO/2013-01-18
         $

gparted:


Can I boot from it and install?  Yup, did that yesterday.
Stay Home

falldown

  • Posts: 366
    • View Profile
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #2 on: January 19, 2013, 08:04:59 PM »
VSIDO plays very well with unetbottin.. Thats always a good thing.  ;)

Sector11

  • Posts: 870
    • View Profile
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #3 on: January 19, 2013, 08:13:16 PM »
VSIDO plays very well with unetbottin.. Thats always a good thing.  ;)

I no sooner learn a nice cli command and now Oops!
Do I need a gui to do what dd is suppose to do?  Thanks for that though, I may have to.

But, I'm curious to find out what oops! I did and see if I can fix it.
Stay Home

jedi

  • DEFCON 1
  • Posts: 1474
  • Not all those who wander are lost.
    • View Profile
    • NixNut.com
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #4 on: January 19, 2013, 08:41:59 PM »
Sector11, on your dd comand I see you are sending it to this;

‘/dev/usbdevice’

Shouldn't that be 'of=/dev/sdb bs=4M; sync'

That's how I do it anyway....
Jed
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

Sector11

  • Posts: 870
    • View Profile
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #5 on: January 19, 2013, 11:23:33 PM »
DUH!!!!!!!!!! Thank you jed ... 100000000 gold nuggets for you!
Stay Home

jedi

  • DEFCON 1
  • Posts: 1474
  • Not all those who wander are lost.
    • View Profile
    • NixNut.com
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #6 on: January 20, 2013, 01:32:47 AM »
I finally got to 'help' you back!!!!  hehehe   :D

YEAH!!!
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

Sector11

  • Posts: 870
    • View Profile
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #7 on: January 20, 2013, 04:02:33 PM »
^ Well such an  :-[ "Oops!" too ... and being corrected by the copy/paste King. that's another  :-[

You never told me it's copy/paste/edit   :o

Funny how it work right when that little "edit" is done right.

Code: [Select]
20 Jan 13 | 12:49:05 /media/5/zip-tar-gz/ISOs_LiveCDs/VSIDO/2013-01-18
         $ sudo dd if=vsido_v1-2-Siduction_towo_3.7.1_Kernel.iso of=/dev/sdb bs=4M; sync
178+1 records in
178+1 records out
749731840 bytes (750 MB) copied, 190.639 s, 3.9 MB/s
 sector11 @ sector11
 20 Jan 13 | 12:53:00 /media/5/zip-tar-gz/ISOs_LiveCDs/VSIDO/2013-01-18
         $

100000 gold cookies for jedi
Stay Home

dizzie

  • DEFCON 1
  • Posts: 729
  • Bastard Operator From Hell
    • View Profile
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #8 on: January 20, 2013, 04:10:24 PM »
I don't trust anything but 'dd'

Very nice you got it right Sector11  ;D

Beers on me next time :)
Reclaim your culture, it's within your reach!

My Blog | Facebook | Twitter | G+ | VSIDO |


Sector11

  • Posts: 870
    • View Profile
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #9 on: January 20, 2013, 05:04:49 PM »
^ Don't drink, but I'll take a coffee.

Still have the USB plugged in, waiting for time to boot to it.   ::)
Stay Home

dizzie

  • DEFCON 1
  • Posts: 729
  • Bastard Operator From Hell
    • View Profile
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #10 on: January 20, 2013, 05:39:50 PM »
Don't drink, but I'll take a coffee.

Still have the USB plugged in, waiting for time to boot to it.   ::)

Coffee will do :)

Cant or wont it boot?
Reclaim your culture, it's within your reach!

My Blog | Facebook | Twitter | G+ | VSIDO |


Sector11

  • Posts: 870
    • View Profile
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #11 on: January 20, 2013, 05:58:07 PM »
Haven't had time to try it ... I'm certain it will boot.  :D
Stay Home

dizzie

  • DEFCON 1
  • Posts: 729
  • Bastard Operator From Hell
    • View Profile
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #12 on: January 20, 2013, 06:38:03 PM »
Haven't had time to try it ... I'm certain it will boot.  :D

Yay!
Reclaim your culture, it's within your reach!

My Blog | Facebook | Twitter | G+ | VSIDO |


EL SID

  • Posts: 4
    • View Profile
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #13 on: May 08, 2013, 05:02:09 PM »
Hi, with this command it worked for me
command lsblk, the USB stick was mounted ( should have been unmounted...), then
sudo dd bs=4M if=/home/user/Downloads/vsido_v1-2_3.8_Kernel.iso of=/dev/sdg
229+1 Datensätze ein
229+1 Datensätze aus - waited a long time
unmounted and remounted, and all data were present.
can multiple distros be copied on a stick in the same way ?


VastOne

  •      v-ger
  • Posts: 3794
    • View Profile
    • VSIDO Community
Re: How To prepare an ISO to USB - Linux & Windows Instructions
« Reply #14 on: May 08, 2013, 10:13:46 PM »
They can but any dd command will wipe off what is there and put the new ISO on the USB

FWIW, I have never ever had to unmount a USB before I ran dd on it
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO