Tagged: grub RSS Toggle Comment Threads | Keyboard Shortcuts

  • liduan 8:00 am on August 12, 2009 Permalink | Reply
    Tags: , grub, , , ,   

    next, install modules of new kernel:

    #make modules_install
    

    then, generate a image for new kernel.

    #cd /lib/modules
    #mkinitramfs -o initrd.img-2.6.30.4 2.6.30.4
    #mv initrd.img-2.6.30.4 /boot
    

    edit menu.lst file for grub booter, add following:

    title		Ubuntu 8.04.3 LTS, kernel 2.6.30.4
    root		(hd0,2)
    kernel		/boot/vmlinuz root=UUID=98f69044-be12-4dde-95df-358dca35c632 ro quiet splash
    initrd		/boot/initrd.img-2.6.30.4
    quiet
    
     
  • liduan 7:45 am on August 12, 2009 Permalink | Reply
    Tags: , grub, , , ,   

    install new linux kernel 2.6.30.4 using “make install”, system should show following detail:
    root@ibm-laptop:/usr/src/linux-2.6.30.4# make install
    sh /usr/src/linux-2.6.30.4/arch/x86/boot/install.sh 2.6.30.4 arch/x86/boot/bzImage \
    System.map “/boot”
    In order to use the new kernel image you have just installed, you
    will need to reboot the machine. First, however, you will need to
    either make a bootable floppy diskette, re-run LILO, or have GRUB
    installed.

    Checking for ELILO…No

    GRUB is installed. To automatically switch to new kernels, point your
    default entry in menu.lst to /boot/vmlinuz-2.6.30.4

    ====================
    GRUB menu configuration file menu.lst should be update.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel