Meino, I think as your question was posed, yes, copying the world file is enough to get the applications into the chroot built and working. Your command looks reasonable but I'll let someone who runs Gentoo these days make suggestions for improvement on that. (I no longer run Gentoo much. Just in a VM and I don't update it any more) As Ashley points out what you're going to wake up to in the morning (or whenever it finishes) is a chroot with all the apps and no special configuration. For instance, if you allow ssh logins to this machine then to get that in the chroot that requires changes to the config file for ssh which you'll still have to do. There are likely to be 20, 50, 100 little issues like that that you'll be dealing with for days. If your goal is to have a chroot which is functionally identical to your main system (with at least a new IP address and probably little or no X access) then you can go this direction. However if you're wanting to get to a newer/bigger/faster hard drive, or from a hard drive to an SSD or something, isn't the more tested (non-Gentoo) way to do this just to clone the drive using clonezilla or something like that? You boot a CD, tell it to clone the HDD to the SDD and wait for it to finish? Mark On Sat, Apr 4, 2020 at 11:24 AM wrote: > Hi Mark, > > thank you for answering my question! :) > > (only to check whether I have understood correctlu) > Stuff I build outside of emerge/portage should not be in the > world-file...correct? > > I will transfer the kernel related stuff from my current system to > the new root (currenly chrooted). > > Ah! By the way: Recompiling all the stuff works while being chrooted, > right? > The command to use is: > emerge --update --newuse --deep --quiet @world > > after syncing. > > > Correct? > > Cheers! > Meino > > > On 04/04 11:05, Mark Knecht wrote: > > Your world file should do that for the Gentoo stuff, with limitations. It > > assumes you have nothing on the system that was created outside of normal > > portage/emerge. It would probably duplicate the latest kernel tree but > > wouldn't build it, and wouldn't copy old kernels that aren't in portage > if > > you still have them on the system. It isn't going to get virtual > > environment, be they python or things like virtualbox if you use those. > > > > I suspect you'll get a 'working' machine (I've done it) but you will > still > > have a lot of stuff to transfer by hand or from backups which you really > > should do anyway. > > > > HTH, > > Mark > > > > On Sat, Apr 4, 2020 at 10:35 AM wrote: > > > > > Hi, > > > > > > I am currently preparing a new harddisc as home for my new Gentoo > > > system. > > > > > > Is it possible to recreate exactlu the same pool of > > > applications/programs/libraries etc..., which my current > > > system have - in one go? > > > > > > That is: Copy from the current system into > > > the chroot environment, fire up emerge, go to bed and > > > tommorow morning the new system ready...? > > > > > > Does this exists and is it reasonable to do > > > it this way? > > > > > > Thanks for any hint in advance! > > > Stay healthy! > > > Cheers, > > > Meino > > > > > > > > > > > > > > > >