[newbie] Don't mess with /etc
Hello all, I thought to be smart, but bit myself in the nose. I intend to go for Mdk 9.1 when it comes available. I remembered that the best thing to do is format / and /usr at least, to make the setup as clean as possible. Of course, one would leave /home alone. I have separate partitions for / /var /usr /home But I think that in /etc there are a lot of settings and such (like /etc/postfix), so I stuck that in a separate partition. Which is where things went sour after a reboot. The new /etc (/dev/hdf2) could not be unmounted, and after reboot it could not be found when the system went looking for /etc/inittab. Luckily CD1 and rescue mode were nice enough to help me get things up and running again. Is there no easy way to preserve all kinds of settings and configs from /etc other than selecting and backing up files by hand? (Damn, I am getting more lazy with Linux than winblows ever had me!) Thanks, Paul -- If thou thinkest twice, before thou speakest once, thou wilt speak twice the better for it. -William Penn http://nlpagan.net - Linux by Mandrake - Sylpheed by Hiro Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Don't mess with /etc
On Saturday 08 March 2003 04:39 am, Paul wrote: Hello all, I thought to be smart, but bit myself in the nose. I intend to go for Mdk 9.1 when it comes available. I remembered that the best thing to do is format / and /usr at least, to make the setup as clean as possible. Of course, one would leave /home alone. I have separate partitions for / /var /usr /home But I think that in /etc there are a lot of settings and such (like /etc/postfix), so I stuck that in a separate partition. Which is where things went sour after a reboot. The new /etc (/dev/hdf2) could not be unmounted, and after reboot it could not be found when the system went looking for /etc/inittab. Luckily CD1 and rescue mode were nice enough to help me get things up and running again. Is there no easy way to preserve all kinds of settings and configs from /etc other than selecting and backing up files by hand? (Damn, I am getting more lazy with Linux than winblows ever had me!) Thanks, Paul -- If thou thinkest twice, before thou speakest once, thou wilt speak twice the better for it. -William Penn http://nlpagan.net - Linux by Mandrake - Sylpheed by Hiro Well, of course many files in /etc are needed when / is mounted read-only before any other partitions are mounted... If you want to preserve /etc and perhaps other files, make a home directory as a repository for CVS and do a checkout daily or so then the files should be available to put into a new install. Civileme Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Don't mess with /etc
In reply to civileme's mail, d.d. Sat, 8 Mar 2003 06:54:43 -0900: Is there no easy way to preserve all kinds of settings and configs from /etc other than selecting and backing up files by hand? Well, of course many files in /etc are needed when / is mounted read-only before any other partitions are mounted... That dawned on me at the moment the reboot failed. *sheepish grin* Better late than never. and perhaps other files, make a home directory as a repository for CVS and do a checkout daily or so then the files should be available to put into a new install. Great advice, as usual, from you. Thank you! Paul -- If thou thinkest twice, before thou speakest once, thou wilt speak twice the better for it. -William Penn http://nlpagan.net - Linux by Mandrake - Sylpheed by Hiro Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com