rescue cd with networkign and ssh!
Devin Teske
dteske at vicor.com
Fri Jan 21 19:23:08 UTC 2011
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 at 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 <-
More information about the freebsd-questions
mailing list