From owner-freebsd-questions@FreeBSD.ORG Fri Jan 21 19:23:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 004B8106567A for ; Fri, 21 Jan 2011 19:23:07 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id A721F8FC1E for ; Fri, 21 Jan 2011 19:23:07 +0000 (UTC) Received: from [208.206.78.30] (port=50222 helo=dt.vicor.com) by postoffice.vicor.com with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.71) (envelope-from ) id 1PgMZc-0003hT-D0; Fri, 21 Jan 2011 11:23:06 -0800 From: Devin Teske To: Paul Macdonald In-Reply-To: <1295551484.19170.14.camel@localhost.localdomain> References: <4D383E51.9060800@ifdnrg.com> <1295551484.19170.14.camel@localhost.localdomain> Content-Type: text/plain Organization: Vicor, Inc Date: Fri, 21 Jan 2011 11:23:04 -0800 Message-Id: <1295637784.19170.77.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-41.el4) Content-Transfer-Encoding: 7bit X-Scan-Signature: addf82e302fb7b54175bfd27340b229c X-Scan-Host: postoffice.vicor.com Cc: Devin Teske , freebsd-questions@freebsd.org Subject: Re: rescue cd with networkign and ssh! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2011 19:23:08 -0000 On Thu, 2011-01-20 at 11:24 -0800, Devin Teske wrote: > On Thu, 2011-01-20 at 13:53 +0000, Paul Macdonald wrote: > > Hi, > > > > can any recommend a live cd (any distro) that will mount ufs and has > > networking+sshd. > > How about DruidBSD? http://druidbsd.sf.net/ > > Bullet Points: > - ISO is 24MB > - Contains over 150 standard (and some non-standard) BSD utilities > - Runs entirely from memory > - Is based on FreeBSD-8.1 > - Includes the tmpfs kernel module (should you need to allocate more > disk space from RAM) > - Works from optical media (CD/DVD) and USB flash drives 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". -- Devin > - Utilizes crunchgen to maintain tiny footprint > - Designed to be a fully-operational FreeBSD distribution for embedded > devices but doubles as an amazing rescue-disc > - Graphical boot-loader > > Full Disclosure: I'm the author. > > Quick-steps: > > 1. Download either DruidBSD-X.Y.iso (24MB) or Druid-X.Y.iso (same as > former, but adds valuable diagnostic utilities such as windiag, memtest, > seatools, dban, and killdisk; 32MB). > > 2. Burn to optical media _or_ use dd(1) to write directly to thumb drive > _or_ load it directly into a VMware virtual machine's virtual-CDROM. > > 3. Boot. That's it. > > > > NOTE: If http://druidbsd.sf.net/ doesn't load for you, try instead > http://druidbsd.sourceforge.net/ (the former produces a 302-redirect to > the latter which may not be followed by all HTTP clients). > > > > > > I've tried pc bsie (2.1, 2.0, 1.1) which doesn't even seem to work on a > > test machine here , won;t mount the /dev/cd image ( folder is 0 bytes in > > iso) . > > > > Ubuntu live will boot the box and sshd can be installed but it won;t > > mount the disks (apparently it needs a custom kernel). > > > > the live cd image needs to work in a datacenter. > > > > thanks > > Paul. > > > -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> END TRANSMISSION <-