All of lore.kernel.org
 help / color / mirror / Atom feed
* how to convert a root partition (ext4) to nilfs
       [not found] ` <S1752760Ab0LWM0J/20101223122609Z+814-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
@ 2010-12-23 12:51   ` _
       [not found]     ` <20101223125138.254030-hi6Y0CQ0nG0@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: _ @ 2010-12-23 12:51 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

hello,

i hope my question isn't too foolish, but i really
couldn't find a consistent how-to on the net.
how can i 'convert' a existing root partition to
nilfs?

during my install of a current ubuntu derivative (10.10)
i had a mounted empty partition with nilfs but the installer
(respectively gparted) could not handle this partition. so
i was forced select another filesytem (ext4) for my root
partition.

now i wonder how i can 'convert' this root partition to nilfs,
respectively how can i accomplish a direct installation to
a nilfs formated partition on my next install.

i installed /boot on a separate partition (ext4) to have no/less
problems with grub.

thanks for your help in advance.
stefan

end
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 100,- Euro! https://freundschaftswerbung.gmx.de
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: how to convert a root partition (ext4) to nilfs
       [not found]     ` <20101223125138.254030-hi6Y0CQ0nG0@public.gmane.org>
@ 2010-12-23 14:53       ` Randall Mason
  2010-12-25 15:39         ` stefan
  0 siblings, 1 reply; 4+ messages in thread
From: Randall Mason @ 2010-12-23 14:53 UTC (permalink / raw)
  To: _; +Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

Are you sure you want to do this?  Is this just a test system?  Will
you keep backups for when file system corruption occurs?

Make sure your initramfs has the nilfs kernel module in it.

Boot to a live CD that has nilfs support.  Mount your ext4 partition
at /ext4 and your nilfs partition at /nilfs.

do either:
rsync -avH --progress /ext4 /nilfs
or
cd /ext4; tar cf -  . | (cd /nilfs; tar xpf - )

Then, edit your grub in your boot partition to have your nilfs
partition in the root= line and change the root mount point in your
/etc/fstab to point to the nilfs partition too.

This is a fairly difficult thing to try, so good luck!

Randall Mason


On Thu, Dec 23, 2010 at 7:51 AM, _ <aeneuman-hi6Y0CQ0nG0@public.gmane.org> wrote:
>
> hello,
>
> i hope my question isn't too foolish, but i really
> couldn't find a consistent how-to on the net.
> how can i 'convert' a existing root partition to
> nilfs?
>
> during my install of a current ubuntu derivative (10.10)
> i had a mounted empty partition with nilfs but the installer
> (respectively gparted) could not handle this partition. so
> i was forced select another filesytem (ext4) for my root
> partition.
>
> now i wonder how i can 'convert' this root partition to nilfs,
> respectively how can i accomplish a direct installation to
> a nilfs formated partition on my next install.
>
> i installed /boot on a separate partition (ext4) to have no/less
> problems with grub.
>
> thanks for your help in advance.
> stefan
>
> end
> --
> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> belohnen Sie mit bis zu 100,- Euro! https://freundschaftswerbung.gmx.de
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: how to convert a root partition (ext4) to nilfs
  2010-12-23 14:53       ` Randall Mason
@ 2010-12-25 15:39         ` stefan
       [not found]           ` <loom.20101225T163343-945-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: stefan @ 2010-12-25 15:39 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

thanks for your your quick assistance.
i will think about your 'warning'.

merry christmas
stefan

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: how to convert a root partition (ext4) to nilfs
       [not found]           ` <loom.20101225T163343-945-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
@ 2010-12-26  5:23             ` Jiro SEKIBA
  0 siblings, 0 replies; 4+ messages in thread
From: Jiro SEKIBA @ 2010-12-26  5:23 UTC (permalink / raw)
  To: stefan; +Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

Hi,

If you really do the migration, make sure that your grub2 supports nilfs2.
grub2 itself now support nilfs2 but only recent distro pick up newer grub2.

To check nilfs2 capability of grub2, see the directory under 
/usr/lib/grub/i386-pc or so.  And if you find nilf2.mod, it's nilfs2 capable.

regards
-- 
Jiro SEKIBA <jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2010-12-26  5:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <S1752760Ab0LWM0J/20101223122609Z+814@vger.kernel.org>
     [not found] ` <S1752760Ab0LWM0J/20101223122609Z+814-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
2010-12-23 12:51   ` how to convert a root partition (ext4) to nilfs _
     [not found]     ` <20101223125138.254030-hi6Y0CQ0nG0@public.gmane.org>
2010-12-23 14:53       ` Randall Mason
2010-12-25 15:39         ` stefan
     [not found]           ` <loom.20101225T163343-945-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2010-12-26  5:23             ` Jiro SEKIBA

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.