[lfs-support] Kernel panic lfs-7.2

Ken Moffat zarniwhoop at ntlworld.com
Thu Oct 25 14:50:35 PDT 2012


On Thu, Oct 25, 2012 at 10:03:46PM +0100, spiky wrote:
> Hi
> Ok I,m having real trouble booting my lfs system. Long storey with lfs 
> 7.2 wont boot, I have now dd a working lfs-7.0 system, from another 
> laptop which I have done before. on to this laptop replacing 7.2.
> I adjusted fstab file as needed for new partitions.
> I have tried booting from grub prompt (host grub)
> set root=(hd0,3)
> linux /boot/vmlinuz-3.3-rc1-lfs-7.0
> boot
> 
> I get a kernel panic
>   "VFS unable to mount root fs via NFS trying floppy
> VFS cannot open root device "(null)" or unknown-block(2,0)
> please append a correct "root=" boot option here are availble partitions"
> then it lists the sda partitions.
> 
> I got the same panic with the lfs 7.2 install, I have rebuilt the kernel 
> many times different configurations.
>    I have built lfs since 6.7 and always got them to boot, this is the 
> 1st time I have built on this laptop, Nothing special about this laptop.
> 
> Would really like to get this fixed Thks

 I think the root of your problem is that you have no previous good
.config for _this_ laptop.  As we always say, both the filesystems
and device drivers that are required to boot need to be built in to
the kernel.

 But something about your report is odd - you say it lists the sda
partitions (and I assume that is the correct drive), and I also
assume you aren't using a different filesystem for '/' on this
machine.  Did you perhaps specify root=/dev/hdXN instead of
/dev/sdaN in grub.cfg ?

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the lfs-support mailing list