07-06-2008
You can find the source code in /usr/src/sys directory. If there isn't such a directory on your system you can install it with sysinstall.
Run sysinstall as root, choose Configure, then Distributions, then src, then base and sys.
Regards
Last edited by Franklin52; 07-06-2008 at 09:40 AM..
9 More Discussions You Might Find Interesting
1. BSD
Does anyone know how to enter the Kernel Configuration program in FreeBSD before installation to resolve conflicts of hardware?:confused: (3 Replies)
Discussion started by: Enoch Chan
3 Replies
2. UNIX for Advanced & Expert Users
I got the freebsd kernel source from the first install CD(in directory:\7.0-RELEASE\src\),isn't right? if so,how can i read it? Is there any tools? (1 Reply)
Discussion started by: zhouq3132
1 Replies
3. BSD
All,
I am a bit of a BSD newbie and haven't really played with it for years, but I have had a recent situation whereby someone attempted to load a custom kernel module and ended up breaking my BSD server.
I managed to fix it by doing the following:
Booting into loader mode:
unload
set... (3 Replies)
Discussion started by: drbabbers
3 Replies
4. BSD
FreeBSD Kernel Internals, Dr. Marshall Kirk McKusick
nwbqBdghh6E
The first hour of Marshall Kirk McKusick's course on FreeBSD kernel internals based on his book, The Design and Implementation of the FreeBSD Operating System. (0 Replies)
Discussion started by: Neo
0 Replies
5. UNIX Benchmarks
Just for fun:
CPU/Speed: 2x AMD Opteron Model 2384 (2.7GHz/512KB) quad core processor
Ram: 4 x2GB ECC DDR2-667 single rank memory
in RAID 0 mode (strip 128KB, Read Caching enabled, Write Caching disabled) with 2 HDD, CPUTYPE=opteron, CFLAGS= -O2 -fno-strict-aliasing -pipe, CXXFLAGS+=... (0 Replies)
Discussion started by: Success_Tree
0 Replies
6. Solaris
Hi gurus
Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value
Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I recently downloaded the Linux kernel source code, added them all to a project in MS VC++ and plan to read through it so that I can improve the way I code, read/understand a large code database and hopefully contribute something to the development of the Linux OS.
I have taken a... (3 Replies)
Discussion started by: clavian
3 Replies
8. UNIX for Dummies Questions & Answers
During installation of one of driver i needed to
Remove any earlier version drivers using
make clean -r command.
Where i m getting following error.
# make clean -r
Kernel source is not installed
make: *** Error 1
My kernel version
# uname -r
2.6.18-128.2.1.4.9.el5xen
Where... (4 Replies)
Discussion started by: pinga123
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
i'm having a problem here with FreeBSD 9.2 . I've created a directory and downloaded the latest ntp-4.2.8p1-beta2 from ntp.org. Untar then into the directory and then
./configure all went OK. Then i had to modify some parameters in the config.h created with ./configure . Then
make... (2 Replies)
Discussion started by: Board27
2 Replies
LEARN ABOUT FREEBSD
pc-sysinstall
PC-SYSINSTALL(8) BSD System Manager's Manual PC-SYSINSTALL(8)
NAME
pc-sysinstall -- System installer backend
SYNOPSIS
pc-sysinstall [-c file] [command]
DESCRIPTION
The pc-sysinstall utility is a hybrid backend for installing FreeBSD. When run in install mode it takes a configuration file and performs an
installation according to the parameters specified in the configuration file. When called with one of the system query commands it provides
information about the system to aid a front end in building an appropriate configuration file.
The following options are available:
-c file
Perform an installation as directed by file.
COMMANDS
The command can be any one of the following:
help Display a list of all commands.
help command
Display the help data for the specified command.
disk-list
Provide a listing of the storage devices detected on this system.
disk-part disk
Queries the specified storage device and returns information about its partitions.
disk-info disk
Returns information about a storage device's size, cylinders, heads, and sectors.
detect-laptop
Tests to see if this system is a laptop or desktop.
detect-emulation
Tests to see if this system is running in an emulator
detect-nics
Returns a listing of the detected network cards on this system.
list-components
Returns a listing of the available components which can be installed.
list-rsync-backups user host port
Returns a listing of available rsync-backups on the target server in the life-preserver/ directory.
list-tzones
Returns a listing of available timezones.
query-langs
Returns a list of languages that the installer supports.
sys-mem
Returns the size of installed system RAM in MegaBytes.
test-netup
test if an internet connection is available.
update-part-list
Returns a list of PC-BSD and FreeBSD installs on this system for updates.
xkeyboard-layouts
Returns a list of keyboard layouts that xorg supports.
xkeyboard-models
Returns a list of keyboard models that xorg supports.
xkeyboard-variants
Returns a list of keyboard variants that xorg supports.
create-part disk size
Create a new MBR primary slice on the target disk using size MB.
delete-part partition
Delete the disk partition specified. If this is the last partition, the disk partition layout will also be scrubbed, leaving a clean
disk ready for MBR or GPT file system layouts.
start-autoinstall file
Start an automated installation with the specified file. Normally only used by automated install scripts.
setup-ssh-keys user host port
Setup SSH without a password for the target host, user, and port. Used to prompt the user to log into a server before doing a rsync
+ ssh restore.
HISTORY
This version of pc-sysinstall first appeared in FreeBSD 9.0.
AUTHORS
Kris Moore <kmoore@FreeBSD.org>
BUGS
This utility was written to install PC-BSD and has seen limited use as an installer for FreeBSD. It's likely that usage to install FreeBSD
will expose edge cases that PC-BSD doesn't, as well as generate feature requests based on unforeseen needs.
BSD
June 24, 2010 BSD