LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-05-2015, 04:43 PM   #1
Argon13524
LQ Newbie
 
Registered: Jan 2015
Posts: 1

Rep: Reputation: Disabled
gentoo/probook 450 g1/kernel panic on boot


Hi,

Gentoo Forums have been down for a while, so I thought I could ask here.


I've recently installed (well, almost) gentoo on my Probook 450 G1 (with ssd as main disk and hdd instead of cd-rom)

I did it using a legacy/UEFI mixed setting, because I couldn't find any pendrive-UEFI-bootable ISOs (and after I'm done, I can change it to native UEFI). This seems to work, as disks were succesfuly partitioned in GPT etc.

However when I try to restart and boot without a stick (by loading .efi file), I get a
Code:
"VFS: Cannot open root device "<NULL>" or unknown-block(0,0): error -6"
error, which looks like a problem with SATA controller driver.

lspci -k informs me that there is only one disk-related device, which is Intel's 8 Series/C220 in AHCI mode and using ahci driver, which I include in the kernel. Ahci also seems to be the only important used driver showed by lsmod.
(I've noticed that the kernel panic screen shows that drives use sd driver, don't know if it matters)
I've included every necessary thing, that was mentioned in the gentoo handbook in my kernel (including filetypes and EFI support). I'm also using lz4 compression.

I don't use any bootloaders, as it's problematic to get them to work (GRUB2 wants me to boot with native UEFI first for example).


My fstab:

Code:
/dev/sda2      /boot/efi      vfat      defaults,noatime  1 2
/dev/sda3      /              ext4      defaults,noatime  0 1
/dev/sda4      /home          ext4      defaults,noatime  0 2
/dev/sdb1      none           swap      sw                0 0
/dev/sdb2      /backup        ext4      defaults,relatime 0 2
/dev/sdb3      /data          ext4      defaults,relatime 0 2
sda is the main ssd, sdb is a hdd in a caddy.

Thanks for help!



EDIT:
Well, it worked! Turns out the problem was not with the drivers that I've been playing with for a few days. The bootloader couldn't find the root partition, so I passed
Code:
root=/dev/sda3
from inside the kernel and everything boots fine now.

Last edited by Argon13524; 01-06-2015 at 08:01 AM.
 
Old 01-11-2015, 01:53 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Thanks for the update and solution.
 
Old 01-12-2015, 03:24 AM   #3
cepheus11
Member
 
Registered: Nov 2010
Location: Germany
Distribution: Gentoo
Posts: 286

Rep: Reputation: 91
Quote:
Gentoo Forums have been down for a while
Are Gentoo Forums inaccessible for you? According to http://infra-status.gentoo.org/, forums are up and running. For me, the site has never been down in the last weeks.
 
  


Reply



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
[SOLVED] Problems with hibernation on HP ProBook 450 G! mauromol Linux - Laptop and Netbook 9 06-28-2017 02:55 PM
Gentoo on HP ProBook laptop skazhy Gentoo 2 11-03-2010 05:16 PM
[SOLVED] Gentoo hardened -- kernel panic on boot crosstalk Linux - Kernel 1 07-05-2010 05:09 PM
Kernel not loading - Kernel Panic in Grub - 2.6.23-gentoo-r6 rahulthewall3000 Linux - Kernel 2 02-11-2008 02:33 PM
Kernel Panic in Gentoo palmem Linux - General 1 11-06-2004 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:28 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