public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: [OT] Making a bootable USB flash drive from ISO image
Date: Thu, 2 Oct 2014 23:30:19 +0100	[thread overview]
Message-ID: <20141002233019.1891d34e@digimed.co.uk> (raw)
In-Reply-To: <m0kgks$gtg$1@ger.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1608 bytes --]

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.
> 
> 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:
> 
> 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.


-- 
Neil Bothwick

Become a gynaecologist, look up a friend today.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2014-10-02 22:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02 21:11 [gentoo-user] [OT] Making a bootable USB flash drive from ISO image Grant Edwards
2014-10-02 21:24 ` Neil Bothwick
2014-10-02 21:38   ` [gentoo-user] " Grant Edwards
2014-10-02 22:30     ` Neil Bothwick [this message]
2014-10-03 15:19       ` James
2014-10-03 23:38         ` thegeezer
2014-10-06 11:52         ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141002233019.1891d34e@digimed.co.uk \
    --to=neil@digimed.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox