1 |
On 03/09/2013 19:05, Grant Edwards wrote: |
2 |
> On 2013-01-07, Walter Dnes <waltdnes@××××××××.org> wrote: |
3 |
> |
4 |
>> For those of you who don't want to do the tap-dance listed at... |
5 |
>> http://www.gentoo.org/doc/en/liveusb.xml |
6 |
>> |
7 |
>> * My netbook's harddrive is normally /dev/sda, except when I boot from a |
8 |
>> USB stick. The stick will become /dev/sda and the harddrive becomes |
9 |
>> /dev/sdb |
10 |
>> |
11 |
>> * My desktop's harddrive is also /dev/sda. I took the linux minimal |
12 |
>> install ISO, ran isohybrid on it, with the command... |
13 |
>> |
14 |
>> isohybrid install-x86-minimal-20121213.iso |
15 |
>> |
16 |
>> If you don't have isohybrid... |
17 |
>> |
18 |
>> emerge sys-boot/syslinux |
19 |
>> |
20 |
>> * I then copied it over to a USB stick (/dev/sdb) with the command... |
21 |
>> |
22 |
>> dd bs=4M if=install-x86-minimal-20121213.iso of=/dev/sdb |
23 |
> |
24 |
> I did a 64-bit install from USB flash-drive a few days ago using the |
25 |
> older tap-dance, and it worked fine -- except I discovered one of my |
26 |
> "must have" apps is 32-bit only and didn't work correctly when run in |
27 |
> 32-bit emulation mode (I don't know why). |
28 |
> |
29 |
> So I tried Walter's recipe yesterday to do a 32-bit install. |
30 |
> |
31 |
> After running the isohybrid command, I compared the resulting image |
32 |
> with the original. They were identical. I copied the image to a USB |
33 |
> flash drive, and it booted just fine. |
34 |
> |
35 |
> It seems that the minimal install .iso images are already built for |
36 |
> hybrid booting from either CD or a generic block device (e.g. USB |
37 |
> mass-storage device). |
38 |
> |
39 |
> So what's the deal with http://wiki.gentoo.org/wiki/LiveUSB/HOWTO? |
40 |
> |
41 |
> Why isn't it just the steps below? |
42 |
> |
43 |
> 1) Copy the minimal install .iso to USB mass storage device. |
44 |
> |
45 |
> 2) Boot from USB mass storage device. |
46 |
|
47 |
Copying an .iso to a USB stick does not give you a bootable USB stick. |
48 |
It gives you a USB stick with one large file, without bootloader, and |
49 |
the BIOS code can't make sense of it. |
50 |
|
51 |
USB mass storage devices are not CDs, you can't just dd an ISO9660 image |
52 |
to a USB stick and expect it to work (although files named *.img will |
53 |
often work doing exactly this) |
54 |
|
55 |
This is why unetbootin takes so long to do it's thing, it has to unpack |
56 |
image files and write them file by file to the USB stick |
57 |
|
58 |
|
59 |
-- |
60 |
Alan McKinnon |
61 |
alan.mckinnon@×××××.com |