Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2014 21:24:19 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Using the ISO releases on USB sticks.
Message-ID:  <20140914192419.GA1559@tiny-r269739>
In-Reply-To: <lv4oa8$md4$1@ger.gmane.org>
References:  <4D32ABC9-D0D0-48D2-98D3-FF1D72A4261E@gmail.com> <6.0.0.22.2.20140910111010.052bfb38@mail.computinginnovations.com> <A9FD5744-C05D-43C3-815D-F253F9B76FB0@gmail.com> <B7FAE207-78AC-431F-9D33-B8C8C76BD4E1@gmail.com> <alpine.BSF.2.11.1409141113370.27884@wonkity.com> <lv4oa8$md4$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Sunday, September 14, 2014 a las 02:55:04PM -0400, Michael Powell escribió:

> Warren Block wrote:
> 
> > On Sun, 14 Sep 2014, atar wrote:
> > 
> >> Just wanted to know please why does the command 'dd
> >> if=FreeBSD-i386-disc1.iso of=myUSB-stick' doesn't make the USB stick
> >> bootable like it would does for CDROMs or DVDs? What's the difference
> >> between CDROM and an USB?

I always test new versions of FreeBSD on USB keys, right now while
typing I run a 11-CURRENT with KDE ... and mutt as MUA booted from an USB
key, while the disk in the laptop has still an older FreeBSD.

The procedure to creat a boot-able USB key is simple:

- make a file system on it 
- mount it to /mnt
- do 'make installkernel' and 'make installworld' with DESTDIR=/mnt
- enrich the file system in /mnt with some stuff (for example install
  packages into it with 'chroot /mnt pkg install ...')
- unmount and reboot

even better, if you do not use an USB key directly, but do all the above
to a mdconfig file system (a file system in a normal plain file) and
copy later the result with dd(1) to the real USB key;

let me know if you need a detailed procedure of it.

HIH

	matthias

-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140914192419.GA1559>