LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 07-15-2015, 12:29 PM   #1
NeedySaigon.
Member
 
Registered: Jul 2015
Distribution: gentoo ~64
Posts: 48

Rep: Reputation: Disabled
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?

Last edited by NeedySaigon.; 07-15-2015 at 05:00 PM.
 
Old 07-15-2015, 05:32 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

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

Last edited by berndbausch; 07-15-2015 at 05:34 PM.
 
Old 07-15-2015, 07:53 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
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.
 
Old 07-20-2015, 09:36 PM   #4
NeedySaigon.
Member
 
Registered: Jul 2015
Distribution: gentoo ~64
Posts: 48

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
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
 
Old 07-22-2015, 11:12 AM   #5
NeedySaigon.
Member
 
Registered: Jul 2015
Distribution: gentoo ~64
Posts: 48

Original Poster
Rep: Reputation: Disabled
no one?
 
Old 07-23-2015, 05:19 PM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
What feature. Can't see anything on your screenshot. Are you trying to be funny?
 
Old 07-24-2015, 09:09 AM   #7
NeedySaigon.
Member
 
Registered: Jul 2015
Distribution: gentoo ~64
Posts: 48

Original Poster
Rep: Reputation: Disabled
you blind pal...
Attached Thumbnails
Click image for larger version

Name:	gentoologo.png
Views:	34
Size:	95.5 KB
ID:	19006  
 
Old 07-24-2015, 03:41 PM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
This "feature" is always enabled, technically speaking. It is parsing your browser headers.
 
Old 07-27-2015, 07:37 AM   #9
NeedySaigon.
Member
 
Registered: Jul 2015
Distribution: gentoo ~64
Posts: 48

Original Poster
Rep: Reputation: Disabled
nope, is not !
 
Old 07-27-2015, 04:24 PM   #10
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Sorry to hear the "feature" is turned off for you. Works for everybody else, though.
 
Old 07-27-2015, 04:27 PM   #11
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by NeedySaigon. View Post
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.

Last edited by astrogeek; 07-27-2015 at 04:31 PM.
 
Old 07-27-2015, 06:38 PM   #12
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Emerson View Post
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...
 
Old 07-31-2015, 06:48 AM   #13
NeedySaigon.
Member
 
Registered: Jul 2015
Distribution: gentoo ~64
Posts: 48

Original Poster
Rep: Reputation: Disabled
Code:
user_pref("general.useragent.override", "your-user-agent-string/Arch");
well...I did that and nothing...

Last edited by NeedySaigon.; 07-31-2015 at 06:49 AM.
 
Old 07-31-2015, 06:52 PM   #14
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by NeedySaigon. View Post
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...
 
Old 07-31-2015, 06:57 PM   #15
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by NeedySaigon. View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging a Kernel Panic Event - Problem writing the log in panic situation lucasct Linux - Embedded & Single-board computer 5 09-08-2011 01:44 PM
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 12:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration