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 B011C1381F3 for ; Tue, 3 Sep 2013 20:54:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3E5DE14C3; Tue, 3 Sep 2013 20:54:29 +0000 (UTC) Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 42781E14B5 for ; Tue, 3 Sep 2013 20:54:27 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id q54so5245894wes.19 for ; Tue, 03 Sep 2013 13:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=G8RfQdxkAc/rC+kLBwHDShC7flNWqFIBoVUii8i4D5I=; b=DO2iHv4f1/ugP3tbAcUEgvEvsYo9KPAipf/qN1vraUs8NJ47xSPeGWzXrgod448QxL X5E2relgwAg/I2BDJHrBltiTvxdyDKRIe5OPjp4vgf91Fhpmsc6l5ECro+rkmCoqvyeB i0+hoW8gVguFAmobY1oQFqU2AALJJQ1ADKFYvdhAIiN2LAOIHFPPJfHqOhem6VJq5x8N dQjf+o50uBidrJQGFgg0s87bYqcWO8UVfoVZtiPx4JCHUV+8BBVxkY20JZSBjsGFjMBe eduyYEUAEvG7mBoX978jcqj+HFLXHS5Wd+Wt66XTWXGEOxQR+nSQoTs8qkgWvCQsuE0d mvWQ== X-Received: by 10.194.21.131 with SMTP id v3mr3934053wje.44.1378241666886; Tue, 03 Sep 2013 13:54:26 -0700 (PDT) Received: from [172.20.0.41] (196-210-126-85.dynamic.isadsl.co.za. [196.210.126.85]) by mx.google.com with ESMTPSA id mb7sm28161215wic.10.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Sep 2013 13:54:26 -0700 (PDT) Message-ID: <52264BA2.6070004@gmail.com> Date: Tue, 03 Sep 2013 22:50:42 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Install from USB stick; here's how References: <20130107030508.GA22701@waltdnes.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 8fb37a8f-535c-4f87-9313-c69535a15365 X-Archives-Hash: 08b698d7a6b8e0da5f4442932978b4ed On 03/09/2013 19:05, Grant Edwards wrote: > On 2013-01-07, Walter Dnes 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 gives you a USB stick with one large file, without bootloader, and the BIOS code can't make sense of it. USB mass storage devices are not CDs, you can't just dd an ISO9660 image to a USB stick and expect it to work (although files named *.img will often work doing exactly this) This is why unetbootin takes so long to do it's thing, it has to unpack image files and write them file by file to the USB stick -- Alan McKinnon alan.mckinnon@gmail.com