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 7961D1381F3 for ; Tue, 3 Sep 2013 21:29:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88ABBE13DD; Tue, 3 Sep 2013 21:29:25 +0000 (UTC) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D75C4E13C9 for ; Tue, 3 Sep 2013 21:29:23 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id cb5so2958592wib.4 for ; Tue, 03 Sep 2013 14:29:22 -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=+5o7pg90sVU9r9NvuwtK5BEhei5Qv2bTsTwQCy3rD8E=; b=Apm7aDWVL3SADB6KnMAWcBRYkgcLIYKiX6FaUbfrIGUrMxfAF12XcBw54Jy+DkbQyt LqISrrxPVTIyeJYaz0N7GIRttFBt59w1Lrl130ofNZ/OOzxCN7bx6DmRsp+Q9dFNwyFV aj3q7PDjG0xVu+kOl0kjwFztkvPAETYBD9Gg4srktPqk6PaYKmbD9Zu2f6n8JIBeL8Tn aFRQxkT59SiXd6sCh0qEzNY387s6h92oz50zmT5WTlw7pLWNvMlRbWT29OW36CvD+cAo 5fmlpgg6aRDPYCf9hAJ4k5cASb0PfiDiUQi/074U/EmuLYXgXeY3qkJOtUSj0JRFf4fh 5vRw== X-Received: by 10.180.189.37 with SMTP id gf5mr20017180wic.31.1378243762542; Tue, 03 Sep 2013 14:29:22 -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 p8sm18424794wij.8.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Sep 2013 14:29:22 -0700 (PDT) Message-ID: <522653D1.4030505@gmail.com> Date: Tue, 03 Sep 2013 23:25:37 +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> <52264BA2.6070004@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: d603cf86-b02a-4035-92c7-00a0188b5051 X-Archives-Hash: 152b6a12b02f420eb7e0e81579b085f3 On 03/09/2013 23:19, Grant Edwards wrote: > On 2013-09-03, Alan McKinnon wrote: >> 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 does for recent Gentoo minimial install .iso images. Now I'm confused, let's clarify. Which of these meanings of copy are you using: cp my_big.iso /where/i/mounted/the/stick dd if=my_big.iso of=/dev/sdb If it's the first, then you have just discovered serious $COMPUTER_MAGIC unbeknownst to me thus far :-) > >> 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. > -- Alan McKinnon alan.mckinnon@gmail.com