From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Install from USB stick; here's how
Date: Tue, 3 Sep 2013 21:19:08 +0000 (UTC) [thread overview]
Message-ID: <l05joc$f96$2@ger.gmane.org> (raw)
In-Reply-To: 52264BA2.6070004@gmail.com
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?
next prev parent reply other threads:[~2013-09-03 21:20 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-07 3:05 [gentoo-user] Install from USB stick; here's how Walter Dnes
2013-01-07 13:08 ` Bruce Hill
2013-09-03 17:05 ` [gentoo-user] " Grant Edwards
2013-09-03 20:33 ` Walter Dnes
2013-09-03 21:16 ` Grant Edwards
2013-09-03 20:50 ` Alan McKinnon
2013-09-03 21:19 ` Grant Edwards [this message]
2013-09-03 21:25 ` Alan McKinnon
2013-09-03 22:13 ` Grant Edwards
2013-09-04 5:00 ` Walter Dnes
2013-09-04 14:07 ` Grant Edwards
2013-09-04 8:08 ` Alan McKinnon
2013-09-04 9:17 ` thegeezer
2013-09-04 19:41 ` Walter Dnes
2013-09-04 21:59 ` Grant Edwards
2013-09-06 20:21 ` Walter Dnes
2013-09-07 12:31 ` Grant Edwards
2013-09-07 23:57 ` Walter Dnes
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='l05joc$f96$2@ger.gmane.org' \
--to=grant.b.edwards@gmail.com \
--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