'Twas brillig, and Thierry Vignaud at 23/07/12 10:57 did gyre and gimble: > On 23 July 2012 11:55, Angelo Naselli <[email protected]> wrote: >>>> after you have installed the latest dracut, regenerated the >>>> initrd, booted with "rw rd.convert", and the system is up again, >>>> just do a second urpmi --auto-update and it will install the rest >>>> of the rpms that now depend on the /usr move. >>> >>> What about chroots? >> >> If I understood correctly you have to install new rpm (for stable >> is in update/testing) i had to in mga2, to use iurt for cauldron >> as well. > > No, that's not the question. The issue is: how to convert the fs of > a chroot (aka no bootloader).
On the cluster we just invalidated them and the rebuilt themselves OK (after upgrading rpm as Angelo said). If, however, you have a chroot and you don't want to trash it + rebuild then just ensure the host system has an up-to-date dracut installed if the host is cauldron or copy the cauldron script if on an older mga and run: /usr/lib/dracut/modules.d/30convertfs/convertfs.sh /path/to/chroot We will likely use this same script in the installer for mga2 -> mga3 upgrades too. For convenience you can copy the convertfs.sh script from here: http://colin.guthr.ie/usrmove/convertfs.sh HTHs Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/
