Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Install from USB stick; here's how
Date: Tue, 03 Sep 2013 21:20:23
Message-Id: l05joc$f96$2@ger.gmane.org
In Reply to: Re: [gentoo-user] Re: Install from USB stick; here's how by Alan McKinnon
1 On 2013-09-03, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 > On 03/09/2013 19:05, Grant Edwards wrote:
3 >> On 2013-01-07, Walter Dnes <waltdnes@××××××××.org> wrote:
4 >>
5 >>> For those of you who don't want to do the tap-dance listed at...
6 >>> http://www.gentoo.org/doc/en/liveusb.xml
7 >>>
8 >>> * My netbook's harddrive is normally /dev/sda, except when I boot from a
9 >>> USB stick. The stick will become /dev/sda and the harddrive becomes
10 >>> /dev/sdb
11 >>>
12 >>> * My desktop's harddrive is also /dev/sda. I took the linux minimal
13 >>> install ISO, ran isohybrid on it, with the command...
14 >>>
15 >>> isohybrid install-x86-minimal-20121213.iso
16 >>>
17 >>> If you don't have isohybrid...
18 >>>
19 >>> emerge sys-boot/syslinux
20 >>>
21 >>> * I then copied it over to a USB stick (/dev/sdb) with the command...
22 >>>
23 >>> dd bs=4M if=install-x86-minimal-20121213.iso of=/dev/sdb
24 >>
25 >> I did a 64-bit install from USB flash-drive a few days ago using the
26 >> older tap-dance, and it worked fine -- except I discovered one of my
27 >> "must have" apps is 32-bit only and didn't work correctly when run in
28 >> 32-bit emulation mode (I don't know why).
29 >>
30 >> So I tried Walter's recipe yesterday to do a 32-bit install.
31 >>
32 >> After running the isohybrid command, I compared the resulting image
33 >> with the original. They were identical. I copied the image to a USB
34 >> flash drive, and it booted just fine.
35 >>
36 >> It seems that the minimal install .iso images are already built for
37 >> hybrid booting from either CD or a generic block device (e.g. USB
38 >> mass-storage device).
39 >>
40 >> So what's the deal with http://wiki.gentoo.org/wiki/LiveUSB/HOWTO?
41 >>
42 >> Why isn't it just the steps below?
43 >>
44 >> 1) Copy the minimal install .iso to USB mass storage device.
45 >>
46 >> 2) Boot from USB mass storage device.
47 >
48 > Copying an .iso to a USB stick does not give you a bootable USB
49 > stick.
50
51 It does for recent Gentoo minimial install .iso images.
52
53 > It gives you a USB stick with one large file, without bootloader, and
54 > the BIOS code can't make sense of it.
55
56 All my machines seem to.
57
58 > USB mass storage devices are not CDs, you can't just dd an ISO9660
59 > image to a USB stick and expect it to work
60
61 But it _does_ work. I tried it with a couple different minimal
62 install .iso files and a couple different machines.
63
64 --
65 Grant Edwards grant.b.edwards Yow! What's the MATTER
66 at Sid? ... Is your BEVERAGE
67 gmail.com unsatisfactory?

Replies

Subject Author
Re: [gentoo-user] Re: Install from USB stick; here's how Alan McKinnon <alan.mckinnon@×××××.com>