From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7050113838B for ; Thu, 2 Oct 2014 22:30:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56D85E084D; Thu, 2 Oct 2014 22:30:33 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id EF6E4E081D for ; Thu, 2 Oct 2014 22:30:29 +0000 (UTC) Received: from digimed.co.uk (shooty.digimed.co.uk [192.168.1.8]) by mail.digimed.co.uk (Postfix) with ESMTPA id 478AB24D8A for ; Thu, 2 Oct 2014 23:30:28 +0100 (BST) Date: Thu, 2 Oct 2014 23:30:19 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: [OT] Making a bootable USB flash drive from ISO image Message-ID: <20141002233019.1891d34e@digimed.co.uk> In-Reply-To: References: <20141002222412.6e07e903@hactar.digimed.co.uk> Organization: Digital Media Production X-Mailer: Claws Mail 3.10.1-119-g7fbc83 (GTK+ 2.24.24; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/i4Dixd2eBVuWB4_M_t2yrbe"; protocol="application/pgp-signature" X-Archives-Salt: 2212f0a5-e5ba-470e-a27d-62e947a8564b X-Archives-Hash: afd0a953a982acd47bce6c7d1e3f1f06 --Sig_/i4Dixd2eBVuWB4_M_t2yrbe Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 2 Oct 2014 21:38:36 +0000 (UTC), Grant Edwards wrote: > > They did something, but it's not particularly special. All they did > > was run isohybrid (from syslinux) on the ISO image. It uses unused > > space at the start of the DVD ISO specification that is normally left > > blank to hold a partition table so the image can be copied to a USB > > drive and appear as a partitioned disk. >=20 > There must be a little more to it than that. Does it also install > along with a parition table some bootloader code that knows where/how > to boot the ISO boot image? [After a little googling] It also > installs MBR bootloader code that knows how to find/load isolinux.bin: >=20 > http://www.syslinux.org/wiki/index.php/Isohybrid Yes, the unused space contains the MBR; partition table and bootloader. Plus it adds some more code at the end of the image. I was also wrong in stating I use isohybrid for the LXFDVDs. I used to but since switching to using GRUB to boot the DVDs, there is no need for it. GRUB bootable DVD ISOs can boot from USB sticks by default. That's the trouble with writing scripts to take care of routine tasks, you forget when you are actually doing beyond running the script. > Interestingly, it also created a second EFI boot partition which > exists inside the main parition. That must be a UEFI bootable disc. ISOs can have all sorts of strange setups, I have to make the LXFDVDs readable on a Mac, which results in an HFS+ filesystem being nested inside the ISO one. --=20 Neil Bothwick Become a gynaecologist, look up a friend today. --Sig_/i4Dixd2eBVuWB4_M_t2yrbe Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlQt0gAACgkQum4al0N1GQO5qQCeMhiehcQ7VsMs+FzxJkabNsnz tuoAn3K6UEC2jVvKGHtEqI6FpzfyqIt8 =3C/M -----END PGP SIGNATURE----- --Sig_/i4Dixd2eBVuWB4_M_t2yrbe--