kernel panic LFS7.7, first boot unable to mount root unknown block 8,1
I am having a bit of a problem.
I turn on my pc, go into the boot menu, select my externel hard drive which has lfs on it, go into grub, remove the /boot/ from the file, run. Yay! Nope. I get a kernel panic saying it can't mount root on an unknown block 8,1. not 0,0, 8,1. What does that even mean? Help. |
It would help with more info, what partition is lfs on. sdbx?
Post grub.cfg and fstab, Did you enable all the correct drivers in the kernel Where did you install grub? sda or sdb. Do you have a seperate boot partition. |
Quote:
grub: Code:
# Begin /boot/grub/grub.cfg Code:
# Begin /etc/fstab So theres that. I didn't do much in kernel config, just did make defconfig and then disabled uevent. |
Ok I would check through kernel conf that all the relevent to your machine is enabled, Before I have set a rootdelay to boot line
Code:
linux /boot/vmlinuz-3.19-lfs-7.7 root=/dev/sda1 rootdelay=15 ro But that has let me down recently and I built initramfs. I would check through kernel 1st, lspci will give you the info you need. |
Okay im in the config menu, and i have lspci from my host, but I'm not sure how that translates into options i need in kernel.
|
did you run makemenuconfig?
http://www.linuxfromscratch.org/lfs/...08/kernel.html |
yes. I have that in one terminal and lspci in a separate one.
|
You have to go through it and check that the stuff you require is enabled "Y". There is a hlp section that will help along with google.
|
Okay I enabled quite a few things, amd, nvidia, sata, thunderbolt, pci things.
Will get back to you after next boot. |
http://i.imgur.com/MacFOmh.jpg
That's what I got. _OSC failed (AE_NOT_FOUND); disabling ASPM is the last line |
If you still have the old kernel in boot dont delete it, I,m sure the kernel line should read
root=/dev/sda1 root=/dev/sdb1 as the root is still on sdb grub will look at it as sda1 then root is on sdb, give that a try. |
So change sdax to sdbx? That shouldn't work. The hard drive becomes sda when in hot into it, bit if I boot into Ubuntu, lfs is on sdb.
|
Ha now you got me thinking i,m not in front of my lfs which has grub on 2nd drive as well, it cant hurt to try it tho.
I think it works that grub reads the drive as hd0, then looks to root as the drives are ubuntu sda1 lfs sdb1 |
Well neither am i. I'm in front of my phone watching hulu. I'll try tomorrow, or later. Do t expect much. Had to edit grub anyway
|
Another option use host grub to make sure system boots ok
|
All times are GMT -5. The time now is 11:08 AM. |