Find the answer to your Linux question:
Results 1 to 7 of 7
I would like to update from a 2.4.27 kernel to a 2.6.8 which is the latest I think. Where would I find the files and what other programs do I ...
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    10

    Linux debian 2.4.27-2-686 to 2.6.8 kernel installation

    I would like to update from a 2.4.27 kernel to a 2.6.8 which is the latest I think. Where would I find the files and what other programs do I need and what are the steps?

  2. #2
    Just Joined!
    Join Date
    Jul 2005
    Posts
    19

    use apt-get

    Hi,
    This question appeared in one of the forums recently and the answer was
    'apt-get install kernel-image-2.6-386'
    It worked from my CDRom set, and added item to grub, but I had difficulty shutting down properly so have reverted to older kernel.
    Regards.

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    17
    Hi! I will ask here, so i wont open another topic.

    I compiled new kernel 2.4.31 from 2.4.27-2-386, and after reboot i get this:

    Code:
    VFS: Cannot open root device "hda1" or 03:01
    Please append a correct "root=" boot option
    Kernel panic: VFS: Unable to mount root fs on 03:01
    this is in menu.lst:
    Code:
    title           Debian GNU/Linux, kernel 2.4.31
    root            (hd0,0)  
    kernel          /boot/vmlinuz-2.4.31 root=/dev/hda1 ro
    savedefault
    boot
    
    title           Debian GNU/Linux, kernel 2.4.31 (recovery mode)
    root            (hd0,0)
    kernel          /boot/vmlinuz-2.4.31 root=/dev/hda1 ro single
    savedefault          
    boot                      
    
    title           Debian GNU/Linux, kernel 2.4.27-2-386          
    root            (hd0,0) 
    kernel          /boot/vmlinuz-2.4.27-2-386 root=/dev/hda1 ro
    initrd          /boot/initrd.img-2.4.27-2-386
    savedefault
    boot
    
    title           Debian GNU/Linux, kernel 2.4.27-2-386 (recovery mode)
    root            (hd0,0)
    kernel          /boot/vmlinuz-2.4.27-2-386 root=/dev/hda1 ro single
    initrd          /boot/initrd.img-2.4.27-2-386
    savedefault
    boot
    my harddrive is /dev/hda1 and i dont get what is wrong. Can you help me?

  4. #4
    Just Joined!
    Join Date
    Apr 2005
    Posts
    17
    any1 ?

  5. #5
    Just Joined!
    Join Date
    Oct 2005
    Posts
    1
    I found this somewhere else:

    03 is the major number for hda. 03:01 is /dev/hda1.

    The request module message indicates that you don't have a device driver for
    hda1which means that you haven't loaded ide-disk, or you didn't load
    ide-probe-mod before ide-disk from your initrd.

    One possible cause for this is that you loaded an initrd from a different
    kernel version and therefore the initrd couldn't load a module.

  6. #6
    Just Joined!
    Join Date
    Apr 2005
    Posts
    17
    and how can i solve this problem now?

    sorry, im kinda noob in linux.

  7. #7
    Just Joined!
    Join Date
    Sep 2005
    Posts
    2
    Hi, i know when i had that problem when i was recompiling my kernel using make-kpkg, i had to add the '--initrd' flag to the make-kpkg command. If anybody knows a better way can you please let me know

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •