xfs
[Top] [All Lists]

Re: boot thinks / is still ext2

To: Jonathan Dill <dill@xxxxxxxxxxxx>
Subject: Re: boot thinks / is still ext2
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Wed, 24 Apr 2002 23:29:27 -0500 (CDT)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3CC77E02.44593DF5@umbi.umd.edu>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Wed, 24 Apr 2002, Jonathan Dill wrote:

> I figured out a way to "convert" the root fs from ext2 to xfs by booting
> off the CD.  However, when I try to boot off the MBR, the boot process
> fails apparently because it's still trying to treat "/" as an ext2

The problem may be an older mkfs.xfs - the latest version (actually
for some time now, but not sure about the version on the installer CD)
obliterates all traces of ext2 from the device; older ones could leave
bits of ext2 superblocks lying around.  If the kernel finds an ext2
bit before it finds an xfs bit (and it likely looks for ext2 first)
it will probably assume that your root is ext2.

I think you can specify the root fs type with the lilo
argument "rootfstype=xfs" and that will make it look for xfs first.
I've never actually tried it... but give it a shot! :)

Nate's suggestion about remaking the initrd is probably a good one
as well.

-Eric

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.


<Prev in Thread] Current Thread [Next in Thread>