From: Ryusuke Konishi Subject: Re: root nilfs Date: Mon, 16 Mar 2009 10:26:55 +0900 (JST) Message-ID: <20090316.102655.32242490.ryusuke@osrg.net> References: <367e7ff90903151133s318863ake00311a709ea2f83@mail.gmail.com> <49BD7F6A.4000100@prnet.org> Reply-To: NILFS Users mailing list Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49BD7F6A.4000100-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org Errors-To: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org To: Roman Shtylman , users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org Cc: admin-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org Dear Roman Shtylman, On Sun, 15 Mar 2009 23:21:30 +0100, David Arendt wrote: > Roman Shtylman wrote: > > I am getting two SSD and would like to run NILFS as the root partition > > on them. I understand grub does not have support to boot into nilfs, > > so I will make an ext# /boot for that. My question is: what is the > > easiest way to compile in support for nilfs2 into the kernel? As I > > understand it, modules arn't enough when making an nilfs root and the > > kernel must support the filesystem without having to load modules (as > > it can't read the / which has the modules without knowing how to read > > the FS) > > > > Can anyone point me in the right direction on this? > > > > Thanks. > > hi, > > i am using nilfs as a root parition. i simply compiled the modules > normally and created and initrd that will load them before loading the > nilfs filesystem. > > bye, > david arendt Yes, you can boot from a nilfs root partition by including nilfs module in initrd. Try mkinitrd or mkinitramfs depending on your distro. We also have in-tree kernel patches, but they're maintained in an experimental tree of Linux (so-called -mm tree). The patch set does not have support for past kernel versions. So, try the initrd first. Cheers, Ryusuke