From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-150353-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 7B3B51381F3
	for <garchives@archives.gentoo.org>; Tue,  3 Sep 2013 21:20:23 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 86189E13A9;
	Tue,  3 Sep 2013 21:20:19 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 44953E0CA8
	for <gentoo-user@lists.gentoo.org>; Tue,  3 Sep 2013 21:20:18 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id 67F1333E9AA
	for <gentoo-user@lists.gentoo.org>; Tue,  3 Sep 2013 21:20:17 +0000 (UTC)
X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org
X-Spam-Flag: NO
X-Spam-Score: -2.341
X-Spam-Level:
X-Spam-Status: No, score=-2.341 tagged_above=-999 required=5.5
	tests=[AWL=-1.111, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,
	NML_ADSP_CUSTOM_MED=1.2, RP_MATCHES_RCVD=-2.43, SPF_HELO_PASS=-0.001,
	SPF_PASS=-0.001] autolearn=unavailable
Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1])
	by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ADQ7M91UWYjO for <gentoo-user@lists.gentoo.org>;
	Tue,  3 Sep 2013 21:20:11 +0000 (UTC)
Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5FD3933DACA
	for <gentoo-user@gentoo.org>; Tue,  3 Sep 2013 21:20:09 +0000 (UTC)
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <lnx-gentoo-user@m.gmane.org>)
	id 1VGy15-0004mV-Id
	for gentoo-user@gentoo.org; Tue, 03 Sep 2013 23:20:03 +0200
Received: from dsl.comtrol.com ([64.122.56.22])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Tue, 03 Sep 2013 23:20:03 +0200
Received: from grant.b.edwards by dsl.comtrol.com with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Tue, 03 Sep 2013 23:20:03 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: gentoo-user@lists.gentoo.org
From: Grant Edwards <grant.b.edwards@gmail.com>
Subject: [gentoo-user] Re: Install from USB stick; here's how
Date: Tue, 3 Sep 2013 21:19:08 +0000 (UTC)
Message-ID: <l05joc$f96$2@ger.gmane.org>
References: <20130107030508.GA22701@waltdnes.org>
 <l054si$19s$1@ger.gmane.org> <52264BA2.6070004@gmail.com>
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: dsl.comtrol.com
User-Agent: slrn/1.0.1 (Linux)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
X-Archives-Salt: 0447fd69-7276-4873-b042-82bcd8c0abae
X-Archives-Hash: cca03ebf73a51a9b9c469cee7c11fc23

On 2013-09-03, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On 03/09/2013 19:05, Grant Edwards wrote:
>> On 2013-01-07, Walter Dnes <waltdnes@waltdnes.org> wrote:
>> 
>>>   For those of you who don't want to do the tap-dance listed at...
>>> http://www.gentoo.org/doc/en/liveusb.xml
>>>
>>> * My netbook's harddrive is normally /dev/sda, except when I boot from a
>>>   USB stick.  The stick will become /dev/sda and the harddrive becomes
>>>   /dev/sdb
>>>
>>> * My desktop's harddrive is also /dev/sda.  I took the linux minimal
>>>   install ISO, ran isohybrid on it, with the command...
>>>
>>> isohybrid install-x86-minimal-20121213.iso
>>>
>>>   If you don't have isohybrid...
>>>
>>> emerge sys-boot/syslinux
>>>
>>> * I then copied it over to a USB stick (/dev/sdb) with the command...
>>>
>>> dd bs=4M if=install-x86-minimal-20121213.iso of=/dev/sdb
>> 
>> I did a 64-bit install from USB flash-drive a few days ago using the
>> older tap-dance, and it worked fine -- except I discovered one of my
>> "must have" apps is 32-bit only and didn't work correctly when run in
>> 32-bit emulation mode (I don't know why).
>> 
>> So I tried Walter's recipe yesterday to do a 32-bit install.
>> 
>> After running the isohybrid command, I compared the resulting image
>> with the original.  They were identical.  I copied the image to a USB
>> flash drive, and it booted just fine.
>> 
>> It seems that the minimal install .iso images are already built for
>> hybrid booting from either CD or a generic block device (e.g. USB
>> mass-storage device).
>> 
>> So what's the deal with http://wiki.gentoo.org/wiki/LiveUSB/HOWTO?
>> 
>> Why isn't it just the steps below?
>> 
>>   1) Copy the minimal install .iso to USB mass storage device.
>> 
>>   2) Boot from USB mass storage device.  
>
> Copying an .iso to a USB stick does not give you a bootable USB
> stick.

It does for recent Gentoo minimial install .iso images.

> It gives you a USB stick with one large file, without bootloader, and
> the BIOS code can't make sense of it.

All my machines seem to.

> USB mass storage devices are not CDs, you can't just dd an ISO9660
> image to a USB stick and expect it to work

But it _does_ work.  I tried it with a couple different minimal
install .iso files and a couple different machines.

-- 
Grant Edwards               grant.b.edwards        Yow! What's the MATTER
                                  at               Sid? ... Is your BEVERAGE
                              gmail.com            unsatisfactory?