Changes between Version 18 and Version 19 of krg_DRBL


Ignore:
Timestamp:
Mar 12, 2008, 6:26:27 PM (16 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • krg_DRBL

    v18 v19  
    4949{{{
    5050$ cd kerrighed-2.2.1
    51 $ sudo ./configure --with-kernel=/usr/src/linux-2.6.20 --disable-kernel-config --with-kernel-config=/usr/src/linux-2.6.20/.config
     51$ sudo ./configure --with-kernel=/usr/src/linux-2.6.20 --with-kernel-config=/usr/src/linux-2.6.20/.config
    5252$ sudo make patch
    5353
     
    6060$ sudo make defconfig
    6161$ sudo make menuconfig
    62 (0.If your CPU arch is intel, choose i386
    63  1.Cancel Preemption, KEYS  and SMP options
    64  2.Enable netwok block device, plug and play, NIC Driver and boot from nfs must to build-in
    65 )
    66  
     62(If you want to edit kernel options, note that the following are currently broken with Kerrighed:
     63
     64    * General setup -> IPC Namespaces
     65    * Processor type and features -> Preemption Model -> Voluntary Kernel Preemption
     66    * Processor type and features -> Preemption Model -> Preemptible Kernel
     67    * Networking -> IrDA (infrared) subsystem support
     68    * Security options -> Enable access key retention support
     69    * Networking -> Networking options -> The Ipv6 protocol
     70
     71Note: don't forget to add NIC driver and, if you plan to use NFSROOT, include it in the kernel, not as module.
     72)
     73
    6774(2)Make
    6875$ cd /usr/src/kerrighed-2.2.1
     
    8188title           Kerrighed 2.6.20-krg
    8289root            (hd0,0)
    83 kernel          /boot/vmlinuz-2.6.20-krg root=UUID=8bc93e80-35f9-41db-a349-02e839f2ed7c ro quiet splash
     90kernel          /boot/vmlinuz-2.6.20-krg root=/dev/sda1 ro quiet splash
    8491initrd          /boot/initrd.img-2.6.20-krg
    8592quiet
     
    103110krg008:7:eth0
    104111)
    105 }}}
     112
     113$ reboot
     114(reboot and choose 2.6.20-krg kernel)
     115}}}
     116
    106117[[BR]]
    107118
     
    137148
    138149$ sudo /opt/drbl/sbin/drblsrv -i
    139 $ sudo /opt/drbl/sbin/drblpush-offline -s `uname -r`
     150(If DRBL install other kernel version, you can use this command to designate 2.6.20-krg:
     151$ sudo /opt/drbl/sbin/drblsrv-offline -s `uname -r`
     152)
     153
     154$ sudo /opt/drbl/sbin/drblpush -i
    140155(The command used interactive mothod help user to install. It install related packages (nfs, dhcp, tftp......) and create /tftpboot directory. The /tftpboot include:
    141156nbi_img: kenrel , initrd image and grub menu
     
    160175  MENU DEFAULT
    161176  # MENU HIDE
    162   MENU LABEL Ubuntu 7.04 Linux (DRBL mode, mostly local resources)
     177  MENU LABEL Kerrighed 2.2.1 for kernel 2.6.20-krg
    163178  # MENU PASSWD
    164179  kernel vmlinuz-pxe