Using the ISO releases on USB sticks.

Mehmet Erol Sanliturk m.e.sanliturk at gmail.com
Sun Sep 14 20:55:45 UTC 2014


On Sun, Sep 14, 2014 at 12:24 PM, Matthias Apitz <guru at unixarea.de> wrote:

> 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 at 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
>
>
>

Dear Matthias ,


If you supply such an algorithm , me and other people may use it to
generate boot-able USB sticks with some installed packages .

Thank you very much .


Mehmet Erol Sanliturk


More information about the freebsd-questions mailing list