bsdconfig, the ancient sysinstall, does not work to install the ports or bundles from CD/DVD!

As far as I know, post-installation of packages can be done through bsdconfig(8), as was already mentioned in your old threads above. The reasons for that change are also evoked on these threads.
 
Section 2.5.3 in FreeBSD Handbook does not mention any such issues.

I am not 100% sure but I used portsnap fetch then portsnap extract after my fresh install and it perfectly worked for me. This requires an internet connection, though. And if you do not have an internet connection, then there is no point of installing ports I reckon.
 
Sorry, I am correcting, bsdinstall(8) is not, is bsdconfig(8) for install ports and packages from CD/DVD as I used to do with sysinstall(8), nevertheless one cannot, here the results.

I verified that the disc is mounted:

# mount -t cd9660 /dev/cd0 /dist

MBRB.jpg


Then I proceeded with the command bdsconfig and menu packages:

# bsdconfig

MBR.jpg


In this way I knew install FreeBSD with graphical desktop without losing too much time with sysinstall(8). Today I cannot with bsdconfig(8).

VIR1.jpg
 
I tried to find the relevant section in bsdconfig(8) code, but I think the code is too complex to reverse engineer, whereas bsdinstall(8) is easy to read and modify!

Anyways, I would assume the script should have some sort of mount capability, so try without mounting the CDROM and let the script do it.
 
roddierod said:
I've not used this, but did you try unmounting the cd?

No, I want to install FreeBSD with desktop graphic as done before, but can not with bsdconfig(8) from CD/DVD, the assembly and dismantling of a CD/DVD is not difficult.
 
The error you're getting is because the CD/DVD is already mounted, unmount it first.
 
SirDice said:
The error you're getting is because the CD/DVD is already mounted, unmount it first.


With the mounted and dismantled disc, gave the result of error, something I am not doing well? Please tell me how I should proceed, it is already dismantled.
 
Make sure CD/DVD is not mounted; check with mount(1), see that /dev/cd0 and /dist are not mounted, and start the bsdconfig(8) once again.

As I said previously, personally, I use portsnap fetch and then portsnap extract method. If your ultimate goal is installing ports, use the method.

If you think the configuration script, bsdconfig(8), has some issues with media detection/mounting, the best practice would be providing a bug report.
 
Back
Top