On Sun, 13 Nov 2011 10:36:34 +0000 spiky <[email protected]> wrote:
> Ok I used grub prompt it showed the usb drive > hd0,msdos1(LFS-7.0),2(swap),3(home). > then entered set root=(hd0,msdos) > linux /boot/vmlinux-3.1-7.0 (it found with tab)root=/devsda1 > boot > i get > "no filesystem could mount root tried ext 3 ,2, 4 etc > also Kernel panic not syncing VFS unable to mount root fs on unknown > block (8.1). > This is the same as I get when I let it boot as normal for this drive. > That looks like a kernel panic, which is good because it means you've got past the BIOS and grub. It could be that you've not compiled the kernel with support for the root filesystem built into the kernel. It could also be that the kernel config is fine but you've passed it the wrong root= option on the grub command line. I'm pretty sure I'd get a similar looking kernel panic if I tried to boot my kernel with root= pointing to my swap partition. Another possibility is that the kernel sees the partition as /dev/sdb1 or /dev/hdc1 or some such. There's no way to be sure other than to try all the combinations you can think of and see what works. If none of them work then the problem is probably with your kernel config so you'll have to work on that recompile your kernel until you get one that boots. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
