Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rebuilding world and kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Lifeonfull
n00b
n00b


Joined: 22 Dec 2014
Posts: 4

PostPosted: Sat Jan 17, 2015 4:05 pm    Post subject: Rebuilding world and kernel Reply with quote

How do I rebuild world and kernel and delete all the files that weren't created during the rebuild of world and kernel?
Back to top
View user's profile Send private message
jonathan183
Guru
Guru


Joined: 13 Dec 2011
Posts: 309

PostPosted: Sat Jan 17, 2015 4:49 pm    Post subject: Re: Rebuilding world and kernel Reply with quote

Lifeonfull wrote:
How do I rebuild world and kernel and delete all the files that weren't created during the rebuild of world and kernel?


There are a few options - depends if you are wanting to clear /etc /home /usr /opt ... we probably need a bit more information from you before suggesting the best approach. What are you trying to achieve and why?
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Sat Jan 17, 2015 5:33 pm    Post subject: Reply with quote

You might want to have a look at find_cruft from the mv overlay to find files not created by some build process.
Concering rebuild of packages, the answer is emerge -Dea @world, and concerning kernel you must recompile manually.
Back to top
View user's profile Send private message
Apheus
Guru
Guru


Joined: 12 Jul 2008
Posts: 420

PostPosted: Sat Jan 17, 2015 5:37 pm    Post subject: Reply with quote

Maybe prepare another partition, mount it somewhere and abuse Gentoo Prefix: From https://en.wikipedia.org/wiki/Gentoo/Alt#Gentoo_Prefix

Quote:
The core principle of Gentoo Prefix is that installation of packages by Portage are done in an offset, thereby leaving the host OS unmodified.


That would redirect the output to your empty partition. Then care about the kernel, and replace the former host OS with this partition, or reconfigure your bootloader.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum