rescue cd with networkign and ssh!

Chris Brennan xaero at xaerolimit.net
Fri Jan 21 19:29:06 UTC 2011


On Fri, Jan 21, 2011 at 2:23 PM, Devin Teske <dteske at 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.

>


More information about the freebsd-questions mailing list