[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 30-minutes with scripts [was Re: Fixing boot problems with grub]



William Ballard wrote:
On Sun, Nov 28, 2004 at 07:57:20AM -0600, Hugo Vanwoerkom wrote:

For now I just reinstalled the OS.  It takes me 30 minutes with scripts.
But I looked like a tool having to do that.

What does "30 minutes with scripts" mean?


I talked about this a year ago. Several people told me with chroot and partimage, I could restore a clean OS image in a couple minutes, which is basically what I do with XP, but I keep a partial mirror of the sid debs I use and point apt to that. My "30 minutes" is:

(1) Install Sarge, wipe the disk, use one giant partition for everything. (10 minutes?)
(2) Install nothing during Sarge.
(3) Mount my apt repository, point apt to it.
(4) aptitude install everything in that repository.  (20 minutes?)
(5) Reboot.
(6) Manually run a script which does everything else I need to do to the system.
(7) Log in as non-user, run a script which sets up the profile.

Probably takes closer to 40 minutes, but I do this process every couple months. I treat home as transient; I treat the whole system as transient.

I know you all probably find this process shlocky but it works for me,
because apt is so nice.  With XP I use partimage.



Interesting. I have a similar script. The ultimate reason is to get a "clean install", meaning, you get everything that you need and nothing more.

I do it with a script that only presumes an existing Sarge.

To finetune it I need the Sarge iso's because otherwise it takes too long to install everything and I am on a dialup line, with no DSL or cable in sight.

This is the reason I am about to purchase the 14 Sarge CD's: it is too hard chasing the jigdo-lite templates: too much. Now I have a broken package problem with only 6.

And indeed it takes about 40 minutes, may be less, I need to compile the kernel for the Ruby multi-seat Linux patch. Then there are some programs for which there are no Debian packages.

This project has an additional benefit: you find out what exactly you are dependent upon in terms of data resources, in case of disk failure, which happened a while ago.

H.


































Reply to: