DSBSD 0.1P1

From DamnSmallBSD

Jump to: navigation, search

Contents

Description

0.1P1 is our first pilot release. This is merely a test of concepts, rather then a real 'preview' of what DamnSmallBSD is. It is completely unsupported. Note: we do not yet include any X system at all, or meet any of the goals listed.

What it does do, however, is serve as a sort of 'enhanced /rescue' environment, that can be used to rebuild a freebsd machine, either remotely through ssh, or locally. The root.fs.gz image is usable on any FreeBSD 6 or FreeBSD 7 kernel, and I have myself used it in this capacity several times, once to create a geom mirror, another to fix a woops on a machine that only has power, firewire, and a network cable running to it.

Download

Booting

Booting the CD

Normal CD booting applies. Note that some BIOS' do not support USB CD-ROM booting according to the specifications; this is not a bug in DamnSmallBSD, it is a bug in your BIOS.

Using the Root Filesystem

Copy the root.fs.gz file to /boot, and add the following to loader.conf:

mfsroot_load="YES"
mfsroot_type="mfs_root"
mfsroot_name="/boot/root.fs"
geom_label_load="YES"
geom_mirror_load="YES"
geom_concat_load="YES"
geom_eli_load="YES"
geom_raid3_load="YES"
geom_stripe_load="YES"
nullfs_load="YES"
dsbsd.fingerprint="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" 
vfs.root.mountfrom="ufs:md0"

If you're running a FreeBSD 7.x kernel, add:

init_path="/.FreeBSD-7/i386/bin/init:/sbin/init"

If you're running a FreeBSD 6.x kernel, add:

init_path="/.FreeBSD-6/i386/bin/init:/sbin/init"

Using

Accessing the machine through ssh

Only root has an ssh account, and it's password is set to 'password' and currently (due to how loader works) unable to override.

Accessing the machine through ftp

Same as above

Personal tools