J.P.Kaper wrote:
> I am building LFS from book 6.4 on an ext3 logical partition of an  
> external USB harddisk.
> My host system is SUSE 10.3 on one of my two internal harddisks.
> 
> Booting from the USB disk fails with
> "[4.410067] Kernel panic - not syncing: VFS: Unable to mount
> root fs on unknown-block (2,0)"

This is usually a result of not building in (can't be loadable
modules) either the file system drivers you need, or the low
level drivers for the hardware. Make sure that you build in
the file system you want to use, the SCSI driver, and the
USB driver. (The USB devices are faked as SCSI to the upper
layers of the software stack.) It looks like you've already
done this, so maybe this isn't the problem.

> In the lines right before the panic the kernel seems to enumerate
> the partitions on my internal harddisks:
> "[......] 0801 number sdxy"
> where x=a or b, in y I recognize the partitionnumbers on my two internal  
> harddisks and "number" correlates with the size of the partitions.
> So it looks as though the panic has something to do with the USB-disk,
> which is next in line for enumeration.
> 
> The fstab-entry for the USB-disk is:
> /dev/disk/by-id/usb-SAMSUNG_HM160HI_160000113662-0:0-part8  /mnt/lfs    
> ext3  defaults 1 1

I hope this is a real disc drive, and not a FLASH drive. FLASH and
ext3 are not a very good match.

[...]

> On that basis I build every reasonable USB- and SCSI-configuration entries  
> into the kernel as well as all of the ext2 and ext3 filesystem-entries,  
> but nothing worked.

You are doing the right things (lspci, etc.) but still no joy. Hmm.

> It took me a long time with LFS to come as far as this (and I enjoyed it  
> very much and learned a lot from it), so I hope somebody can help me with  
> the last hurdle.

I do, too. You've already done enough to about exhaust what help I
could give. Sorry...

Thought I could be more help.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to