Find the answer to your Linux question:
Results 1 to 10 of 10
Hi I compiled the kernel 2.6.20.1 and create a ram disk file with mkinitramfs -o initrd.img-2.6.20.1 2.6.20.1 when grub loaded some times isee Kernel panic error that say can not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Location
    Iran-tehran
    Posts
    35

    kernel 2.6.20.1 loading error


    Hi
    I compiled the kernel 2.6.20.1 and create a ram disk file with
    mkinitramfs -o initrd.img-2.6.20.1 2.6.20.1
    when grub loaded some times isee
    Kernel panic error that say can not mount root filesystem in unknown block (0,0)
    or sometimes output arrive to
    wait for root fs
    and nothing happend
    my distrbut is debian etch.
    please help me

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Values of root (hdx,y) line and root = /dev/hdxx in kernel line, are not correct in menu.lst file.
    Post the contents of /etc/fstab and /boot/grub/menu.lst files.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Mar 2007
    Location
    Iran-tehran
    Posts
    35
    the menu,lst contain
    title linux 2.6.20.1
    root (hd0,10)
    kernel /boot/vmlinuz-2.6.20.1 root=/dev/sda11 ro
    initrd /boot/initrd.img-2.6.20.1
    savedefault

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    What about the title block of other kernel? Post that block and post the contents of /etc/fstab file too.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Mar 2007
    Location
    Iran-tehran
    Posts
    35
    title block??? you mean
    title linux-2.6.xx?

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Please post all the contents of menu.lst and /etc/fstab files.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Just Joined!
    Join Date
    Mar 2007
    Location
    Iran-tehran
    Posts
    35
    fstab

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/sda11 / ext3 defaults,errors=remount-ro 0 1
    /dev/hdd1 /mnt/hdd1 ext3 defaults 0 2
    /dev/hdd3 /mnt/hdd3 ext3 defaults 0 2
    /dev/hdd6 /mnt/hdd6 ext3 defaults 0 2
    /dev/hdd10 /windows/hdd10 vfat defaults 0 0
    /dev/hdd2 /windows/hdd2 vfat defaults 0 0
    /dev/hdd7 /windows/hdd7 vfat defaults 0 0
    /dev/hdd8 /windows/hdd8 vfat defaults 0 0
    /dev/hdd9 /windows/hdd9 vfat defaults 0 0
    /dev/sda1 /windows/sda1 vfat defaults 0 0
    /dev/sda7 /windows/sda7 vfat defaults 0 0
    /dev/sda8 /windows/sda8 vfat defaults 0 0
    #/dev/hdd5 none swap sw 0 0
    /dev/sda10 none swap sw 0 0
    /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0


    menu.lst

    title Debian GNU/Linux 2.6.20.1
    root (hd0,10)
    kernel /boot/vmlinuz-2.6.20.1 ro root=/dev/sda11
    initrd /boot/initrd.img-2.6.20.1
    savedefault

  9. #8
    Just Joined!
    Join Date
    Mar 2007
    Location
    Iran-tehran
    Posts
    35
    i must say that my end for recompiling kernel is appling bootsplash.

  10. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Code is correct in menu.lst and /etc/fstab files. What about pre-compiled kernel that comes with default install? Is that booting up correctly?
    Post the output of
    Code:
    ls /boot
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  11. #10
    Just Joined!
    Join Date
    Mar 2007
    Location
    Iran-tehran
    Posts
    35
    Hi my friend

    last night i compiled 2.6.18 . it work correctly with the ram disk file that i build like this:
    initramfs -o/boot/initrd.img-2.6.18 2.6.18
    but the 2.6.20.1 version not work with its own ram file that i create as the same way of 2.6.18's way.
    but when i try this commant to initrd.img-2.6.18 it not work and give the errors that i say befor, here is the command:
    splash -s -f /etc/theme....../bootsplash-1024x768.cfg >> /boot/initrd.img-2.6.18
    plz did not attention to cammand spell.

Posting Permissions

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