Skip site navigation (1)Skip section navigation (2)
Date:      13 May 2005 13:56:55 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Bill Schoolcraft <runfreebsd@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 5.4 package install woes.... :(
Message-ID:  <44oebf57rs.fsf@be-well.ilk.org>
In-Reply-To: <20050512172352.34470.qmail@web52502.mail.yahoo.com>
References:  <20050512172352.34470.qmail@web52502.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Schoolcraft <runfreebsd@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.



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