1 |
On 03/09/2013 23:19, Grant Edwards wrote: |
2 |
> On 2013-09-03, Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
3 |
>> On 03/09/2013 19:05, Grant Edwards wrote: |
4 |
>>> On 2013-01-07, Walter Dnes <waltdnes@××××××××.org> wrote: |
5 |
>>> |
6 |
>>>> For those of you who don't want to do the tap-dance listed at... |
7 |
>>>> http://www.gentoo.org/doc/en/liveusb.xml |
8 |
>>>> |
9 |
>>>> * My netbook's harddrive is normally /dev/sda, except when I boot from a |
10 |
>>>> USB stick. The stick will become /dev/sda and the harddrive becomes |
11 |
>>>> /dev/sdb |
12 |
>>>> |
13 |
>>>> * My desktop's harddrive is also /dev/sda. I took the linux minimal |
14 |
>>>> install ISO, ran isohybrid on it, with the command... |
15 |
>>>> |
16 |
>>>> isohybrid install-x86-minimal-20121213.iso |
17 |
>>>> |
18 |
>>>> If you don't have isohybrid... |
19 |
>>>> |
20 |
>>>> emerge sys-boot/syslinux |
21 |
>>>> |
22 |
>>>> * I then copied it over to a USB stick (/dev/sdb) with the command... |
23 |
>>>> |
24 |
>>>> dd bs=4M if=install-x86-minimal-20121213.iso of=/dev/sdb |
25 |
>>> |
26 |
>>> I did a 64-bit install from USB flash-drive a few days ago using the |
27 |
>>> older tap-dance, and it worked fine -- except I discovered one of my |
28 |
>>> "must have" apps is 32-bit only and didn't work correctly when run in |
29 |
>>> 32-bit emulation mode (I don't know why). |
30 |
>>> |
31 |
>>> So I tried Walter's recipe yesterday to do a 32-bit install. |
32 |
>>> |
33 |
>>> After running the isohybrid command, I compared the resulting image |
34 |
>>> with the original. They were identical. I copied the image to a USB |
35 |
>>> flash drive, and it booted just fine. |
36 |
>>> |
37 |
>>> It seems that the minimal install .iso images are already built for |
38 |
>>> hybrid booting from either CD or a generic block device (e.g. USB |
39 |
>>> mass-storage device). |
40 |
>>> |
41 |
>>> So what's the deal with http://wiki.gentoo.org/wiki/LiveUSB/HOWTO? |
42 |
>>> |
43 |
>>> Why isn't it just the steps below? |
44 |
>>> |
45 |
>>> 1) Copy the minimal install .iso to USB mass storage device. |
46 |
>>> |
47 |
>>> 2) Boot from USB mass storage device. |
48 |
>> |
49 |
>> Copying an .iso to a USB stick does not give you a bootable USB |
50 |
>> stick. |
51 |
> |
52 |
> It does for recent Gentoo minimial install .iso images. |
53 |
|
54 |
Now I'm confused, let's clarify. Which of these meanings of copy are you |
55 |
using: |
56 |
|
57 |
cp my_big.iso /where/i/mounted/the/stick |
58 |
|
59 |
dd if=my_big.iso of=/dev/sdb |
60 |
|
61 |
|
62 |
If it's the first, then you have just discovered serious $COMPUTER_MAGIC |
63 |
unbeknownst to me thus far :-) |
64 |
|
65 |
|
66 |
> |
67 |
>> It gives you a USB stick with one large file, without bootloader, and |
68 |
>> the BIOS code can't make sense of it. |
69 |
> |
70 |
> All my machines seem to. |
71 |
> |
72 |
>> USB mass storage devices are not CDs, you can't just dd an ISO9660 |
73 |
>> image to a USB stick and expect it to work |
74 |
> |
75 |
> But it _does_ work. I tried it with a couple different minimal |
76 |
> install .iso files and a couple different machines. |
77 |
> |
78 |
|
79 |
|
80 |
-- |
81 |
Alan McKinnon |
82 |
alan.mckinnon@×××××.com |