by pahnin » Aug 30th, '12, 15:34
/usr means creating symlinks or
the below given process?
Run urpmi --auto-update --skip '/filesystem|ncurses/' to install everything that can be installed. Some packages will not be installable! Do not be alarmed. To get all the RPMs cached locally for after you convert the filesystem, you can run an additional urpmi --auto-select command (the packages will fail to install, but that is expected).
Ensure that latest dracut is installed. Run urpmi dracut to make sure (it may have been excluded in the --auto-update if it was in a transaction with other packages that could not be installed).
Ensure that you do not have zapata installed (rpm -e zapata). These packages have conflicts not handled in the conversion routine.
Generate a new initrd and include the conversion script: dracut -f -a convertfs. Make sure you are currently running the latest kernel when you run this. If you have installed a newer kernel but not yet rebooted, then you will be generating an initrd for the current kernel, not the one you will use on next boot! Either adjust the command accordingly to include the initrd and kernel name specifically or just reboot first.
If you run lilo, make sure to tell it about the new initrd by running lilo
If you have /usr on a separate partition
Ensure there is enough free space to hold /bin, /sbin, /lib and /lib64 content.
If your /usr is mounted readonly, change your /etc/fstab to mount it rw.
Reboot.
At the bootloader prompt, edit the command line and append: rw rd.convertfs (without the quotes) to your command line and then boot.
Your system should boot as normal with a slight delay while content is migrated.
Once booted, install the remaining updates.
Finally regenerate the initrd again: dracut -f (some problems were found when going back into the initrd at shutdown/reboot if this stage was not done)