Skip to contentSkip to conversation

root nilfs

DISCUSSION Roman Shtylman 3 participants 3 messages Mar 15, 2009 – Mar 16, 2009 2 messages not in the archive NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

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

A message that is not in the archive (sent off-list or not yet received): 367e7ff90903151133s318863ake00311a709ea2f83-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#2 lore raw

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.

Quoted 19 lines · Roman Shtylman

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
[email protected]
https://www.nilfs.org/mailman/listinfo/users

A message that is not in the archive (sent off-list or not yet received): 49BD7F6A.4000100-/[email protected]

#4 lore raw

Dear Roman Shtylman,

Quoted 14 lines · David Arendt
Quoted 9 lines · Roman Shtylman

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)

Quoted 3 lines

Can anyone point me in the right direction on this?

Thanks.

Quoted 8 lines

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