5.4 package install woes.... :(

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Fri May 13 10:57:01 PDT 2005


Bill Schoolcraft <runfreebsd at yahoo.com> writes:

> So, while kde3 is still building from ports I copied both full
> iso images to my new FreeBSD box in hopes of maybe mounting them
> in loopback and offering the two ISO images up via
> /stand/sysinstall as a source for packages.  I cannot seem to
> get the new "mdconfig" to mount the iso's.  

It's probably easier to just copy the packages off of there and use
pkg_add rather than sysinstall.  But it should be fine either way.

> 
> Here is the command I'm using.
> 
> (first made mount points of /mnt/loop1 and /mnt/loop2)
> 
> ######################################################
> 
> mdconfig -a -t vnode -f /iso/5.4-RELEASE-i386-disc1.iso -u 1
> 
> mount /dev/md1 /mnt/loop1
> mount: /dev/md1 on /mnt/loop1: incorrect super block

You forgot the "-t cd9660" option to mount.
If you leave that out, mount will try to treat the filesystem as UFS.

> So the deeper I dig myself into this hole the more I ask myself
> how can I just choose all my optional binary packages to install
> from the "post install" menu and just have FreeBSD-5.4 have me
> install "disk-1" once and "disk-2" once and all my package
> choices are done.

A little tricky, but someone could write code to do that.  It would
probably require a bit of intelligence up front, to make sure that
nothing on Disc 1 had any dependencies on Disc 2.  Or maybe just to
copy all of the packages from both CDs in /usr/ports/packages and then
install the requested ones.


More information about the freebsd-questions mailing list