LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   kernel panic... (https://www.linuxquestions.org/questions/gentoo-87/kernel-panic-4175548076/)

NeedySaigon. 07-15-2015 12:29 PM

kernel panic...
 
I know when this happens some people in the community get concerned...prolly don't like that 'word'...

anyway,right now I'm writing from Gentoo 3rd entry(genkernel) on submenu debian's grub

the error is:unable to mount root fs on unknown block (0,0)


Code:

/boot/grub/grub.conf


### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###


menuentry 'Gentoo Base System release 2.2 (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-bb43ebf5-ccec-4318-b85e-bb8c083166ea' {
        insmod part_gpt
        insmod btrfs
        set root='hd0,gpt5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  bb43ebf5-ccec-4318-b85e-bb8c083166ea
        else
          search --no-floppy --fs-uuid --set=root bb43ebf5-ccec-4318-b85e-bb8c083166ea
        fi
        linux /boot/vmlinuz-4.0.5-gentoo root=/dev/sda5
}
submenu 'Advanced options for Gentoo Base System release 2.2 (on /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-bb43ebf5-ccec-4318-b85e-bb8c083166ea' {
        menuentry 'Gentoo Base System release 2.2 (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.0.5-gentoo--bb43ebf5-ccec-4318-b85e-bb8c083166ea' {
                insmod part_gpt
                insmod btrfs
                set root='hd0,gpt5'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  bb43ebf5-ccec-4318-b85e-bb8c083166ea
                else
                  search --no-floppy --fs-uuid --set=root bb43ebf5-ccec-4318-b85e-bb8c083166ea
                fi
                linux /boot/vmlinuz-4.0.5-gentoo root=/dev/sda5
        }
        menuentry 'Gentoo Base System release 2.2 (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.0.5-gentoo.old--bb43ebf5-ccec-4318-b85e-bb8c083166ea' {
                insmod part_gpt
                insmod btrfs
                set root='hd0,gpt5'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  bb43ebf5-ccec-4318-b85e-bb8c083166ea
                else
                  search --no-floppy --fs-uuid --set=root bb43ebf5-ccec-4318-b85e-bb8c083166ea
                fi
                linux /boot/vmlinuz-4.0.5-gentoo.old root=/dev/sda5
        }
        menuentry 'Gentoo Base System release 2.2 (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/kernel-genkernel-x86_64-4.0.5-gentoo--bb43ebf5-ccec-4318-b85e-bb8c083166ea' {
                insmod part_gpt
                insmod btrfs
                set root='hd0,gpt5'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  bb43ebf5-ccec-4318-b85e-bb8c083166ea
                else
                  search --no-floppy --fs-uuid --set=root bb43ebf5-ccec-4318-b85e-bb8c083166ea
                fi
                linux /boot/kernel-genkernel-x86_64-4.0.5-gentoo root=/dev/sda5
                initrd /boot/initramfs-genkernel-x86_64-4.0.5-gentoo
        }
}

### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

what to do?

berndbausch 07-15-2015 05:32 PM

The error occurs when you boot which menuentry?
I don't see any entry named "debian's grub".

Emerson 07-15-2015 07:53 PM

Code:

unable to mount root fs on unknown block (0,0)
This means your kernel is unable to access the hard drive.
Possible reasons:
kernel has no support for your HDD controller hardware;
kernel has no support for partition table type used;
the necessary support was built into initrd but it is not loaded.

NeedySaigon. 07-20-2015 09:36 PM

Quote:

Originally Posted by Emerson (Post 5392046)
Code:

unable to mount root fs on unknown block (0,0)
This means your kernel is unable to access the hard drive.
Possible reasons:
kernel has no support for your HDD controller hardware;

homie...how to enable this feature ? >>> http://s8.postimg.org/4p2ri4cwh/Scre...0_20_36_26.png

NeedySaigon. 07-22-2015 11:12 AM

no one?

Emerson 07-23-2015 05:19 PM

What feature. Can't see anything on your screenshot. Are you trying to be funny?

NeedySaigon. 07-24-2015 09:09 AM

1 Attachment(s)
you blind pal...

Emerson 07-24-2015 03:41 PM

This "feature" is always enabled, technically speaking. It is parsing your browser headers.

NeedySaigon. 07-27-2015 07:37 AM

nope, is not !

Emerson 07-27-2015 04:24 PM

Sorry to hear the "feature" is turned off for you. Works for everybody else, though.

astrogeek 07-27-2015 04:27 PM

Quote:

Originally Posted by NeedySaigon. (Post 5396786)
nope, is not !

It is working.

Why do you think it is not enabled for you?

As said earlier, it is parsing your browser headers, specifically the useragent string.

Click here and paste your useragent string here.

ardvark71 07-27-2015 06:38 PM

Quote:

Originally Posted by Emerson (Post 5395499)
What feature. Can't see anything on your screenshot. Are you trying to be funny?

Hi...

No, I think he's wanting the same gentoo icon to display on his posts as it does for you. I'm not sure why it's not displaying for the OP, though. I'm guessing the user agent information that astrogeek linked to might lend a clue. :)

Regards...

NeedySaigon. 07-31-2015 06:48 AM

Code:

user_pref("general.useragent.override", "your-user-agent-string/Arch");
well...I did that and nothing...

ardvark71 07-31-2015 06:52 PM

Quote:

Originally Posted by NeedySaigon. (Post 5398837)
Code:

user_pref("general.useragent.override", "your-user-agent-string/Arch");
well...I did that and nothing...

Hi...

You would need to ask Emerson to see if he would post his (or whatever else is needed) and compare the differences.

Regards...

astrogeek 07-31-2015 06:57 PM

Quote:

Originally Posted by NeedySaigon. (Post 5398837)
Code:

user_pref("general.useragent.override", "your-user-agent-string/Arch");
well...I did that and nothing...

Well... you did something, but not what I asked - please post your useragent string as reported by the link above.


All times are GMT -5. The time now is 09:36 AM.