Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] making bootable USB
Date: Mon, 01 Sep 2014 09:32:54
Message-Id: 1984621.EcnsxNjCF1@andromeda
In Reply to: Re: [gentoo-user] making bootable USB by Joseph
1 On Sunday, August 31, 2014 08:06:46 PM Joseph wrote:
2 > On 08/31/14 20:55, Will Tomlinson wrote:
3 > >On Sun, 31 Aug 2014 12:06:49 -0600
4 > >
5 > >Joseph <syscon780@×××××.com> wrote:
6 > >> I've re-run the setup but it still doesn't work.
7 > >>
8 > >> df -h
9 > >> /dev/sda1 3.8G 190M 3.6G 5% /run/media/joseph/4GB_ysa
10 > >>
11 > >> /dev/sda1 * 2048 7864319 3931136 b W95 FAT32
12
13 Which command did you use to create the filesystem?
14
15 > >> while usb not mounted:
16 > >>
17 > >> dd if=/usr/share/syslinux/mbr.bin of=/dev/sda
18 > >> 0+1 records in
19 > >> 0+1 records out
20 > >> 440 bytes (440 B) copied, 0.00121707 s, 362 kB/s
21 > >>
22 > >> While usb mounted:
23
24 Which command do you use to mount?
25
26 <SNIP>
27
28 > >
29 > >Joseph, I am assuming you are trying to create an install disk? If so,
30 > >you shouldn't have to do all these steps. I normally just download the
31 > >minimal install ISO and write it to a USB drive with the following
32 > >commands:
33 > >
34 > ># dd if=/path/to/minimal-install.iso of=/path/to/usb-drive bs=4096
35 > ># sync
36 > >
37 > >You don't have to mount the USB drive. Use sync to ensure that all the
38 > >data has actually been written to the device before you remove it.
39 > >
40 > >I have run across problems with some ISO files that don't play nice
41 > >with this method, but this one seems to work well with the Gentoo
42 > >minimal CD. Also, keep in mind that you don't really need to have the
43 > >Gentoo install disc to install Gentoo. It's certainly EASIER to follow
44 > >the handbook when you have the minimal install disc, but just about any
45 > >Linux live CD will work as long as the architecture matches (chroot
46 > >from x86 to amd64, for example, will not work). Anyway, if this is not
47 > >what you are trying to do, maybe you can give us more details.
48 >
49 > I run it on 1MB USB stick, it did not work:
50 > dd if=/path/to/minimal-install.iso of=/path/to/usb-drive bs=4096
51 > sync
52 >
53 > I think the "dd" will work with LiveDVD but not liveCD.
54
55 Why not use unetbootin?
56
57 --
58 Joost

Replies

Subject Author
Re: [gentoo-user] making bootable USB Joseph <syscon780@×××××.com>