Etc-Update == Etc-Crapdate!

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
Trogdor
Gentoox Guru!
Posts: 553
Joined: Tue Oct 07, 2003 9:57 pm
Location: MOUNT TAPE U1439 ON B3, NO RING

Etc-Update == Etc-Crapdate!

Post 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.
MOUNT TAPE U1439 ON B3, NO RING

Q: HOW DO I RUN MAGIC ??
A: You run magic by not typing in capital letters.
XBoxgeek
Pro
Posts: 77
Joined: Sat Sep 27, 2003 6:55 pm
Location: London
Contact:

Post 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]
aias
Novice
Posts: 26
Joined: Wed Sep 10, 2003 7:32 pm

Post 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 ;)
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

etc-update is great, if the user knows what theyre doing!
Trogdor
Gentoox Guru!
Posts: 553
Joined: Tue Oct 07, 2003 9:57 pm
Location: MOUNT TAPE U1439 ON B3, NO RING

Post 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.
MOUNT TAPE U1439 ON B3, NO RING

Q: HOW DO I RUN MAGIC ??
A: You run magic by not typing in capital letters.
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

You can stop it from updating by selecting the file, then select delete update.
Trogdor
Gentoox Guru!
Posts: 553
Joined: Tue Oct 07, 2003 9:57 pm
Location: MOUNT TAPE U1439 ON B3, NO RING

Post by Trogdor »

Could anyone email me the make.conf file? I would be very grateful. My email address: recursive_acronym@hotmail.com

Thanks.
MOUNT TAPE U1439 ON B3, NO RING

Q: HOW DO I RUN MAGIC ??
A: You run magic by not typing in capital letters.
Post Reply