Click to See Complete Forum and Search --> : How can I load a module in FreeBSD?


Seph64
11-13-2003, 03:31 AM
I just installed FreeBSD, and I want to be able to listen to audio while I am in this OS, so how do I load modules?

Also, is it possible to compile Grub in FreeBSD? I can't seem to login to Windows with FreeBSD's default Bootloader.

Alex Cavnar, aka alc6379
11-13-2003, 03:51 AM
Grub's not available in FreeBSD. You can use the FreeBSD bootloader to boot Windows. When you installed, you had the option of loading a standard MBR, the FreeBSD bootloader, or nothing. If you installed the FreeBSD bootloader, you should have been good to go.

As far as the sound's concerned, check this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

It will tell you how to build sound support into your kernel.

Seph64
11-13-2003, 04:01 AM
When I choose the would be Windows option, it says that it can not boot. I can not remember the exact message.

Also, it seems that I can not mount my NTFS partition.

NM, found out how to mount my NTFS partition, just need help with the bootloader.

algerardi
11-25-2003, 03:22 PM
Does the FreeBSD boot loader also support triple booting....with
windowsxp (NTFS) hda , linux fedora Core (Reiserfs) hdb and Freebsd using da0 sda1 ?
currently I am using grub thru Fedora to dual boot windowsxp and fedora.....changing the bios boot section to boot into Freebsd.

Any Ideas would be greatly appreciated.

tks

Seph64
11-25-2003, 03:40 PM
Originally posted by algerardi
Does the FreeBSD boot loader also support triple booting....with
windowsxp (NTFS) hda , linux fedora Core (Reiserfs) hdb and Freebsd using da0 sda1 ?
currently I am using grub thru Fedora to dual boot windowsxp and fedora.....changing the bios boot section to boot into Freebsd.

Any Ideas would be greatly appreciated.

tks

You can get grub to boot FreeBSD, you just can't install grub under the OS.

From info grub:

# For booting FreeBSD
title FreeBSD
root (hd0,2,a)
kernel /boot/loader


Of course change root (hd0,2,a) to the actual partition the FreeBSD is installed on.

If FreeBSD was installed on the first partition of a 2nd HDD, it would be root (hd1,0,a)

And no, I haven't tested this out yet, since I had to reinstall Windows a couple days and used my 2nd HDD for backup. I'll give this a go as soon as I re-download a FreeBSD ISO file (and if it can detect my 2nd HDD).

algerardi
11-25-2003, 03:57 PM
Freebsd is loaded on my third seperate hard drive--SCSI hard drive......so would I need to label root (hd0,2,a)
to what? (hd2,0,a) ?????

Tks

algerardi
11-25-2003, 04:05 PM
More info.... My fedora is on the second hard drive HDB
And windowsxp NTFS is on HDA first hard drive.
Ran fdisk from Fedora on /dev/sda and here is my output

Disk /dev/sda: 9173 MB, 9173114880
255 heads, 63 sectors/track, 1115 cylinders
Units = cylinders of 16065 * 512 = 8225280

Device Boot Start End Blocks ID System
/dev/sda1 * 1 1115 8956206 a5 FreeBSD

algerardi
11-25-2003, 04:33 PM
to Seph64

Your "da man" I put in at root (hd2,0,a) and it worked!!!!!

Tks again......finally able to triple boot using grub from Fedora.

Seph64
11-25-2003, 04:47 PM
Originally posted by algerardi
to Seph64

Your "da man" I put in at root (hd2,0,a) and it worked!!!!!

Tks again......finally able to triple boot using grub from Fedora.

Your welcome, glad that I could be of help. Just goes to show you, you don't have to be a wiz in one particular OS to help out someone in using it (although it would help) ;) :D

Seph64
11-25-2003, 07:05 PM
Oh great, FreeBSD continues to give me install problems.

It will not detect my second HDD. At first I thought it was because I have the Primary Master drive set to Cable select. But it's currently set to Master (as the second drive is set to slave), and that didn't work. Linux and Windows can detect it just fine.

It says that detection process has timed out and it's resetting the devices. And it just hangs there doing nothing.

Is there anything I can do to get FreeBSD to install?

algerardi
11-25-2003, 10:15 PM
Originally posted by Seph64
Oh great, FreeBSD continues to give me install problems.

It will not detect my second HDD. At first I thought it was because I have the Primary Master drive set to Cable select. But it's currently set to Master (as the second drive is set to slave), and that didn't work. Linux and Windows can detect it just fine.

It says that detection process has timed out and it's resetting the devices. And it just hangs there doing nothing.

Is there anything I can do to get FreeBSD to install?

what OS is currently on your second hard drive? Is there unallocated space on the second hard drive? If there is not an OS currently on the hard drive....use fdisk /dev/hdb and then delete the partition if there is one.....and try to install Freebsd again.....I am sorta a newbie with Freebsd as you recall my earlier posts.

algerardi
11-25-2003, 10:28 PM
I just remembered one more item to check....if your bios supports it....check to see if you have an option to set with either Yes or no for PNP OS......It needs to be set to no for PNP OS in your bios. I had an issue one time with installing Freebsd and had my bios set for yes for PNP OS.

Al

Seph64
11-26-2003, 01:23 AM
There's nothing in the Bios called PnP OS but thanks anyway.