[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions

Thomas Backlund tmb at mageia.org
Sun Jul 22 03:38:44 CEST 2012


22.07.2012 03:12, Colin Guthrie skrev:
> OK, so the packages have now all been uploaded.
> 
> You should see several packages now that you cannot install on Cauldron.
> This is intended behaviour.
> 
> Here is how to update your cauldron systems:
> 
>  1. Run "urpmi --auto-update" install everything that can be installed.
>  2. 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).
>  3. Ensure that you do not have zapata or dpkg installed (rpm -e zapata;
> rpm -e dpkg)
>  4. Generate a new initrd and include the conversion script: dracut -f
> -a convertfs
>  5. 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.
>  6. Reboot.
>  7. At the bootloader prompt, edit the command line and append: "rw
> rd.convertfs" (without the quotes) to your command line and then boot.
> 
> That should be all that is needed :)


  8. run urpmi --auto-update again to pull in the rpms that depend on
     the completed /usr move...



> 
> If you are extra paranoid, or want to see what is going on, then you can
> remove the "splash" and "quiet" options from the kernel too.
> 
> If you want to see things in more depth, you can also add
> rd.break=pre-pivot to the kernel. You will be dumped into a shell with
> your / mounted as /sysroot. This shell is *before* conversion. If you
> type "exit" the conversion will be done, and you'll be dumped to another
> shell afterwards. Typing exit once more here will boot the system as normal.
> 
> 
> 
> All the best and good luck!!!
> 

Worked like a charm here on my x86_64 laptop.

--
Thomas




More information about the Mageia-dev mailing list