PROSES PENGKOMPILANYA YAITU
1. login sebagai root pada OS bsd Anda
2. kemudian masuk pada pada derektori /conf dng printah#cd /usr/src/sys/i386/conf#ls perintah ini digunaka untuk melihat isi dari deroktori conf.cvsignore GENERIC.hints NOTES SMPDEFAULTS MYKERNEL PAE XBOXGENERIC Makefile ROUTER#cp GENERIC MYKERNELperintah ini digunaka untuk mengkopi file GENERIC dan disimpan dengan nama MYKERNELMYKERNEL dapat diberi nama sesuka kita.
3. ketikkan perintah#vi MYKERNEL
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon Exp $
machine i386cpu I486_CPUcpu I586_CPUcpu I686_CPUident GENERIC
# To statically compile in device wiring instead of /boot/device.hints#hints “GENERIC.hints” # Default places to look for devices.
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
options SCHED_4BSD # 4BSD scheduleroptions PREEMPTION # Enable kernel thread preemptionoptions INET # InterNETworkingoptions INET6 # IPv6 communications protocolsoptions FFS # Berkeley Fast Filesystemoptions SOFTUPDATES # Enable FFS soft updates supportoptions UFS_ACL # Support for access control listsoptions UFS_DIRHASH # Improve performance on big directoriesoptions MD_ROOT # MD is a potential root deviceoptions NFSCLIENT # Network Filesystem Clientoptions NFSSERVER # Network Filesystem Serveroptions NFS_ROOT # NFS usable as /, requires NFSCLIENToptions MSDOSFS # MSDOS Filesystemoptions CD9660 # ISO 9660 Filesystemoptions PROCFS # Process filesystem (requires PSEUDOFS)options PSEUDOFS # Pseudo-filesystem frameworkoptions GEOM_GPT # GUID Partition Tables.options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]options COMPAT_FREEBSD4 # Compatible with FreeBSD4options COMPAT_FREEBSD5 # Compatible with FreeBSD5options SCSI_DELAY=5000 # Delay (in ms) before probing SCSIoptions KTRACE # ktrace(1) supportoptions SYSVSHM # SYSV-style shared memoryoptions SYSVMSG # SYSV-style message queuesoptions SYSVSEM # SYSV-style semaphoresoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensionsoptions KBD_INSTALL_CDEV # install a CDEV entry in /devoptions ADAPTIVE_GIANT # Giant mutex is adaptive.
edit driver 2 yang gak penting dan gak guna seperti hd scsi adn yang lain lainnn oke
4. untuk melihat hadware yang kita guankan saat ini ketikkan perintah:#vi /var/run/dmesg.boot /var/run/dmesg.boot
Copyright (c) 1992-2006 The FreeBSD Project.
opyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994The Regents of the University of California. All rights reserved.FreeBSD is a registered trademark of The FreeBSD Foundation.FreeBSD 6.2-RC2 #0: Mon Dec 17 20:08:36 CET 2007root@idur.com:/usr/src/sys/i386/compile/MYKERNELTimecounter “i8254″ frequency 1193182 Hz quality 0CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (928.31-MHz 686-class CPU)Origin = “GenuineIntel” Id = 0xf12 Stepping = 2Features=0×780a17b
Tidak ada komentar:
Posting Komentar