QuickGuide to FreeBSD
This guide covers some common pitfalls and good-to-know™ things about FreeBSD
Booting an old kernel
Ok - you fscked up and your brandnew kernel won't boot.
- Press any OTHER key than enter to halt the boot process.
- Type unload to unload the broken kernel.
- Type load /kernel.old to load your old (and hopefully working kernel). It is also possible to load the GENERIC kernel with load /kernel.GENERIC
- Type boot to boot the old kernel.
- Fix the broken kernel.
Configuring & compiling kernels
Kernel config dir: /usr/src/sys/i386/conf
- Start by copying GENERIC to <YOURHOSTNAME>
- Edit <YOURHOSTNAME> to suit your needs.
- Do a config <YOURHOSTNAME>
- cd ../../compile/<YOURHOSTNAME>
- make depend && make && make install
- .. and reboot
FreeBSD on IBM ThinkPad A21 (and T20, T21)
Read Installing FreeBSD on an IBM ThinkPad A21p
Other FreeBSD related pages
Updating and building worlds
- Do a cvsup of src-all
- Read /usr/src/UPDATING
- Configure your kernel
- cd /usr/src
- make buildworld
- make buildkernel KERNCONF=<YOURHOSTNAME>
- make installkernel KERNCONF=<YOURHOSTNAME>
- make installworld
- mergemaster
- Say your prayers and reboot
Updating source and ports
Read Tigerdyr's HOW-TO's - CVSUPD