Re: how to convert a root partition (ext4) to nilfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx> 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@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux