Use FreeBSD-current on your laptop



How to install 5-current

There are two choices.
  1. Install 5-current using 5-current boot floppy
  2. Install 5-current using cvsup

Install 5-current using 5-current boot floppy

That's it. It's so easy so I can't write any more...

Install 5-current using cvsup

At first, you must install
FreeBSD 4.0-RELEASE or higher.
Good luck.

After you've installed 4.x-RELEASE, get cvsup from ports or packages.

Then, prepare your supfile.
Here is my supfile. I don't want to break my 4.0-RELEASE /usr/src, so I put current-src to /export/home/cvsup(this is refered as $prefix below).
If you want to change it, edit lines in your supfile.

Get the source. You must ensure that you have at least 260Mb of free space to keep the whole source.
# cd $somewhere
# cvsup -g -L 2 supfile-current
Wait until cvsup will finish...
Before building your new kernel, please execute these commands: (there is a directory location dependency on recent 5-current)
# cd /usr
# ln -s $prefix/src .
# ln -s $prefix/obj .
# ln -s $prefix/usr ./obj/usr
Then, you must make your new kernel.
# cd $prefix/src/sys/i386/conf
(In my example, $prefix = /export/home/cvsup)
# cp GENERIC MYKERNEL
# vi MYKERNEL
(This is my sample kernel config file for Sony VAIO Z505NR, Z505HS)
# config MYKERNEL
# cd ../../compile/MYKERNEL
# make depend && make && make install
# shutdown -r now
Reboot the system with new kernel.
Next, make the new world.
Ensure that your /usr/obj directory has at least 260Mb of free space.
# vi /etc/make.conf
USA_RESIDENT=NO
(because I live in Japan)
# cd $prefix/src
# make buildworld
(This takes long time... In my PIII-500MHz, it takes 2 hours.)
# make installworld
# mergemaster -m $prefix/src/etc
(merge configuration files, /etc/* )
# shutdown -r now
That's it!!

Tips for Sony VAIO Z505NR, Z505HS

Now, my VAIO Z505NR(this is called Z505HS in U.S.) works like a charm using 5-current (June 2, 2000). I can use these devices without any problems. Thanks to all FreeBSD folks!!
Here are some tips for using Z505NR, Z505HS.
What I can't do on my Z505NR: Anyway, these problems will be fixed sooner or later(except winmodem).
Akira Funahashi <funa@funa.org>
Powered by FreeBSD Last modified: Fri Jul 28 02:43:00 2000