vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello to all! I just tried a mirrorselect because my favourite gentoo mirror is down but unfortunately I was so stupid to overwrite my whole /etc/make.conf. Is there a way to get the generic one back without booting from CD? Please do not mention things like "You should have made a backup before!". I did not do it so my make.conf is gone! Thanks for your help! Richard |
| |||
| Richard Verwayen <holle@ackw.de> writes: > Hello to all! > > I just tried a mirrorselect because my favourite gentoo mirror is down but > unfortunately I was so stupid to overwrite my whole /etc/make.conf. Is > there a way to get the generic one back without booting from CD? That file is installed by the 'portage' port. You can re-emerge portage if emerge will work without make.conf, otherwise I would try making a copy of /etc/make.globals and name it make.conf just to get portage re-emerged. Then of course run etc-update to get the generic make.conf back again. You will need to regenerate your 'USE' flags in make.conf also. I recommend the 'ufed' port for that purpose. |
| |||
| On Sun, 07 Sep 2003, walt wrote: >> I just tried a mirrorselect because my favourite gentoo mirror is down but >> unfortunately I was so stupid to overwrite my whole /etc/make.conf. Is >> there a way to get the generic one back without booting from CD? > > That file is installed by the 'portage' port. You can re-emerge > portage if emerge will work without make.conf, otherwise I would > try making a copy of /etc/make.globals and name it make.conf just > to get portage re-emerged. Then of course run etc-update to get > the generic make.conf back again. I had this idea too and reemerged portage, but first it complained about the missing make.conf so I created an empty one. But there was nothing to do for etc-update afterwards. |
| ||||
| On Mon, 08 Sep 2003 07:32:02 -0700, walt wrote: > Richard Verwayen <holle@ackw.de> writes: > >> On Sun, 07 Sep 2003, walt wrote: >> >> >> I just tried a mirrorselect because my favourite gentoo mirror is >> >> down but unfortunately I was so stupid to overwrite my whole >> >> /etc/make.conf. Is there a way to get the generic one back without >> >> booting from CD? > > There is a copy of make.conf in > /usr/portage/sys-apps/portage/files/portage-rescue-2.0.47-r10-x86.tbz2 > > Just untar the file in /tmp so you don't overwrite anything important. Thank you Walt. This worked for me! Richard |