You would use Ubuntu to work on Ubuntu. For that
"familiar" feeling.
Modern Ubuntu DVD images support "hybrid" operation.
Optical media, the ISO file you download is a multiple
of 2048 bytes, because 2048 bytes is a common sector
size of optical media.
Hybrid media, the size may be rounded so that it is also
a multiple of 1MB (1048576 bytes). But I noticed that
the latest round of DVDs, don't happen to be a multiple
of 1MB (which in my opinion is a mistake). The reason
for wanting them to be a multiple of 1MB, is to do this.
http://www.chrysocome.net/downloads/dd-0.6beta3.zip
dd.exe --list # Make sure you know which
# storage device is the USB flash stick
# The "list" option describes them
dd if=C:\users\art\ubuntu-14.04-desktop-i386.iso of=\\?\Device\Harddisk3\Partition0 bs=1048576
In that example, I picked a large block size, to reduce the
potential for wear on the USB flash stick "harddisk3".
So let's take some Ubuntu distros, and check the size.
They all turn out to be pretty good for "dd" copying.
(They have a relatively large block size.)
Simply change the Block Size bs= value to the
power_of_two number on the end of each calc.
An easy way to work out what to use, is to use
Linux "factor", and gobble up all the 2's to make
your power_of_two factor. The idea is, to select
a block size related to "sectors", as well as a
block size that divides evenly into the size of the
ISO file.
ubuntu-14.04-desktop-i386.iso 1,017,118,720 bytes
= 970 * 1048576
ubuntu-15.04-desktop-amd64.iso 1,150,844,928 bytes
= 35121 * 32768
ubuntu-16.04-desktop-i386.iso 1,504,051,200 bytes
= 11475 * 131072
So now I know what block size to use with the second one.
dd if=C:\users\art\ubuntu-15.04-desktop-amd64.iso of=\\?\Device\Harddisk3\Partition0 bs=32768
Obviously, Linux has "dd" too. I was just demonstrating
that if you needed to write the ISO to a USB flash
in Windows, there's a tool available. And it only works,
if you see "advertising" for the distro that says the
optical media now supports hybrid booting. For example,
if I picked a Ubuntu 7.04 ISO from my collection, it
should refuse to boot if handled that way. Hybrid is
a relatively recent improvement.
So let's compare what "disktype" says about each ISO
in my collection.
This is the output for the 16.04 DVD, one you would
suspect to be a hybrid. Notice the overlay of a hidden
NTFS partition, on top of the ISO file system.
--- ubuntu-16.04-desktop-i386.iso
Regular file, size 1.401 GiB (1504051200 bytes)
DOS/MBR partition map
Partition 1: 1.401 GiB (1504018432 bytes, 2937536 sectors from 64, bootable)
Type 0x17 (Hidden HPFS/NTFS)
ISO9660 file system
Volume name "Ubuntu 16.04 LTS i386"
Preparer "XORRISO-1.1.8 2011.11.20.173001, LIBISOBURN-1.1.8, LIBISOFS-1.1.6, LIBBURN-1.1.8"
Data size 1.401 GiB (1504018432 bytes, 734384 blocks of 2 KiB)
Joliet extension, volume name "Ubuntu 16.04 LTS"
ISO9660 file system
Volume name "Ubuntu 16.04 LTS i386"
Preparer "XORRISO-1.1.8 2011.11.20.173001, LIBISOBURN-1.1.8, LIBISOFS-1.1.6, LIBBURN-1.1.8"
Data size 1.401 GiB (1504051200 bytes, 734400 blocks of 2 KiB)
El Torito boot record, catalog at 252
Bootable non-emulated image, starts at 730814, preloads 2 KiB
Platform 0x00 (x86), System Type 0x00 (Empty)
ISOLINUX boot loader
Joliet extension, volume name "Ubuntu 16.04 LTS"
The 15.04 x64 in my collection has an unbelievable
setup. I'm not even going to copy it o.O
Ny ubuntu-14.04-desktop-i386.iso sample is similar to 16.04.
OK, so by going back to 11.04, I can see that
one doesn't support hybrid. Consequently, you'd
use pendrivelinux or whatever, to put it on a stick.
Ubuntu also has an application that will put the
material on a USB stick, but if you're currently
broken, you might not have access to it. So we won't
go down that road. (I've used the Ubuntu application,
to install Mint on a USB stick :-) )
Here's the disktype of ubuntu-11.04-desktop-i386.iso .
This one isn't the right kind of hybrid. It's missing
the "conventional filesystem" for the first part,
that the other example has. So you cannot just "dd"
this one onto a USB flash stick.
--- ubuntu-11.04-desktop-i386.iso
Regular file, size 685.3 MiB (718583808 bytes)
ISO9660 file system
Volume name "Ubuntu 11.04 i386"
Application "GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C)
1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM"
Data size 685.3 MiB (718583808 bytes, 350871 blocks of 2 KiB)
El Torito boot record, catalog at 142
Bootable non-emulated image, starts at 130, preloads 2 KiB
Platform 0x00 (x86), System Type 0x00 (Empty)
ISOLINUX boot loader
Joliet extension, volume name "Ubuntu 11.04 i38"
I built my "disktype.exe" in Cygwin, so I could
have a copy to use in Windows.
HTH,
Paul