Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82853

Summary: cannot mount filesystems if /usr is on different partition
Product: Gentoo Linux Reporter: martin mittendorfer <martin>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description martin mittendorfer 2005-02-21 11:06:45 UTC
when /usr resides on a different partition, the /etc/init.d/checkfs-script bails out, since it uses (g)awk (which depends on /usr/lib/libexpat.so.0). since /usr at that point is not yet mounted, awk cannot be loaded and the script drops into fsck. i think in 08/2004 xmlsupport was added to gawk via expat (patch).

workaround: link gawk statically or copy libexpat.so.0 from the real /usr/lib to the mountpoint (umount USERDEV /usr; mount USERDEV /mnt/tmp; mkdir /usr/lib/ -p; cp /mnt/tmp/lib/libexpat.* /usr/lib; etc.etc.) so that during bootup awk uses the copy, later on uses the real thing



Reproducible: Always
Steps to Reproduce:
1.move /usr to different partition
2.adjust /etc/fstab 
3.reboot


Actual Results:  
dropped into fsck. was flabbergasted.

Expected Results:  
performed checkfs, mounted /usr and the rest and moved on
Comment 1 SpanKY gentoo-dev 2005-02-21 11:08:21 UTC

*** This bug has been marked as a duplicate of 81793 ***