All of lore.kernel.org
 help / color / mirror / Atom feed
* root nilfs
@ 2009-03-15 18:33 Roman Shtylman
       [not found] ` <367e7ff90903151133s318863ake00311a709ea2f83-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Roman Shtylman @ 2009-03-15 18:33 UTC (permalink / raw)
  To: users-JrjvKiOkagjYtjvyW6yDsg

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.

~Roman

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: root nilfs
       [not found] ` <367e7ff90903151133s318863ake00311a709ea2f83-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2009-03-15 22:21   ` David Arendt
       [not found]     ` <49BD7F6A.4000100-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: David Arendt @ 2009-03-15 22:21 UTC (permalink / raw)
  To: NILFS Users mailing list

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

ps sorry for everything in noncapital letters, but my keyboard driver
has some problems and i can't reboot the machine until a big video
render job is completed.

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.
>
> ~Roman
> _______________________________________________
> users mailing list
> users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
> https://www.nilfs.org/mailman/listinfo/users
>   

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: root nilfs
       [not found]     ` <49BD7F6A.4000100-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
@ 2009-03-16  1:26       ` Ryusuke Konishi
  0 siblings, 0 replies; 5+ messages in thread
From: Ryusuke Konishi @ 2009-03-16  1:26 UTC (permalink / raw)
  To: Roman Shtylman, users-JrjvKiOkagjYtjvyW6yDsg; +Cc: admin-/LHdS3kC8BfYtjvyW6yDsg

Dear Roman Shtylman,
On Sun, 15 Mar 2009 23:21:30 +0100, David Arendt <admin-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: root nilfs
       [not found] ` <mailman.1.1237172401.5975.users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org>
@ 2009-03-16  6:35   ` Oleg Volkov
       [not found]     ` <1237185357.7448.14.camel-qdj+qAmzD3G9kGg+kXA4eA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Oleg Volkov @ 2009-03-16  6:35 UTC (permalink / raw)
  To: users-JrjvKiOkagjYtjvyW6yDsg

[-- Attachment #1: Type: text/plain, Size: 99 bytes --]

I used nilfs root.
On Gentoo Linux.

Patch attached. And copy nilfs to kernel tree.
--
Oleg Volkov

[-- Attachment #2: patch_nilfs --]
[-- Type: text/x-patch, Size: 937 bytes --]

diff -u linux-2.6.25-gentoo-r4/fs/Kconfig linux-2.6.25-gentoo-r4-nilfs/fs/Kconfig
--- linux-2.6.25-gentoo-r4/fs/Kconfig	2008-06-12 10:25:51.000000000 +0400
+++ linux-2.6.25-gentoo-r4-nilfs/fs/Kconfig	2008-06-24 22:54:57.896321887 +0400
@@ -6,6 +6,11 @@
 
 if BLOCK
 
+config NILFS
+	tristate "NILFS"
+	help
+	  NILFS
+	  
 config EXT2_FS
 	tristate "Second extended fs support"
 	help
diff -u linux-2.6.25-gentoo-r4/fs/Makefile linux-2.6.25-gentoo-r4-nilfs/fs/Makefile
--- linux-2.6.25-gentoo-r4/fs/Makefile	2008-06-12 10:25:51.000000000 +0400
+++ linux-2.6.25-gentoo-r4-nilfs/fs/Makefile	2008-06-24 22:56:26.481197446 +0400
@@ -66,6 +66,7 @@
 obj-$(CONFIG_DLM)		+= dlm/
  
 # Do not add any filesystems before this line
+obj-$(CONFIG_NILFS)	+= nilfs/
 obj-$(CONFIG_REISERFS_FS)	+= reiserfs/
 obj-$(CONFIG_EXT3_FS)		+= ext3/ # Before ext2 so root fs can be ext3
 obj-$(CONFIG_EXT4DEV_FS)	+= ext4/ # Before ext2 so root fs can be ext4dev

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
users mailing list
users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
https://www.nilfs.org/mailman/listinfo/users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: root nilfs
       [not found]     ` <1237185357.7448.14.camel-qdj+qAmzD3G9kGg+kXA4eA@public.gmane.org>
@ 2009-03-16  7:39       ` Ryusuke Konishi
  0 siblings, 0 replies; 5+ messages in thread
From: Ryusuke Konishi @ 2009-03-16  7:39 UTC (permalink / raw)
  To: users-JrjvKiOkagjYtjvyW6yDsg, volkov-6IceoeoMUCicTuHFI/JV5w

Hi,
On Mon, 16 Mar 2009 09:35:56 +0300, Oleg Volkov wrote:
> I used nilfs root.
> On Gentoo Linux.
> 
> Patch attached. And copy nilfs to kernel tree.
> --
> Oleg Volkov

Oh, I've forgotten your work. Thanks.

Ryusuke

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-16  7:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-15 18:33 root nilfs Roman Shtylman
     [not found] ` <367e7ff90903151133s318863ake00311a709ea2f83-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-15 22:21   ` David Arendt
     [not found]     ` <49BD7F6A.4000100-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
2009-03-16  1:26       ` Ryusuke Konishi
     [not found] <mailman.1.1237172401.5975.users@nilfs.org>
     [not found] ` <mailman.1.1237172401.5975.users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org>
2009-03-16  6:35   ` Oleg Volkov
     [not found]     ` <1237185357.7448.14.camel-qdj+qAmzD3G9kGg+kXA4eA@public.gmane.org>
2009-03-16  7:39       ` Ryusuke Konishi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.