FixIt CD Tool Availability

Michel Talon talon at lpthe.jussieu.fr
Sat Jul 4 19:31:13 UTC 2009


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



More information about the freebsd-questions mailing list