Installing FreeBSD 3.1 on IBM Thinkpad 755c



        This article assumes you already have a system running FreeBSD 3.1
    that is set-up to compile the kernel....

        Step 1....Decide the method you are going to use to install..I used a PLIP network
    cable..This will be important for compiling the kernel with support built in..

       Step 2....Now you need yo copy /usr/src/sys/i386/conf/GENERIC to a new file...
    You will then need to edit the new file with the following options..

    machine        "i386"
    cpu                "I486_CPU"
    ident                                    #The name of your file..
    maxusers        32

    options            INET
    options            FFS
    options            FFS_ROOT
    options            MFS
    options            MFS_ROOT
    options            NFS
    options            NFS_ROOT
                                                #MSDOSFS if you need it...

    options            "COMPAT_43"
    options            UCONSOLE
    options            FAILSAFE

    config              kernel     root on wd1

    controller          isa0
    controller          eisa0

    controller          fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
    controller          fd0      at fdc0 drive 0

    controller           wdc0    at isa? port "IO_WD1" bio irq 14
    controller           wd0      at wdc0 drive 0

    controller           atkbdc0    at isa? port IO_KBD tty
    device               atkbd0      at isa? tty irq 1 flags 0x04
    device               psm0        at isa? tty irq 12
    device               vga0         at isa? port ? confilcts
    pseudo-device    splash
    device                sc0        at isa? tty flags 0x10    #This flag along with atkbd0 allow the keyboard to work....
    options               PCVT_SCANSET=2
    device                npx0       at isa? port IO_NPX irq 13
    device                apm0      at isa? disable flags 0x31

    controller            card0
    device                pcic0       at card?
    device                pcic1       at card?
    device                sio0         at isa? port "IO_COM1" flags 0x10 tty irq 4
    device                ppc0        at isa? port? net irq ?
    controller            ppbus0
    device                nlpt0        at ppbus?
    device                plip0        at ppbus?
    device                ppi0         at ppbus?

    pseudo-device        loop
    pseudo-device        ether
    pseudo-device        sl            1
    pseudo-device        ppp         1
    pseudo-device        tun          1
    pseudo-device        pty          16
    pseudo-device        gzip

    options            KTRACE
    options            SYSVSHM
    options            SYSVMSG
    options            POWERFAIL_NMI
    options            INTRO_USERCONFIG

        Step 3....Now you will want to run /usr/sbin/config on you saved file and then
    chage to it's make directory..Do a 'make depend' and a 'make' but not a 'make install'...
    If all works, you should have a kernel file in your make directory..Gzip the kernel file...

        Step 4....Make a set of boot floppies, either from FreeBSD or DOS..Put the kernel floppy
    in the drive and mount the floppy..Copy the new kernel to the floppy...You are now ready to
    boot the Thinkpad with the floppies and install you system...

        Step 5....When sysinstall has finished, remove the floppy and exit..Allow the computer to
    reboot..When the bootsrtap loader pauses for 10 seconds press the space bar...This will place you
    in the loader...Insert the kernel boot floppy in the drive..Do an ' lsdev '..This will show the
    avabile partitions...Take note of the ' / ' partition on the hard drive and the second partiton on
    the floppy (disk0c on mine)..Do a ' set currdev= ' to the second partiton on the floppy..Do a
    ' load kernel '...Once it has loaded do a ' set currdev= ' to the ' / ' partition on the hard drive...
    Now ' boot ' the kernel...If everything is right it will boot to the kernel on the disk and mount
    the system on the hard drive as normal...

        Step 6....Once the system is up and running it's time to replace the old kernel...Mount the
    kernel boot floppy..Change to ' / '....Do a ' chflags noschg /kernel ' to unlock the old kernel...
    Now copy the boot floppy kernel to ' / ' replacing the old kernel...Now gunzip the new kernel
    and do a ' chflags schg /kernel ' to relock the new kernel...Remove the floppy and reboot....

        Step 7....Did it work??? If it did shout hoorraayyy!!! It took several days to figure all this
    stuff out...I hope it helps someone....