VSIDO Community

VSIDO Support => Scripts and How To's => How To's => Topic started by: VastOne on January 14, 2013, 05:53:30 AM

Title: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: VastOne 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:


sudo ls -l /dev/disk/by-id/*usb*


This should produce output along the lines of:


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


cd ~/downloads


Example

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

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 (http://sourceforge.net/projects/win32diskimager/)

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.
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: Sector11 on January 19, 2013, 08:01:36 PM
Quote from: VastOne on January 14, 2013, 05:53:30 AM
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
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: falldown on January 19, 2013, 08:04:59 PM
VSIDO plays very well with unetbottin.. Thats always a good thing.  ;)
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: Sector11 on January 19, 2013, 08:13:16 PM
Quote from: falldown on January 19, 2013, 08:04:59 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.
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: jedi 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
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: Sector11 on January 19, 2013, 11:23:33 PM
DUH!!!!!!!!!! Thank you jed ... 100000000 gold nuggets for you!
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: jedi on January 20, 2013, 01:32:47 AM
I finally got to 'help' you back!!!!  hehehe   :D

YEAH!!!
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: Sector11 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.

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
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: dizzie 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 :)
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: Sector11 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.   ::)
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: dizzie on January 20, 2013, 05:39:50 PM
Quote from: Sector11 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.   ::)

Coffee will do :)

Cant or wont it boot?
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: Sector11 on January 20, 2013, 05:58:07 PM
Haven't had time to try it ... I'm certain it will boot.  :D
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: dizzie on January 20, 2013, 06:38:03 PM
Quote from: Sector11 on January 20, 2013, 05:58:07 PM
Haven't had time to try it ... I'm certain it will boot.  :D

Yay!
Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: EL SID 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 ?

Title: Re: How To prepare an ISO to USB - Linux & Windows Instructions
Post by: VastOne 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