Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2011 14:28:44 -0500
From:      Chris Brennan <xaero@xaerolimit.net>
To:        Devin Teske <dteske@vicor.com>
Cc:        Paul Macdonald <paul@ifdnrg.com>, freebsd-questions@freebsd.org
Subject:   Re: rescue cd with networkign and ssh!
Message-ID:  <AANLkTimoJ71nGgsj50f=boib-28m3v=WAOzdJcDBBO4g@mail.gmail.com>
In-Reply-To: <1295637784.19170.77.camel@localhost.localdomain>
References:  <4D383E51.9060800@ifdnrg.com> <1295551484.19170.14.camel@localhost.localdomain> <1295637784.19170.77.camel@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 21, 2011 at 2:23 PM, Devin Teske <dteske@vicor.com> wrote:

> How to get this onto a thumb drive (using FreeBSD):
>
> Step 1: Download DruidBSD-1.0b1.iso
>
> Step 2: Insert your USB thumb drive.
>
> Step 3: Execute: camcontrol devlist
> NOTE: find the `daN' device associated with your thumb drive
>
> Step 4: Execute: dd if=DruidBSD-1.0b1.iso of=/dev/da5
> NOTE: assuming that `da5' is your thumb drive
>
> Step 5: Execute: echo "p 2 0x0c * *" | fdisk -f - /dev/da5
> NOTE: again, assuming `da5' is your thumb drive
>
> Step 6: Execute: newfs_msdos /dev/da5s2
> NOTE: again, assuming `da5' is your thumb drive
>
> That's it. You now have a thumb drive with:
>
> a. An invisible boot partition for booting into DruidBSD
> b. The remainder of unused space allocated as a DOS-compatible
> partition, usable under Mac, Windows, Linux, and UNIX.
>
> When you plug the thumbdrive into any computer, it may appear to the
> untrained eye that it's a blank thumb drive. Little do they know that
> there's an invisible bootable partition chalk-full of utilities and a
> full BSD distro.
>
> NOTE: If want a UFS partition instead of a W95 FAT LBA partition, change
> the above "p 2 0x0c * *" to instead "p 2 0xa5 * *" and also change
> "newfs_msdos" to instead "newfs".


Sweet, this is exactly what I needed.

>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimoJ71nGgsj50f=boib-28m3v=WAOzdJcDBBO4g>