Page 1 of 1

Etc-Update == Etc-Crapdate!

Posted: Mon Oct 13, 2003 3:42 am
by Trogdor
First of all, I searched to no avail.

So I just did "emerge -u system" on a fresh install of Home 2.1, and it recommends me to update the configuration files. So I do a etc-update, it finishes, and I reboot. Now, every time I boot up, fsck returns an error with the conf files, says I should manually fix them, yada yada yada. I press Ctrl+d to continue booting without changing anything, and everything runs fine. Except much, much slower than usual, and magic doesn't work. Could the problem be in make.conf?

Thanks.

Posted: Mon Oct 13, 2003 6:49 am
by XBoxgeek
In one of the tutorials on this site. It tells you some of the files you should not update with etc-update.
After updating all the software on your system (using emerge –up world), or after updating portage you should always run etc-update and update all the required .cfgs – you will be presented with a list of updates and given options as to what should be done with them. Things you should NOT update/ replace include:

1) /etc/conf.d/local.start
2) /etc/conf.d/local.stop
3) /etc/init.d/modules
4) /etc/modules.autoload
5) /etc/X11/XF86Config
6) /etc/make.conf
7) /usr/X11R6/lib/modules/drivers/nv_drv.o
8 ) /etc/conf.d/gpm
9) /etc/conf.d/net
10) Anything else YOU have personalised and feel should remain unchanged. Use your common sense here.
Before resetting make sure you run the following as root:

magic fix nvnet && magic && xbvset
I must admit I don't know what happens if you do overwrite these files, or if there is a way to restore if you have.

Hope that helps.
XBoxgeek[/b]

Posted: Mon Oct 13, 2003 2:42 pm
by aias
boss302 wrote: (...)

I did the same thing :cry:
How I fixed it.

I have gentoox home 2.1 on my f drive so if your on the e drive this won't work.
I loaded pro on my e drive
I mounted the old rootfs
"mkdir /mnt/oldroot && mount -o loop /mnt/fatx/f/rootfs /mnt/oldroot"
I did a chroot into the old system
chroot /mnt/oldroot /bin/bash
it worked for him. then you just have to copy your missing files.
should work ;)

Posted: Mon Oct 13, 2003 3:53 pm
by ShALLaX
etc-update is great, if the user knows what theyre doing!

Posted: Mon Oct 13, 2003 5:46 pm
by Trogdor
I said for etc-update to /not/ update the "don't update me" files, but it kept on prompting me until I said for it to overright make.conf, because it wouldn't let me do otherwise. I read the tutorial, but I had no choice (why, oh why, didn't it occur to me to press ctrl+c?).

Aias, I don't understand the quote. Did Boss302 start up Pro, then do that stuff, or start up Home, then do that stuff? Exactly what is he doing there? What files should I copy? Just make.conf?

Thank you for your prompt replies.

Posted: Mon Oct 13, 2003 6:02 pm
by ShALLaX
You can stop it from updating by selecting the file, then select delete update.

Posted: Mon Oct 13, 2003 7:22 pm
by Trogdor
Could anyone email me the make.conf file? I would be very grateful. My email address: recursive_acronym@hotmail.com

Thanks.