Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 2009 21:06:52 +0200
From:      Michel Talon <talon@lpthe.jussieu.fr>
To:        freebsd-questions@freebsd.org
Subject:   FixIt CD Tool Availability
Message-ID:  <20090704190652.GA44670@lpthe.jussieu.fr>

next in thread | raw e-mail | index | archive | help
Drew Tomlinson wrote:
> The command 'gmirror label root ad8a ad6a' does not return an error but 
> no device is created in /dev/mirror
> 
> The command 'zpool create data  raid1z ad14d ad12d ad8d ad6d' gives me 
> an error about the ZFS library being unavailable.
> 
> Are these tools supposed to work when using the Fix It CD?  If not, does 
> 7.2-RELEASE-amd64-disc1.iso have these tools?

One can load kernel modules from the fixit cdrom, but as far as i
remember this requires some manipulations.

What i do is, from the fixit prompt:
chroot /mnt2
to go to the full system available on the cdrom under /mnt2. But then 
required things are missing, so i do further:
mount -t devfs devfs /dev
because access to /dev is frequently required, and for commodity
set -o emacs
(to have shell history and editing)
export PAGER=more
(to be able to access man pages)
After that one has a more or less standard environment. Sometimes one
needs a writable filesystem, for example for accessing internet
(dhclient, resolv.conf, etc.) 
mount -t tmpfs tmpfs /tmp
does that.

It would be nice to have a shell script on the fixit cdrom doing similar
things automatically when one accesses fixit.

In your case i suspect appropriate kernel modules were not loaded
and commands failed silently.


-- 

Michel TALON




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090704190652.GA44670>