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 22:14:11
Message-Id: l05mu9$l92$1@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 23:19, Grant Edwards wrote:
3 >> On 2013-09-03, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
4 >>> On 03/09/2013 19:05, Grant Edwards wrote:
5 >>>> On 2013-01-07, Walter Dnes <waltdnes@××××××××.org> wrote:
6
7 [...]
8
9 >>>>> isohybrid install-x86-minimal-20121213.iso
10 [...]
11 >>>>> * I then copied it over to a USB stick (/dev/sdb) with the command...
12 >>>>>
13 >>>>> dd bs=4M if=install-x86-minimal-20121213.iso of=/dev/sdb
14
15 [...]
16
17 >>>> After running the isohybrid command, I compared the resulting image
18 >>>> with the original. They were identical. I copied the image to a USB
19 >>>> flash drive, and it booted just fine.
20 >>>>
21 >>>> It seems that the minimal install .iso images are already built for
22 >>>> hybrid booting from either CD or a generic block device (e.g. USB
23 >>>> mass-storage device).
24 >>>>
25 >>>> So what's the deal with http://wiki.gentoo.org/wiki/LiveUSB/HOWTO?
26 >>>>
27 >>>> Why isn't it just the steps below?
28 >>>>
29 >>>> 1) Copy the minimal install .iso to USB mass storage device.
30 >>>>
31 >>>> 2) Boot from USB mass storage device.
32 >>>
33 >>> Copying an .iso to a USB stick does not give you a bootable USB
34 >>> stick.
35 >>
36 >> It does for recent Gentoo minimial install .iso images.
37 >
38 > Now I'm confused, let's clarify. Which of these meanings of copy are you
39 > using:
40 >
41 > cp my_big.iso /where/i/mounted/the/stick
42 >
43 > dd if=my_big.iso of=/dev/sdb
44
45 Sorry about that. The latter. The actual command is shown about 32
46 lines up (except that my minimal install .iso was more recent)...
47
48 IIRC, the last time I tried 'cp' it worked just as well as 'dd'
49
50 cp install-x86-minimal-20121213.iso /dev/sdb
51
52 The Wiki page at http://wiki.gentoo.org/wiki/LiveUSB/HOWTO shows a
53 rather involved process for creating a bootable USB drive from a
54 Gentoo minimal install .iso. However, AFAICT, you don't have to do
55 any of it. You can just write the .iso image to the usb flash drive
56 and then boot from it.
57
58 I presume that at some point in the past, the minimal install .iso
59 images weren't bootable from a "hard-drive", and the process on the
60 wiki page was needed. But since the Gentoo .iso images _are_ bootable,
61 why not just say so and get rid of the old recipe?
62
63 [The old recipe still works, and perhaps it's useful for generic .iso
64 images from elsewhere, but for a Gentoo install .iso it's a bit of a
65 time-waster.]
66
67 --
68 Grant Edwards grant.b.edwards Yow! BELA LUGOSI is my
69 at co-pilot ...
70 gmail.com

Replies

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