[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-stable
Subject:    Re: Building your own FreeBSD USB memstick image
From:       Christer Solskogen <christer.solskogen () gmail ! com>
Date:       2011-06-19 6:43:50
Message-ID: BANLkTi=e6RVc1m=YtVpKWju4UNNhKmH7ew () mail ! gmail ! com
[Download RAW message or body]

On Sat, Jun 18, 2011 at 3:22 AM, Jeremy Chadwick
<freebsd@jdc.parodius.com> wrote:
> Is the procedure for creating new FreeBSD memstick images documented
> anywhere?
>

I'm not sure if its documented but this is how I do it:
(edit /etc/make.conf and /etc/src.conf if necessary)
make buildworld && make buildkernel

Insert usb stick
fdisk -BI /dev/da0
bsdlabel -B -w da0s1
newfs -U /dev/da0s1a
mount /dev/ad0s1a /mnt
make installworld installkernel distribution DESTDIR=/mnt

Edit /mnt/etc/fstab
/dev/da0s1a /      ufs       rw                                           1 1

Edit /mnt/etc/rc.conf for your needs
unmount /mnt

:-)

-- 
chs,
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic