Update: I've added a few updates and will post a beginners note here.
Be sure to look at the last few posts for xorg and HAL tips.
USB works with no trouble. Just be sure to enable it.
If you know the locations of the files in Debian, then you should be able to find the same in FreeBSD. viewtopic.php?f=16&t=27227&p=262814#p262814
This part of the howto will help you see the similarities.
I've gone and added a third user. To be more secure, I suggest the following accounts: wheel for maintenance, userA in the wheel group, and an unprivileged user for normal activities.
This is my first howto. Comments and additions are welcome.
An unofficial howto for a beginners install of FreeBSD and dual booting with Linux.
Make a list of your hardware that you have on your computer. Be sure that you know the horizontal and vertical rates of your monitor,your monitor vendor and release, your sound card, graphics card, NIC, keyboard layout& type, and mouse If you are using a PPC or SPARC cpu based system, I suggest that you by a separate hard disk and dedicate it to the FreeBSD install. Make a boot only CD of either release of FreeBSD that is on the get page. If you are doing networkless install, burn all discs of the release you chose for your architecture.
The install instructions are easy. Choose your country/language and you will be at the sysinstall menu.
If using DHCP to connect to the internet: select options and enter the submenu. The spacebar changes the values. Change DHCP to YES and exit. For those using IPv6, you may want to enable this option. I don't suggest it. Hit Q when you are done adjusting these values.
Select partition in sysinstall and hit enter.Delete every partition on your disk and create a new primary one with a size of 10 to 25 gigs.
Select the partition with the arrow keys and hit S to make it bootable. Hit Q when you are finished. Choose label in the sysinstall menu and hit enter.
Hit A for automatic allocation of space. Write down the values for all partitions after swap Delete the partitions within the slice and delete the swap space. Now, use this rule for values: If the amount of memory is less than 512M, use the 2x rulw for swap. If the memory is 512M to 1G, use 1G for swap. If the memory is greater than 1G, allocate between 1 and 1.5G of space for swap. Follow the rules for creating by having the disk selected and doing the swap, /var,/tmp, /usr. Choose the FreBSD bootmanager. Hit Q when finished.
Select distributions in sysinstall and choose All. Select yes for the ports collection. Exit.
Select Media. If you are doing a networkless install, choose CD/DVD in the menu. For anyone else, choose FTP. Select a site that is in your country or near you. Select your NIC that is active and hit enter. You can tab through the options and hit OK. If you are prompted for a host name, follow the Linux rule: make one up.
In sysinstall, choose commit now. You may have problems receiving sets, if this happens select another site and hit enter.
When everything is installed, choose yes and go to the post install screen.
Set your root password.
Create a user. In the groups section,enter "wheel," you'll need this to enable the su function. Finish setting up the user and choose prepackaged software. Choose the Gnome or KDE meta or lite packages and firefox. Select yes and let the packages download. Follow the same rule for the install if the connection is reset: choose another server that is close to you.
Set up your mouse.
Select security and disable for now. You're going to need to do a lot from su later.
When you are finished, exit the install and remove any media. Let the system reboot.
Login as user and su to root.
Setting up X: Type "Xorg -configure" and hit enter. Now type "vi /xorg.conf.new" Search the document for Modes. If you don't see any, use ESC +/- i to enter the values. I usually enter "640x480" "800x600" "1024x768" "1280x1024" "1400x1050" "1600x1200" Do this for all depth values. save with the :w! function and exit with :q!
Test by typing startx. Exit the window manager if successful. Left terminal is login and out. Exit from root.
Setting up your environment:
Startx as user. In the right column type "firefox --sync http://www.freebsd.org
" and enter. Adjust the size of the window. Go to documentation. Select handbook. Select single html. Remember what window manager you installed. let the page load completely.
From the firefox menu: go to edit, find in this page, and type "startkde" in the prompt box. Scroll this area and follow the instructions for echo "window manager executable" > ~/.xinitrc. Do the command in the left/Login terminal as the user. Exit firefox and close the right terminal. exit from the left terminal.
Adjusting your system for a first time rael run:
Startx as user. Adjust your keyboard rates and resolution now.
Open a terminal, su, and type "vi /boot/defaults/loader.conf"
enable your soundcard here and other services. Set your memory to the physical amount that you have. :w! &:q! and you're done.
As su: type "cd /usr/ports" To search: "make search name=<name of program>" To install: from /usr/ports cd to the section and then cd to the program. Type "make install clean"
Other configurations before rebooting: Follow the handbook for enabling gdm or kdm.
thing that I am not good with and you need to join the mailing list to get help: printing and mounting CD/DVD media as user.
Logout from the manager when done. Place your Linux distro in the tray. Su to root and reboot.
Second system installation.
Alright, install your system as before with grub.
Open /boot/grub/menu.lst for editing. Add these lines
title FreeBSD<architecture and release number>
rootnoverify (hd<disk number>, <partition number. It should be 0>)
You are now setup with a FreeBSD system.
Other helpful hints: enable unionfs read in Linux and ext3, reiser, jfs, xfs read in FreeBSD by installing the respective programs. /boot/defaults/loader.conf also has values for Linux emulation and file system support, Set these values here.
You can adjust security and network by typing "/usr/sbin/sysinstall" as su.
Enjoy your new dual setup.
Credits to the handbook and the guys and girls on the mailing list who took time to help me.
Edit: Create a second user with the useradd command; however, do not grant the second user root privilege
Edit: It took me a bit of time to find the information for setting up the cdrom. Here is a link to the post that helped me.http://daemonforums.org/showthread.php?t=362