This might be helpful to XFS users:
With Linux 2.6.4 and later versions I couldn't boot from my XFS root
partition. I eventually found out that the new HFS driver which I had
enabled was the culprit. The kernel first tried to mount the root fs as
HFS and due to a wrong return value it bailed out.
If you have HFS enabled and want to boot from a XFS root partition you
should pass "rootfstype=xfs" as boot parameter or apply the attached
patch (against fs/hfs/super.c in 2.6.5).
This also might explain the problem John Palkovic posted here:
http://oss.sgi.com/archives/linux-xfs/2004-03/msg00185.html
I have forwarded the fix to the HFS maintainer and hope to see it in a
release kernel soon.
Nick
--
aevum gmbh
leopoldstr. 87
80802 münchen
germany
fon: +4989 38380653
fax: +4989 38799384
wellnhofer@xxxxxxxx
http://aevum.de/
-- Attached file included as plaintext by Ecartis --
-- File: hfs.patch
--- super.c.old 2004-04-10 22:01:39.000000000 +0200
+++ super.c 2004-04-10 22:00:57.000000000 +0200
@@ -276,6 +276,7 @@
if (!silent)
hfs_warn("VFS: Can't find a HFS filesystem on dev
%s.\n",
hfs_mdb_name(sb));
+ res = -EINVAL;
goto bail2;
}
|