Re: How to reinstall without changing anything?

From: Hugo Vanwoerkom (hvw59601_at_care2.com)
Date: 06/22/05

  • Next message: Tong: "Is this tidy converting correct?"
    To: debian-user@lists.debian.org
    Date: Wed, 22 Jun 2005 14:00:07 -0500
    
    
    

    Mike Oliver wrote:
    > Hugo Vanwoerkom wrote:
    >
    >> I wanted what you want: the very same system but newly installed and
    >> everything the same to the last letter.
    >>
    >> So I wrote a script in which I apt-get -qq install <package> after
    >> setting dpkg-reconfigure debconf to no interaction.
    >
    >
    > OK, I'm already a little confused. What did the script run under,
    > during a fresh install? Did you install a bare-bones system
    > using the tedious-interactive-questionnaire method, and then run
    > the script to get everything you needed? Or is there some way
    > to short-circuit the interactive stuff?

    I install the system with the Sarge installer. Boot the installed
    system. Mount the partition where I keep the files I need. Run the
    script. Debconf is set to noninteractive. All apt-get's have -qq as
    option: nobody asks nothing.

    >
    >> Before running the script I save all relevant files. E.g. all needed
    >> config files, scripts, tex, etc. Everything that I need to keep.
    >> Included in that are things like XF86Config-4 so X will run
    >> immediately, etc/hotplug settings, ppp settings.
    >
    >
    > I'd much appreciate some thoughts as to how to identify all the
    > relevant files. I tried "locate conf | grep conf$" but there
    > were just too many files ending in conf, and I don't suppose
    > all files needed end in conf anyway (/boot/grub/menus.lst and /etc/fstab
    > come to mind). And what about kernel modules? I never have
    > found the file where all that info is kept.
    >

    This is the hard part. Don't worry about the conf's, the packages set
    that up, but e.g. if you have programs you have written: they need to be
    copied. (La)Tex files, also, special stuff on your desktop, e.g. I have
    a Qt program that shows CPUFan speed, CPUtemp and Systemp running in a
    fvwm wharf: that needs to be copied, also the fvwm .rc file, etc. etc.
    You have to know what you usually play with.

    >> If neded I can send my script: obviously it can be used only on this
    >> system.
    >
    >
    > I'd be grateful for that, not as something I'd try to run, but to
    > see what you're doing.
    >

    I am attaching the script (I think I can) and sending it to
    mike_lists@verizon.net also.

    E.g. I am running now on a partition that I installed Sarge on at 7:44
    this morning and ran my script: took 32 mins. including a kernel
    compile. Now I have a "clean" system: has 143 packages I need and asked
    for, plus program source that I use and LaTex files that I want.

    Previous to that after Sarge went stable I did a dist-upgrade and saved
    all the .debs on a different partition. Since they don't change now I
    have a fresh Sarge installation tailored to my needs. But it takes a lot
    of work, keeping track of what you need and want.

    > Thanks for your help,
    > Mike
    >
    >

    
    

    #!/bin/bash

    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ THIS IS UNIVERSAL ³
    #³ 12/26/04 - Status: ³
    #³ 12/27/04 - Status: run with errors 2x ³
    #³ 12/29/04 - Status: run correctly... ³
    #³ 12/31/04 - Status: missing qt in ld.so.conf, psfig.sty ³
    #³ 01/12/05 - Status: corrected for /hda14/backup.files ³
    #³ 01/24/05 - Status: created script part with do_a.cpp - CHECKS OUT! ³
    #³ 01/26/05 - Status: revised do_a.cpp ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ 01/25/2005 run #1: (+ = corrected in this copy) 2.4. ³
    #³ + also copy sources.list to $FROMHD ³
    #³ + /etc/init.d/klogd is the wrong copy: no -c 1 ³
    #³ + he checks for local copies of vcstime + Count.cgi which don't exist ³
    #³ + don't compile the kernel ³
    #³ + don't get jigdo-file ³
    #³ + copy of vcstime is wrong: no -l ³
    #³ + no /etc/modules are loaded ³
    #³ - check do_install_6111 for 2.6 ³
    #³ + wrong copy of .fvwm2c ³
    #³ + no /usr/bin/c ³
    #³ - menubar had wrong 1.8a6 ³
    #³ + copy the xmms skins ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ 01/25/2005 run #2: (+ = corrected in this copy) 2.4 ³
    #³ + DO build the kernel: lm-sensors needs it + DON'T make/install that ³
    #³ + Add copy of /etc/default smartmontools ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ 01/26/2005 run #1: (+ = corrected in this copy) 2.4 ³
    #³ + Ran with outdated do_apt-get ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ 01/27/2005 run #1: (+ = corrected in this copy) 2.6 ³
    #³ + 2.x should have their own lilo! ³
    #³ + Fixed do_install_6111 for 2.6 ³
    #³ + Added libmikmod2 for xmms ³
    #³ + Added libncurses5-dev for make menuconfig ³
    #³ + Added loop (M) and mtrr to 2.6.9 config ³
    #³ + copy /root/mc+mcmfmt. ³
    #³ + Added copy of do_get_cursor for 2.6 prob ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ 01/27/2005 run #2: (+ = corrected in this copy) 2.6 ³
    #³ + dpkg -i of wrong kernel: gets Kernel Panic. ³
    #³ + Forget about partimagehack: is incompatible with what I got! ³
    #³ + Make mkrescue 2.4.x/2.6.x dependent ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ 01/28/2005 run #1: (+ = corrected in this copy) 2.6 ³
    #³ + wrong linking of /root/mc ³
    #³ 01/28/2005 run #2: (+ = corrected in this copy) 2.4.29 ³
    #³ + Change qt to Debian packages. ³
    #³ + No need to install mc source: tested it on /HDA9 01/31/2005 ³
    #³ + Install modified gpm.deb tested it on /HDA9 01/31/2005 ³
    #³ + Use moz1.8a4: no chevron problem. ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ 02/01/2005 run #1: (+ = corrected in this copy) HDA9 2.4.29 ³
    #³ Although 2.4.29 install you have to do mkrescue/lilo.conf 2.6 also!³
    #³ + Error: it's qt3-doc, not libqt3-doc ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ 02/02/2005 run #1: (+ = corrected in this copy) HDA9 2.4.29 ³
    #³ NETINSTALL!!! ³
    #³ + Just 2 debs needed for do_install_mplayer. ³
    #³ + Added a bunch for buildpackage reqs. ³
    #³ + Added bookmarks.backup.html for rocio's personal toolbar ³
    #³ + Changed rm -d /etc/mc into rm -rf ³
    #³ + Changed /etc/ppp/options for nvjccomp. ³
    #³ + Changed to use /usr/sbin/vcstimed and /etc/vcstime.conf ³
    #³ + Added Rocio's .doc ³
    #³ + Copied mozicon16.xpm to /usr/share/pixmaps. ³
    #³ + Chmod /home/<user>/.fvwm to 777 to avoid fvwm error. ³
    #³ + Added do_set_system_is in init.d + run in S 42 ³
    #³ + Added fix for hyperlatex: watch the version! ³
    #³ + install lame and the Mplayer lib ³
    #³ + adjusted for evdev on 2.6 ³
    #³ + adjusted for 2.6.10 ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ 03/29/2005 run #1: (+ = corrected in this copy) HDA8 2.6.10 ³
    #³ 14 CD INSTALL!!! ³
    #³ - DO NOT boot the 2.6.8 partimage restore: fix fstab first! ³
    #³ - GPM asks a question. ³
    #³ - SVGATextMode is now used on 2.4 + 2.6!!! Not yet true!! ³
    #³ + Add Event4 ³
    #³ + Copy do_set_timeslice + do_timeslice_noargs ³
    #³ + /etc/mc removed + not mkdir'd ³
    #³ + Add suff for side button and extra button ³
    #³ + added getting a2ps and libpaper-utils: have printer. ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ 06/22/2005 run #2: (+ = corrected in this copy) HDB3 2.6.10 ³
    #³ NetInstall from Sarge archive. ³
    #³ - DO NOT boot the 2.6.8 partimage restore: fix fstab first! HDA9! ³
    #³ - #1 attempt pointed to HDA9! ³
    #³ + Add Event4 -- but wrong!!!! Hung sys!!!! ³
    #³ - Do pppconfig in ttysy0 first for update... ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ THINGS TO DO BEFORE THIS RUN!!!!!!!!! ³
    #³ - MAKE SURE ROOT IS POINTING TO THE RIGHT DEVICE!!!!! ³
    #³ - Get a 2.4 kernel + expert ³
    #³ - Copy /etc/apt/sources.list from $FROMHD manually ³
    #³ - mkdirs the /mnt/Debian3.1/CDx ³
    #³ - mkdirs $FROMHD amd /hda14 ³
    #³ - Copy do_apt-get do_mount do_loop from $FROMHD ³
    #³ - Run do_loop + do_mount ³
    #³ - adduser rocio ³
    #³ - DO NOT FORGET dpkg-reconfigure debconf!!!!! ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ THINGS TO DO AFTER THIS RUN!!!!!!!!!! ³
    #³ - pppconfig to set up the oassword!!!!! ³
    #³ - dpkg-recongigure nas, gdm, ddclient, cupsys-bsd, console-data ³
    #³ - run alsaconf to set up alsa ³
    #³ - setup cdrom+audio for users with kuser (scanner) ³
    #³ - instead: adduser user group does just as well ³
    #³ - run do_install_mplayer to install mplayer: Just does lame! ³
    #³ - do make install in user/doc/Mplayer ³
    #³ - set cups to HP DeskJet Plus Foomatic/deskjet ³
    #³ - run NVIDIA-Linux-x86-1.0-7167-pkg1.run ³
    #³ - run make-install of lm-sensors: not on 2.6!!! ³
    #³ - Compile the links in /home/hugo!!! ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ EFFECTS: ³
    #³ - aaexample: vcstime in X ³
    #³ - aasensors: wharf shows up ³
    #³ - timestmp: eye has count ³
    #³ - timestmpnx: step on connect ISP!!! ³
    #³ - modtemp: something shows up in modtempdisp ³
    #³ - modconf: EsqIx does not step ISP!!! ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ TAKES: ³
    #³ - 25 minutes to run... ³
    #³ ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ
    #ΥΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΈ
    #³ ERRORS: ³
    #ΤΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΎ

    # we presume... that the installer has been run and Debian installed
    # 1. and sources.list set to 9 Sarge CD's: reason: it needs the packages
    # 2. and hugo, rocio and root exist: reason it needs to modify them
    # 3. set "dpkg-reconfigure debconf" to "noninteractive"

    #or:
    # 1. That update has been done and the debs copied to the arcives + 2 and 3 above

    set -x
    FROMHD=hda14/backup.files/fromhd
    NOCHECK=cp
    ROOTDIR=`df / | xargs echo | awk '{ print $8 }' | cut -d / -f 3`
    #ROOTDIR=hdb2
    #
    # at least /hda6 + hda14 must already be mounted because sources.list must be copied
    # and update done.
    mkdir /hda1
    mkdir /hda10
    mkdir /hda11
    mkdir /hda14
    mkdir /hda5
    mkdir /hda6
    mkdir /hda7
    mkdir /hda8
    mkdir /hda9
    mkdir /hdb1
    mkdir /hdb2
    mkdir /hdb3
    mkdir /hdb5
    mkdir /hdb6
    mkdir /hdb7
    mkdir /mnt/win_F

    mount -t ext2 /dev/hda14 /hda14

    # first see if all files are present:
    # This is generated from this script with do_a.cpp
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    # Script generated on Mon Jun 20 2005 at 16:07:09:708 on HDB1
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    #
    if [ ! -d /$FROMHD/usr/local/share/mc ]; then
       echo "Directory /$FROMHD/usr/local/share/mc does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/gpm/gpm_1.19.6-19_i386.deb ]; then
       echo "File /hda14/backup.files/gpm/gpm_1.19.6-19_i386.deb does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/gpm.conf ]; then
       echo "File /$FROMHD/etc/gpm.conf does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/home/hugo/.mc ]; then
       echo "Directory /$FROMHD/home/hugo/.mc does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/home/rocio/.mc ]; then
       echo "Directory /$FROMHD/home/rocio/.mc does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/home/hugo/.mozilla ]; then
       echo "Directory /$FROMHD/home/hugo/.mozilla does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/home/rocio/.mozilla ]; then
       echo "Directory /$FROMHD/home/rocio/.mozilla does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/root/.mc ]; then
       echo "Directory /$FROMHD/root/.mc does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/root/mc ]; then
       echo "File /$FROMHD/root/mc does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/root/mcmfmt ]; then
       echo "File /$FROMHD/root/mcmfmt does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/profile ]; then
       echo "File /$FROMHD/etc/profile does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/mc/mc.ext ]; then
       echo "File /$FROMHD/etc/mc/mc.ext does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/mc/mc.menu ]; then
       echo "File /$FROMHD/etc/mc/mc.menu does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/linux-2.6.9.tar.bz2 ]; then
       echo "File /hda14/backup.files/linux-2.6.9.tar.bz2 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/patch-2.6.10 ]; then
       echo "File /hda14/patch-2.6.10 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/patch-2.6.10-ruby.vz2.diff ]; then
       echo "File /hda14/backup.files/patch-2.6.10-ruby.vz2.diff does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/patch-2.6.10-ruby.vz2.diff.hvw ]; then
       echo "File /hda14/backup.files/patch-2.6.10-ruby.vz2.diff.hvw does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/sensors/2.6.10-w83687thf.diff ]; then
       echo "File /hda14/backup.files/sensors/2.6.10-w83687thf.diff does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/.config.ruby.2.6.10 ]; then
       echo "File /hda14/backup.files/.config.ruby.2.6.10 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/linux-2.4.21.tar.bz2 ]; then
       echo "File /hda14/backup.files/linux-2.4.21.tar.bz2 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/patch-2.4.22 ]; then
       echo "File /hda14/backup.files/patch-2.4.22 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/patch-2.4.23 ]; then
       echo "File /hda14/backup.files/patch-2.4.23 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/patch-2.4.24 ]; then
       echo "File /hda14/backup.files/patch-2.4.24 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/patch-2.4.25 ]; then
       echo "File /hda14/backup.files/patch-2.4.25 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/patch-2.4.26 ]; then
       echo "File /hda14/backup.files/patch-2.4.26 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/patch-2.4.27 ]; then
       echo "File /hda14/backup.files/patch-2.4.27 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/patch-2.4.28 ]; then
       echo "File /hda14/backup.files/patch-2.4.28 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/patch-2.4.29 ]; then
       echo "File /hda14/backup.files/patch-2.4.29 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/bruby-2.4.29-20050120 ]; then
       echo "File /hda14/backup.files/bruby-2.4.29-20050120 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/i2c-2.4.29.patch ]; then
       echo "File /hda14/backup.files/i2c-2.4.29.patch does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/.config.bruby.2.4.29 ]; then
       echo "File /hda14/backup.files/.config.bruby.2.4.29 does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/lm_sensors-2.8.8.tar.gz ]; then
       echo "File /hda14/backup.files/lm_sensors-2.8.8.tar.gz does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/home/hugo/.fvwm ]; then
       echo "Directory /$FROMHD/home/hugo/.fvwm does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/home/rocio/.fvwm ]; then
       echo "Directory /$FROMHD/home/rocio/.fvwm does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/root/.fvwm ]; then
       echo "Directory /$FROMHD/root/.fvwm does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/X11/fvwm/main-menu-pre.hook ]; then
       echo "File /$FROMHD/etc/X11/fvwm/main-menu-pre.hook does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/X11/fvwm/main-menu.hook ]; then
       echo "File /$FROMHD/etc/X11/fvwm/main-menu.hook does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/hotplug/input.agent ]; then
       echo "File /$FROMHD/etc/hotplug/input.agent does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/hotplug/event.conf ]; then
       echo "File /$FROMHD/etc/hotplug/event.conf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/hotplug/mouse.conf ]; then
       echo "File /$FROMHD/etc/hotplug/mouse.conf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/hotplug/kbd.conf ]; then
       echo "File /$FROMHD/etc/hotplug/kbd.conf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/gdm/gdm.conf.0 ]; then
       echo "File /$FROMHD/etc/gdm/gdm.conf.0 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/gdm/gdm.conf.1 ]; then
       echo "File /$FROMHD/etc/gdm/gdm.conf.1 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/X11/XF86Config-4.evdev ]; then
       echo "File /$FROMHD/etc/X11/XF86Config-4.evdev does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/X11/XF86Config-4 ]; then
       echo "File /$FROMHD/etc/X11/XF86Config-4 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/gdm/Init/:0 ]; then
       echo "File /$FROMHD/etc/gdm/Init/:0 does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/etc/gdm/Sessions ]; then
       echo "Directory /$FROMHD/etc/gdm/Sessions does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/init.d/klogd ]; then
       echo "File /$FROMHD/etc/init.d/klogd does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/init.d/gdm ]; then
       echo "File /$FROMHD/etc/init.d/gdm does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/usr/share/sounds/ ]; then
       echo "Directory /$FROMHD/usr/share/sounds/ does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/home/hugo ]; then
       echo "Directory /$FROMHD/home/hugo does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/home/hugo/psfig.sty ]; then
       echo "File /$FROMHD/home/hugo/psfig.sty does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/home/rocio ]; then
       echo "Directory /$FROMHD/home/rocio does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/home/rocio/bookmarks.backup.html ]; then
       echo "File /$FROMHD/home/rocio/bookmarks.backup.html does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/home/rocio/Primer_Curso_Taller_HERBOLARIA_PARA_MUJERES_2002.doc ]; then
       echo "File /$FROMHD/home/rocio/Primer_Curso_Taller_HERBOLARIA_PARA_MUJERES_2002.doc does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/console-tools/config ]; then
       echo "File /$FROMHD/etc/console-tools/config does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/sudoers ]; then
       echo "File /$FROMHD/etc/sudoers does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/apache/httpd.conf ]; then
       echo "File /$FROMHD/etc/apache/httpd.conf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/local/apache ]; then
       echo "File /$FROMHD/usr/local/apache does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/chrony/chrony.conf ]; then
       echo "File /$FROMHD/etc/chrony/chrony.conf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/chrony/chrony.keys ]; then
       echo "File /$FROMHD/etc/chrony/chrony.keys does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/home/hugo/GPC-Qt-hda5/beep1.wav ]; then
       echo "File /$FROMHD/home/hugo/GPC-Qt-hda5/beep1.wav does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/home/hugo/GPC-Qt-hda5/beep1.wav ]; then
       echo "File /$FROMHD/home/hugo/GPC-Qt-hda5/beep1.wav does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/share/doc/mozilla-browser/localstart.html ]; then
       echo "File /$FROMHD/usr/share/doc/mozilla-browser/localstart.html does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/usr/share/fonts/truetype ]; then
       echo "Directory /$FROMHD/usr/share/fonts/truetype does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/system.wmmount.$ROOTDIR ]; then
       echo "File /$FROMHD/etc/system.wmmount.$ROOTDIR does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/default/bootlogd ]; then
       echo "File /$FROMHD/etc/default/bootlogd does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/wwwcount2.6.tar.gz ]; then
       echo "File /hda14/backup.files/wwwcount2.6.tar.gz does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/wwwcount.2.6.config.script ]; then
       echo "File /hda14/backup.files/wwwcount.2.6.config.script does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/wwwcount.2.6.install.script ]; then
       echo "File /hda14/backup.files/wwwcount.2.6.install.script does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/wwwcount.2.6.db.script ]; then
       echo "File /hda14/backup.files/wwwcount.2.6.db.script does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/local/etc/Counter/data/sample.dat ]; then
       echo "File /$FROMHD/usr/local/etc/Counter/data/sample.dat does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/local/etc/Counter/conf/count.cfg ]; then
       echo "File /$FROMHD/usr/local/etc/Counter/conf/count.cfg does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/modconf ]; then
       echo "File /$FROMHD/usr/bin/modconf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/ppp/getmodemspeed ]; then
       echo "File /$FROMHD/etc/ppp/getmodemspeed does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/ppp/wmppp-ifdown ]; then
       echo "File /$FROMHD/etc/ppp/wmppp-ifdown does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/ppp/wmppp-start ]; then
       echo "File /$FROMHD/etc/ppp/wmppp-start does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/ppp/wmppp-stop ]; then
       echo "File /$FROMHD/etc/ppp/wmppp-stop does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/ppp/peers/provider ]; then
       echo "File /$FROMHD/etc/ppp/peers/provider does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/chatscripts/provider ]; then
       echo "File /$FROMHD/etc/chatscripts/provider does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/home/hugo/.wmppprc ]; then
       echo "File /$FROMHD/home/hugo/.wmppprc does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/home/rocio/.wmppprc ]; then
       echo "File /$FROMHD/home/rocio/.wmppprc does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/fstab.$ROOTDIR ]; then
       echo "File /$FROMHD/etc/fstab.$ROOTDIR does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/home/rocio/.wmppprc ]; then
       echo "File /$FROMHD/home/rocio/.wmppprc does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/lib/libsensors.a ]; then
       echo "File /$FROMHD/usr/lib/libsensors.a does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/lib/libsensors.so.3.0.8 ]; then
       echo "File /$FROMHD/usr/lib/libsensors.so.3.0.8 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/lib/libsensors.so.3.0.8 ]; then
       echo "File /$FROMHD/usr/lib/libsensors.so.3.0.8 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/sensors ]; then
       echo "File /$FROMHD/usr/bin/sensors does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/sbin/sensors-detect ]; then
       echo "File /$FROMHD/usr/sbin/sensors-detect does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/sensors.conf ]; then
       echo "File /$FROMHD/etc/sensors.conf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/aasensors.conf ]; then
       echo "File /$FROMHD/etc/aasensors.conf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/share/emacs/site-lisp/hyperlatex/hyperlatex.el ]; then
       echo "File /$FROMHD/usr/share/emacs/site-lisp/hyperlatex/hyperlatex.el does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/therc ]; then
       echo "File /$FROMHD/etc/therc does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/lilo.conf.2.4.$ROOTDIR ]; then
       echo "File /$FROMHD/etc/lilo.conf.2.4.$ROOTDIR does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/lilo.conf.2.6.$ROOTDIR ]; then
       echo "File /$FROMHD/etc/lilo.conf.2.6.$ROOTDIR does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_lilo.$ROOTDIR ]; then
       echo "File /$FROMHD/usr/bin/do_lilo.$ROOTDIR does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_backup_sql ]; then
       echo "File /$FROMHD/usr/bin/do_backup_sql does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/evtest ]; then
       echo "File /$FROMHD/usr/bin/evtest does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_get_sys ]; then
       echo "File /$FROMHD/usr/bin/do_get_sys does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_set_timeslice ]; then
       echo "File /$FROMHD/usr/bin/do_set_timeslice does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_timeslice_noargs ]; then
       echo "File /$FROMHD/usr/bin/do_timeslice_noargs does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_get_cursor ]; then
       echo "File /$FROMHD/usr/bin/do_get_cursor does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_km ]; then
       echo "File /$FROMHD/usr/bin/do_km does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_sm ]; then
       echo "File /$FROMHD/usr/bin/do_sm does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_c ]; then
       echo "File /$FROMHD/usr/bin/do_c does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_loop ]; then
       echo "File /$FROMHD/usr/bin/do_loop does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_install_mplayer ]; then
       echo "File /$FROMHD/usr/bin/do_install_mplayer does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_install_6111 ]; then
       echo "File /$FROMHD/usr/bin/do_install_6111 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_mount ]; then
       echo "File /$FROMHD/usr/bin/do_mount does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_mail_miriam ]; then
       echo "File /$FROMHD/usr/bin/do_mail_miriam does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_mondo ]; then
       echo "File /$FROMHD/usr/bin/do_mondo does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_sensors ]; then
       echo "File /$FROMHD/usr/bin/do_sensors does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_suspend ]; then
       echo "File /$FROMHD/usr/bin/do_suspend does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_mondo_filebackup ]; then
       echo "File /$FROMHD/usr/bin/do_mondo_filebackup does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_mplayer ]; then
       echo "File /$FROMHD/usr/bin/do_mplayer does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_nvram ]; then
       echo "File /$FROMHD/usr/bin/do_nvram does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_restore_sql ]; then
       echo "File /$FROMHD/usr/bin/do_restore_sql does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_run_mysqldump_script ]; then
       echo "File /$FROMHD/usr/bin/do_run_mysqldump_script does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_run_sqlrestore_script ]; then
       echo "File /$FROMHD/usr/bin/do_run_sqlrestore_script does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_apt-get.part.2.4.29 ]; then
       echo "File /$FROMHD/usr/bin/do_apt-get.part.2.4.29 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_apt-get.part.2.6.9 ]; then
       echo "File /$FROMHD/usr/bin/do_apt-get.part.2.6.9 does not exist! "
       exit 1
    fi
    if [ ! -e /etc/init.d/console-screen.sh ]; then
       echo "File /etc/init.d/console-screen.sh does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/crontab ]; then
       echo "File /$FROMHD/etc/crontab does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/usr/X11R6/include/X11/pixmaps ]; then
       echo "Directory /$FROMHD/usr/X11R6/include/X11/pixmaps does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/X11R6/include/X11/pixmaps/mozicon16.xpm ]; then
       echo "File /$FROMHD/usr/X11R6/include/X11/pixmaps/mozicon16.xpm does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/network/interfaces.network ]; then
       echo "File /$FROMHD/etc/network/interfaces.network does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/network/interfaces.nonetwork ]; then
       echo "File /$FROMHD/etc/network/interfaces.nonetwork does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/modules.2.6 ]; then
       echo "File /$FROMHD/etc/modules.2.6 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/modules.2.4 ]; then
       echo "File /$FROMHD/etc/modules.2.4 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/var/log/CPUtemp ]; then
       echo "File /$FROMHD/var/log/CPUtemp does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/init.d/do_modtemp ]; then
       echo "File /$FROMHD/etc/init.d/do_modtemp does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/modtemp ]; then
       echo "File /$FROMHD/usr/bin/modtemp does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/init.d/do_switch_network ]; then
       echo "File /$FROMHD/etc/init.d/do_switch_network does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/do_change_gdmconf ]; then
       echo "File /$FROMHD/usr/bin/do_change_gdmconf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/init.d/do_change_gdmconf ]; then
       echo "File /$FROMHD/etc/init.d/do_change_gdmconf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/init.d/do_set_system_is ]; then
       echo "File /$FROMHD/etc/init.d/do_set_system_is does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/init.d/do_vcstime ]; then
       echo "File /$FROMHD/etc/init.d/do_vcstime does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/ppp/options ]; then
       echo "File /$FROMHD/etc/ppp/options does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/ppp/ip-up.d/modconf ]; then
       echo "File /$FROMHD/etc/ppp/ip-up.d/modconf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/ppp/ip-up.d/timestmpnx ]; then
       echo "File /$FROMHD/etc/ppp/ip-up.d/timestmpnx does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/usr/doc/netled-4.0 ]; then
       echo "Directory /$FROMHD/usr/doc/netled-4.0 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/var/log/stamp.qt ]; then
       echo "File /$FROMHD/var/log/stamp.qt does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/timestmp.conf ]; then
       echo "File /$FROMHD/etc/timestmp.conf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/sbin/partimage ]; then
       echo "File /$FROMHD/usr/sbin/partimage does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/chkrootkit.tar.gz ]; then
       echo "File /hda14/backup.files/chkrootkit.tar.gz does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/mondo-1.67.tgz ]; then
       echo "File /hda14/backup.files/mondo-1.67.tgz does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/mindi-0.87.tgz ]; then
       echo "File /hda14/backup.files/mindi-0.87.tgz does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/mindi-kernel-1.0.tgz ]; then
       echo "File /hda14/backup.files/mindi-kernel-1.0.tgz does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/doc/mondo-1.67/mondo/mondorestore/mondo-restore.c ]; then
       echo "File /$FROMHD/usr/doc/mondo-1.67/mondo/mondorestore/mondo-restore.c does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/local/share/mindi/isolinux.cfg ]; then
       echo "File /$FROMHD/usr/local/share/mindi/isolinux.cfg does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/local/share/mindi/syslinux.cfg ]; then
       echo "File /$FROMHD/usr/local/share/mindi/syslinux.cfg does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/local/share/mindi/deplist.txt ]; then
       echo "File /$FROMHD/usr/local/share/mindi/deplist.txt does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/usr/local/moz1.8a4 ]; then
       echo "Directory /$FROMHD/usr/local/moz1.8a4 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/ld.so.conf ]; then
       echo "File /$FROMHD/etc/ld.so.conf does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/usr/doc/bclock ]; then
       echo "Directory /$FROMHD/usr/doc/bclock does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/usr/doc/aaexample.hda5 ]; then
       echo "Directory /$FROMHD/usr/doc/aaexample.hda5 does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/usr/doc/aasensors.hda5 ]; then
       echo "Directory /$FROMHD/usr/doc/aasensors.hda5 does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/usr/doc/timestmp ]; then
       echo "Directory /$FROMHD/usr/doc/timestmp does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/usr/doc/timestmpnx ]; then
       echo "Directory /$FROMHD/usr/doc/timestmpnx does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/home/hugo/GPC-Qt-hda5 ]; then
       echo "Directory /$FROMHD/home/hugo/GPC-Qt-hda5 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/sbin/vcstimed ]; then
       echo "File /$FROMHD/usr/sbin/vcstimed does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/vcstime.conf ]; then
       echo "File /$FROMHD/etc/vcstime.conf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/bin/modconf ]; then
       echo "File /$FROMHD/usr/bin/modconf does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/sbin/mkrescue.2.6.$ROOTDIR ]; then
       echo "File /$FROMHD/usr/sbin/mkrescue.2.6.$ROOTDIR does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/usr/sbin/mkrescue.2.4.$ROOTDIR ]; then
       echo "File /$FROMHD/usr/sbin/mkrescue.2.4.$ROOTDIR does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/FlagShip-4.48-7452.i386.rpm ]; then
       echo "File /hda14/backup.files/FlagShip-4.48-7452.i386.rpm does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/install.flagship.script.exp ]; then
       echo "File /hda14/backup.files/install.flagship.script.exp does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/add.user.to.db.exp ]; then
       echo "File /hda14/backup.files/add.user.to.db.exp does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/create.wordpress.database.exp ]; then
       echo "File /hda14/backup.files/create.wordpress.database.exp does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/usr/local/apache/htdocs ]; then
       echo "Directory /$FROMHD/usr/local/apache/htdocs does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/svgatextmode_1.9.orig.tar.gz ]; then
       echo "File /hda14/backup.files/svgatextmode_1.9.orig.tar.gz does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/svgatextmode_1.9-9.diff ]; then
       echo "File /hda14/backup.files/svgatextmode_1.9-9.diff does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/svgatextmode_1.9-9_1.diff ]; then
       echo "File /hda14/backup.files/svgatextmode_1.9-9_1.diff does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/TextConfig ]; then
       echo "File /$FROMHD/etc/TextConfig does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/init.d/svgatextmode ]; then
       echo "File /$FROMHD/etc/init.d/svgatextmode does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/nvram-wakeup.conf ]; then
       echo "File /$FROMHD/etc/nvram-wakeup.conf does not exist! "
       exit 1
    fi
    if [ ! -d /hda14/backup.files/fromhd/usr/doc/MPlayer-1.0pre6a ]; then
       echo "Directory /hda14/backup.files/fromhd/usr/doc/MPlayer-1.0pre6a does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/usr/share/xmms/Skins ]; then
       echo "Directory /$FROMHD/usr/share/xmms/Skins does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/etc/default/smartmontools ]; then
       echo "File /$FROMHD/etc/default/smartmontools does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/debs ]; then
       echo "Directory /$FROMHD/debs does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/home/hugo/tex ]; then
       echo "Directory /$FROMHD/home/hugo/tex does not exist! "
       exit 1
    fi
    if [ ! -d /$FROMHD/home/hugo/qpct_images ]; then
       echo "Directory /$FROMHD/home/hugo/qpct_images does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/root/.bashrc ]; then
       echo "File /$FROMHD/root/.bashrc does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/home/hugo/.key8 ]; then
       echo "File /$FROMHD/home/hugo/.key8 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/home/hugo/.key9 ]; then
       echo "File /$FROMHD/home/hugo/.key9 does not exist! "
       exit 1
    fi
    if [ ! -e /$FROMHD/home/hugo/.xbindkeysrc ]; then
       echo "File /$FROMHD/home/hugo/.xbindkeysrc does not exist! "
       exit 1
    fi
    if [ ! -e /hda14/backup.files/fromhd/debs/ncurses-5.4.tar.gz ]; then
       echo "File /hda14/backup.files/fromhd/debs/ncurses-5.4.tar.gz does not exist! "
       exit 1
    fi
    #exit 0

    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    #x
    apt-get -qq install x-window-system

    # the tasksel c++ and latex/tex
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    apt-get -qq install patch
    #apt-get -qq install cpp
    # Don't know where this is!!!
    #apt-get -qq install gcc-3.2
    #apt-get -qq install g++-3.2
    apt-get -qq install gcc
    apt-get -qq install g++
    #rm /usr/bin/gcc
    #rm /usr/bin/g++
    #ln -sf /usr/bin/gcc-3.2 /usr/bin/gcc
    #ln -sf /usr/bin/g++-3.2 /usr/bin/g++
    apt-get -qq install gdb
    apt-get -qq install strace
    apt-get -qq install make
    apt-get -qq install manpages-dev
    apt-get -qq install binutils
    apt-get -qq install bison
    apt-get -qq install flex
    apt-get -qq install gettext
    apt-get -qq install stl-manual
    apt-get -qq install nowebm
    #apt-get -qq install cvs
    apt-get -qq install libtool
    apt-get -qq install c2man
    apt-get -qq install cflow
    apt-get -qq install cutils
    apt-get -qq install cxref
    apt-get -qq install indent
    apt-get -qq install autoconf
    apt-get -qq install automake1.7
    apt-get -qq install autoproject
    apt-get -qq install glibc-doc
    apt-get -qq install liwc
    apt-get -qq install ltrace
    apt-get -qq install mpage
    apt-get -qq install gv
    apt-get -qq install psutils
    apt-get -qq install pstoedit
    apt-get -qq install lacheck
    #apt-get -qq install lyx
    apt-get -qq install xfig
    apt-get -qq install transfig
    apt-get -qq install tetex-bin
    apt-get -qq install tetex-base
    apt-get -qq install tetex-extra
    apt-get -qq install tetex-doc
    apt-get -qq install untex
    apt-get -qq install dvidvi
    apt-get -qq install bibindex
    apt-get -qq install bibtool

    # Do mc with undelfs
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    # There appears a problem with mc either compiled or installed.
    # this avoids it by linking to an old compiled version...
    # What problem? Tried on /hda9: nothing wrong...
    # But did you do that with the 14 or a netinstall? So:
    apt-get -qq install mc
    ## or:
    ## the latest /sarge/sid:
    #dpkg: dependency problems prevent configuration of mc:
    # mc depends on libglib2.0-0 (>= 2.6.0); however:
    # Version of libglib2.0-0 on system is 2.4.7-1.
    #dpkg -i /$FROMHD/debs/mc_4.6.0-4.6.1-pre3-1_i386.deb

    #mkdir /usr/doc/mc-4.6.1-pre1
    #mkdir /usr/local/share/mc
    #cp -r -p /$FROMHD/usr/local/share/mc/* /usr/local/share/mc
    rm -rf /etc/mc
    mkdir /etc/mc
    cp -r -p /$FROMHD/usr/local/share/mc/* /etc/mc
    #cp -r -p /$FROMHD/usr/doc/mc-4.6.1-pre1/* /usr/doc/mc-4.6.1-pre1
    #rm /usr/bin/mc
    #rm /usr/bin/mcmfmt
    #ln -sf /usr/doc/mc-4.6.1-pre1/src/mc /usr/bin/mc
    #ln -sf /usr/doc/mc-4.6.1-pre1/src/mcmft /usr/bin/mcmfmt

    # For enabling pasting in all tty's on Bruby:
    if [ `uname -r | cut -f 2 -d .` = 4 ]; then
        cp /hda14/backup.files/gpm/gpm_1.19.6-19_i386.deb /
        dpkg -i /gpm_1.19.6-19_i386.deb
    else
        apt-get -qq install gpm
    # dpkg -i /$FROMHD/debs/gpm_1.19.6-19_i386.deb
    fi
    cp /$FROMHD/etc/gpm.conf /etc

    #cd /usr/doc
    #tar -xzvf /mnt/win_F/tars/mc-4.6.1-pre1.tar.gz
    #apt-get -qq install libgpmg1-dev
    #apt-get -qq install e2fslibs-dev
    #apt-get -qq install libglib2.0-dev
    #apt-get -qq install file
    #cd /usr/doc/mc-4.6.1-pre1
    #./configure --with-gpm-mouse --with-ext2undel
    #make
    #make install
    cp -r -p /$FROMHD/home/hugo/.mc /home/hugo/.mc
    cp -r -p /$FROMHD/home/rocio/.mc /home/rocio/.mc

    # try copying mozilla dirs...
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    cp -r -p /$FROMHD/home/hugo/.mozilla /home/hugo
    cp -r -p /$FROMHD/home/rocio/.mozilla /home/rocio
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    cp -r /$FROMHD/root/.mc /root
    cp /$FROMHD/root/mc /root
    cp /$FROMHD/root/mcmfmt /root
    ln -sf /root/mc /usr/bin/mx
    cp /$FROMHD/etc/profile /etc
    #stuff for hyperlatex
    cp /$FROMHD/etc/mc/mc.ext /etc/mc
    cp /$FROMHD/etc/mc/mc.menu /etc/mc

    # Do the kernel
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    #apt-get -qq install gcc-2.95
    #cd /usr/bin
    #ln -sf /usr/bin/gcc-2.95 /usr/bin/gcc
    apt-get -qq install bzip2
    apt-get -qq install kernel-package
    apt-get -qq install debhelper
    apt-get -qq install libncurses5-dev

    if [ `uname -r | cut -f 2 -d .` = 6 ]; then
        cd /usr/src
        tar -xjvf /hda14/backup.files/linux-2.6.9.tar.bz2
        cd /usr/src/linux-2.6.9
        patch -p1 < /hda14/patch-2.6.10
        cd /usr/src
        mv /usr/src/linux-2.6.9 /usr/src/linux-2.6.10
        cd /usr/src/linux-2.6.10
        patch -p1 < /hda14/backup.files/patch-2.6.10-ruby.vz2.diff
        patch -p1 < /hda14/backup.files/patch-2.6.10-ruby.vz2.diff.hvw
        patch -p1 < /hda14/backup.files/sensors/2.6.10-w83687thf.diff

        cp /hda14/backup.files/.config.ruby.2.6.10 /usr/src/linux-2.6.10/.config
        make-kpkg --revision 1 kernel_image
        dpkg -i /usr/src/kernel-image-2.6.10-ruby.vz2_1_i386.deb
    else
        cd /usr/src
        tar -xjvf /hda14/backup.files/linux-2.4.21.tar.bz2
        cd /usr/src/linux-2.4.21
        patch -p1 < /hda14/backup.files/patch-2.4.22
        cd /usr/src
        mv /usr/src/linux-2.4.21 /usr/src/linux-2.4.22
        cd /usr/src/linux-2.4.22
        patch -p1 < /hda14/backup.files/patch-2.4.23
        cd /usr/src
        mv /usr/src/linux-2.4.22 /usr/src/linux-2.4.23
        cd /usr/src/linux-2.4.23
        patch -p1 < /hda14/backup.files/patch-2.4.24
        cd /usr/src
        mv /usr/src/linux-2.4.23 /usr/src/linux-2.4.24
        cd /usr/src/linux-2.4.24
        patch -p1 < /hda14/backup.files/patch-2.4.25
        cd /usr/src
        mv /usr/src/linux-2.4.24 /usr/src/linux-2.4.25
        cd /usr/src/linux-2.4.25
        patch -p1 < /hda14/backup.files/patch-2.4.26
        cd /usr/src
        mv /usr/src/linux-2.4.25 /usr/src/linux-2.4.26
        cd /usr/src/linux-2.4.26
        patch -p1 < /hda14/backup.files/patch-2.4.27
        cd /usr/src
        mv /usr/src/linux-2.4.26 /usr/src/linux-2.4.27
        cd /usr/src/linux-2.4.27
        patch -p1 < /hda14/backup.files/patch-2.4.28
        cd /usr/src
        mv /usr/src/linux-2.4.27 /usr/src/linux-2.4.28
        cd /usr/src/linux-2.4.28
        patch -p1 < /hda14/backup.files/patch-2.4.29
    # patch -p1 < /hda14/backup.files/patch-2.4.29-rc2
    # patch -p1 < /hda14/backup.files/patch-2.4.29-rc1
        cd /usr/src
        mv /usr/src/linux-2.4.28 /usr/src/linux-2.4.29
        cd /usr/src/linux-2.4.29
        ln -sf /usr/src/linux-2.4.29 /usr/src/linux
        patch -p1 < /hda14/backup.files/bruby-2.4.29-20050120
        patch -p1 < /hda14/backup.files/i2c-2.4.29.patch

        cp /hda14/backup.files/.config.bruby.2.4.29 /usr/src/linux-2.4.29/.config
    # This must be done if you want to run lm-sensors!!!
        make-kpkg --revision 1 kernel_image
    # do this here because if u do it after lm-sensors he complains...
        dpkg -i /usr/src/kernel-image-2.4.29-bruby_1_i386.deb
        p=5
        echo "Pausing for $p seconds ..."
        sleep $p
    fi

    # Install lm-sensors (no Debian package for 2.4.29!
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    if [ `uname -r | cut -f 2 -d .` = 4 ]; then
        cd /usr/doc
        tar -xzvf /hda14/backup.files/lm_sensors-2.8.8.tar.gz
        cd /usr/doc/lm_sensors-2.8.8
    # no sense running these: run make install with the new kernel BUILT.
    # make
    # make install
    fi

    # Install fvwm
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    apt-get -qq install fvwm

    cp -r /$FROMHD/home/hugo/.fvwm /home/hugo/.fvwm
    cp -r /$FROMHD/home/rocio/.fvwm /home/rocio/.fvwm
    chmod 777 /home/rocio/.fvwm
    chmod 777 /home/hugo/.fvwm
    cp -r /$FROMHD/root/.fvwm /root/.fvwm
    cp /$FROMHD/etc/X11/fvwm/main-menu-pre.hook /etc/X11/fvwm
    cp /$FROMHD/etc/X11/fvwm/main-menu.hook /etc/X11/fvwm

    # Install gdm
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    apt-get -qq install gdm
    mv /etc/hotplug/input.agent /etc/hotplug/input.agent.orig
    #mv /etc/hotplug/input.rc /etc/hotplug/input.rc.orig
    cp /$FROMHD/etc/hotplug/input.agent /etc/hotplug
    #cp /$FROMHD/etc/hotplug/input.rc /etc/hotplug
    cp /$FROMHD/etc/hotplug/event.conf /etc/hotplug
    cp /$FROMHD/etc/hotplug/mouse.conf /etc/hotplug
    cp /$FROMHD/etc/hotplug/kbd.conf /etc/hotplug

    mv /etc/gdm/gdm.conf /etc/gdm/gdm.conf.orig
    cp /$FROMHD/etc/gdm/gdm.conf.0 /etc/gdm/gdm.conf.0
    cp /$FROMHD/etc/gdm/gdm.conf.1 /etc/gdm/gdm.conf.1
    ln -sf /etc/gdm/gdm.conf.1 /etc/gdm/gdm.conf
    mv /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.orig
    if [ `uname -r | cut -f 2 -d .` = 6 ]; then
        cp /$FROMHD/etc/X11/XF86Config-4 /etc/X11/
    else
        cp /$FROMHD/etc/X11/XF86Config-4 /etc/X11/
    fi
    ln -sf /usr/X11R6/bin/X /usr/X11R6/bin/X0
    ln -sf /usr/X11R6/bin/X /usr/X11R6/bin/X1
    cp /$FROMHD/etc/gdm/Init/:0 /etc/gdm/Init
    #cp /$FROMHD/etc/gdm/Init/:1 /etc/gdm/Init
    mkdir /etc/gdm/Sessions
    cp /$FROMHD/etc/gdm/Sessions/* /etc/gdm/Sessions
    cp /$FROMHD/etc/init.d/klogd /etc/init.d
    cp /$FROMHD/etc/init.d/gdm /etc/init.d
    cp -r /$FROMHD/usr/share/sounds/ /usr/share/sounds
    cp /$FROMHD/home/hugo/*.jpg /home/hugo
    cp /$FROMHD/home/hugo/psfig.sty /home/hugo

    cp /$FROMHD/home/rocio/*.jpg /home/rocio
    cp /$FROMHD/home/rocio/bookmarks.backup.html /home/rocio
    cp /$FROMHD/home/rocio/Primer_Curso_Taller_HERBOLARIA_PARA_MUJERES_2002.doc /home/rocio

    ln -sf /dev/input/mouse1 /dev/input/mouse0br
    ln -sf /dev/input/mouse0 /dev/input/mouse1br

    # Event4: the evdev for mouse0
    cd /dev/input
    mknod event4 c 13 68

    # Install various others
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ

    #get the graphics
    cp /$FROMHD/etc/console-tools/config /etc/console-tools

    apt-get -qq install vorbis-tools
    apt-get -qq install sudo
    cp /$FROMHD/etc/sudoers /etc

    apt-get -qq install libaudio2
    apt-get -qq install libaudio-dev
    apt-get -qq install nas

    #you get the mt libraries with kcoloredit...
    apt-get -qq install libqt3-dev
    apt-get -qq install qt3-doc
    apt-get -qq install qt3-dev-tools

    apt-get -qq install mpg321
    apt-get -qq install cdcd
    apt-get -qq install aumix
    #apt-get -qq install jigdo-file

    #cups
    apt-get -qq install cupsys
    apt-get -qq install cupsys-bsd
    apt-get -qq install cupsomatic-ppd
    apt-get -qq install xprt-xprintorg
    apt-get -qq install cupsys-driver-gimpprint
    apt-get -qq install libcupsys2-dev

    apt-get -qq install ddclient
    apt-get -qq install apache
    apt-get -qq install libapache-mod-php4
    apt-get -qq install php4-mysql
    cp /$FROMHD/etc/apache/httpd.conf /etc/apache
    cp -a /$FROMHD/usr/local/apache /usr/local

    #apt-get -qq install netpbm
    #apt-get -qq install libnetpbm9
    #apt-get -qq install emacs21
    apt-get -qq install less
    apt-get -qq install libnewt-dev
    apt-get -qq install afio
    apt-get -qq install mkisofs
    apt-get -qq install cdrecord
    apt-get -qq install eject
    apt-get -qq install gawk
    apt-get -qq install dosfstools
    apt-get -qq install syslinux

    apt-get -qq install chrony
    cp /$FROMHD/etc/chrony/chrony.conf /etc/chrony
    cp /$FROMHD/etc/chrony/chrony.keys /etc/chrony

    apt-get -qq install gcal
    apt-get -qq install abiword
    apt-get -qq install alien

    #for mozilla
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    apt-get -qq install zip
    apt-get -qq install libgtk1.2-dev
    cp /$FROMHD/home/hugo/GPC-Qt-hda5/beep1.wav /home/hugo
    cp /$FROMHD/home/hugo/GPC-Qt-hda5/beep1.wav /home/rocio
    mkdir /usr/share/doc/mozilla-browser
    cp /$FROMHD/usr/share/doc/mozilla-browser/localstart.html /usr/share/doc/mozilla-browser

    apt-get -qq install libxft-dev
    apt-get -qq install libgtk2.0-dev
    apt-get -qq install libidl-dev
    mv /usr/bin/libIDL-config-2 /usr/bin/libIDL-config
    cp -r /$FROMHD/usr/share/fonts/truetype/* /usr/share/fonts/truetype

    apt-get -qq install kcoloredit
    #pt-get -qq install lokkit

    apt-get -qq install synaptic
    apt-get -qq install deborphan
    #instead do: adduser pablo cdrom
    # adduser pablo audio
    # adduser pablo scanner
    # adduser pablo video
    #pt-get -qq install kuser

    #dpkg --no-act -i svgatextmode_1.9-10_i386.deb wmcpu_1.3-4_i386.deb wmmail_0.64-11.1_i386.deb wmmount_1.0beta2-6_i386.deb wmppp.app_1.3.0-7_i386.deb wmsysmon_0.7.7-3_i386.deb i2c-2.4.25-1-386_2.7.0-2_i386.deb lm-sensors-2.4.25-1-386_2.7.0-2_i386.deb libsensors1_2.6.5-4_i386.deb libsensors-dev_2.6.5-4_i386.deb netpbm-nonfree_9.20-1_i386.deb hyperlatex_2.6-7_all.deb

    apt-get -qq install wmcpu
    apt-get -qq install wmmount
    apt-get -qq install wmmoonclock

    apt-get -qq install expect

    cp /$FROMHD/etc/system.wmmount.$ROOTDIR /etc/system.wmmount
    cp /$FROMHD/etc/default/bootlogd /etc/default

    # wwwcount is no longer around....
    # used 12/23/04 on hda6
    apt-get -qq install libttf2
    apt-get -qq install libttf-dev
    cd /usr/doc
    tar -xzvf /hda14/backup.files/wwwcount2.6.tar.gz
    cd /usr/doc/wwwcount2.6
    ./build --all --with-ttf --with-cgi-bin-dir=/usr/lib/cgi-bin
    cp /hda14/backup.files/wwwcount.2.6.config.script /usr/bin
    cp /hda14/backup.files/wwwcount.2.6.install.script /usr/bin
    cp /hda14/backup.files/wwwcount.2.6.db.script /usr/bin
    wwwcount.2.6.config.script
    wwwcount.2.6.install.script
    wwwcount.2.6.db.script
    #this is where apache wants it segun Debian...
    $NOCHECK /usr/local/apache/cgi-bin/Count.cgi /usr/lib/cgi-bin
    #and it has to have the right permissions...
    chown nobody:nogroup /usr/lib/cgi-bin/Count.cgi
    #and you have to keep the right accesses from the past...
    cp /$FROMHD/usr/local/etc/Counter/data/sample.dat /usr/local/etc/Counter/data
    #and you have to authorize the blog...
    cp /$FROMHD/usr/local/etc/Counter/conf/count.cfg /usr/local/etc/Counter/conf

    cp /$FROMHD/usr/bin/modconf /usr/bin/modconf

    apt-get -qq install wmppp.app
    cp /$FROMHD/etc/ppp/getmodemspeed /etc/ppp
    cp /$FROMHD/etc/ppp/wmppp-ifdown /etc/ppp
    cp /$FROMHD/etc/ppp/wmppp-start /etc/ppp
    cp /$FROMHD/etc/ppp/wmppp-stop /etc/ppp
    cp /$FROMHD/etc/ppp/peers/provider /etc/ppp/peers
    cp /$FROMHD/etc/chatscripts/provider /etc/chatscripts
    cp /$FROMHD/home/hugo/.wmppprc /home/hugo
    cp /$FROMHD/home/rocio/.wmppprc /home/rocio

    #installer uses pure defaults... cannot use wmmount...
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    cp /$FROMHD/etc/fstab.$ROOTDIR /etc/fstab

    cp /$FROMHD/home/rocio/.wmppprc /home/rocio

    #sensors: have to use the w83687thf changes...
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    apt-get -qq install lm-sensors
    apt-get -qq install libsensors-dev
    cp /$FROMHD/usr/lib/libsensors.a /usr/lib
    cp /$FROMHD/usr/lib/libsensors.so.3.0.8 /usr/lib
    cp /$FROMHD/usr/lib/libsensors.so.3.0.8 /usr/lib
    cp /$FROMHD/usr/bin/sensors /usr/bin
    cp /$FROMHD/usr/sbin/sensors-detect /usr/bin

    #for displaying the wharf with CPUtemp
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    cp /$FROMHD/etc/sensors.conf /etc
    cp /$FROMHD/etc/aasensors.conf /etc

    apt-get -qq install hyperlatex
    # This fixes the \input in the htmladdress field
    # It goes on top of hyperlatex 2.8b-1
    cp /$FROMHD/usr/share/emacs/site-lisp/hyperlatex/hyperlatex.el /usr/share/emacs/site-lisp/hyperlatex

    apt-get -qq install regina3
    apt-get -qq install the
    # the is on iso-9 which we aint't got
    #dpkg -i /hda7/the_3.1-4_i386.deb
    cp /$FROMHD/etc/therc /etc

    cd /

    apt-get -qq install lilo

    if [ `uname -r | cut -f 2 -d .` = 4 ]; then
    cp /$FROMHD/etc/lilo.conf.2.4.$ROOTDIR /etc/lilo.conf
    else
    cp /$FROMHD/etc/lilo.conf.2.6.$ROOTDIR /etc/lilo.conf
    fi
    cp /$FROMHD/usr/bin/do_lilo.$ROOTDIR /usr/bin/do_lilo
    cp /$FROMHD/usr/bin/do_backup_sql /usr/bin
    cp /$FROMHD/usr/bin/evtest /usr/bin
    cp /$FROMHD/usr/bin/do_get_sys /usr/bin
    cp /$FROMHD/usr/bin/do_set_timeslice /usr/bin
    cp /$FROMHD/usr/bin/do_timeslice_noargs /usr/bin
    cp /$FROMHD/usr/bin/do_get_cursor /usr/bin
    #cp /$FROMHD/usr/bin/do_kill_sound /usr/bin
    cp /$FROMHD/usr/bin/do_km /usr/bin
    cp /$FROMHD/usr/bin/do_sm /usr/bin
    cp /$FROMHD/usr/bin/do_c /usr/bin
    cp /$FROMHD/usr/bin/do_loop /usr/bin
    cp /$FROMHD/usr/bin/do_install_mplayer /usr/bin
    cp /$FROMHD/usr/bin/do_install_6111 /usr/bin
    cp /$FROMHD/usr/bin/do_mount /usr/bin
    cp /$FROMHD/usr/bin/do_mail_miriam /usr/bin
    cp /$FROMHD/usr/bin/do_mondo /usr/bin
    cp /$FROMHD/usr/bin/do_sensors /usr/bin
    cp /$FROMHD/usr/bin/do_suspend /usr/bin
    cp /$FROMHD/usr/bin/do_mondo_filebackup /usr/bin
    cp /$FROMHD/usr/bin/do_mplayer /usr/bin
    cp /$FROMHD/usr/bin/do_nvram /usr/bin
    cp /$FROMHD/usr/bin/do_restore_sql /usr/bin
    cp /$FROMHD/usr/bin/do_run_mysqldump_script /usr/bin
    cp /$FROMHD/usr/bin/do_run_sqlrestore_script /usr/bin
    cp /$FROMHD/usr/bin/do_apt-get.part.2.4.29 /usr/bin
    cp /$FROMHD/usr/bin/do_apt-get.part.2.6.9 /usr/bin
    cp /etc/init.d/console-screen.sh /usr/bin/c
    cp /$FROMHD/etc/crontab /etc

    #straighten out the cd:
    rm /dev/cdrom
    ln -sf /dev/scd0 /dev/cdrom

    # install the kernel...
    #dpkg -i /usr/src/kernel-image-2.4.27-backstreet-ruby_1_i386.deb
    #dpkg -i /usr/src/kernel-image-2.4.29-pre2-bruby_1_i386.deb

    do_lilo

    apt-get -qq remove grub

    cp /$FROMHD/usr/X11R6/include/X11/pixmaps/* /usr/X11R6/include/X11/pixmaps
    cp /$FROMHD/usr/X11R6/include/X11/pixmaps/mozicon16.xpm /usr/share/pixmaps

    cp /$FROMHD/etc/network/interfaces.network /etc/network
    cp /$FROMHD/etc/network/interfaces.nonetwork /etc/network
    rm /etc/network/interfaces
    ln -sf /etc/network/interfaces.nonetwork /etc/network/interfaces

    if [ `uname -r | cut -f 2 -d .` = 6 ]; then
        apt-get -qq install module-init-tools
        cp /$FROMHD/etc/modules.2.6 /etc/modules
    else
        cp /$FROMHD/etc/modules.2.4 /etc/modules
    fi

    #do this but later
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    #cp /$FROMHD/root/.bashrc /root

    #for logging CPU temp
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    cp /$FROMHD/var/log/CPUtemp /var/log
    cp /$FROMHD/etc/init.d/do_modtemp /etc/init.d
    update-rc.d do_modtemp start 19 2 3 4 5 .
    cp /$FROMHD/usr/bin/modtemp /usr/bin/modtemp

    cp /$FROMHD/etc/init.d/do_switch_network /etc/init.d
    update-rc.d do_switch_network start 37 S .

    cp /$FROMHD/usr/bin/do_change_gdmconf /usr/bin
    cp /$FROMHD/etc/init.d/do_change_gdmconf /etc/init.d
    update-rc.d do_change_gdmconf start 41 S .

    cp /$FROMHD/etc/init.d/do_set_system_is /etc/init.d
    update-rc.d do_set_system_is start 42 S .

    cp /$FROMHD/etc/init.d/do_vcstime /etc/init.d
    update-rc.d do_vcstime start 12 2 3 4 5 .

    #for updating the tracer file
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    #cp /$FROMHD/4INSTALLED_DUMMY /0INSTALLED
    #cp /$FROMHD/etc/init.d/do_modmv /etc/init.d
    #update-rc.d do_modmv start 19 2 3 4 5 .
    #cp /$FROMHD/usr/bin/modmv /usr/bin/modmv

    #for updating the URL that is not counted by wwwcount
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    cp /$FROMHD/etc/ppp/options /etc/ppp
    cp /$FROMHD/etc/ppp/ip-up.d/modconf /etc/ppp/ip-up.d
    cp /$FROMHD/etc/ppp/ip-up.d/timestmpnx /etc/ppp/ip-up.d
    #cp /$FROMHD/etc/ppp/ip-up.d/netled /etc/ppp/ip-up.d
    mkdir /usr/doc/netled-4.0
    cp -r /$FROMHD/usr/doc/netled-4.0/* /usr/doc/netled-4.0

    #for updating the timestamp of the ppp connection
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    cp /$FROMHD/var/log/stamp.qt /var/log
    chmod 777 /var/log/stamp.qt
    cp /$FROMHD/etc/timestmp.conf /etc

    #for sane
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    apt-get -qq install xsane
    apt-get -qq install libxt-dev
    apt-get -qq install libstdc++2.10-glibc2.2

    #for partimage
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    #apt-get -qq install mindi-partimagehack
    cp /$FROMHD/usr/sbin/partimage /usr/sbin

    #for chkrootkit
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    cd /usr/doc
    tar -xzvf /hda14/backup.files/chkrootkit.tar.gz

    #for mondo
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    cd /usr/doc
    tar -xzvf /hda14/backup.files/mondo-1.67.tgz
    tar -xzvf /hda14/backup.files/mindi-0.87.tgz
    tar -xzvf /hda14/backup.files/mindi-kernel-1.0.tgz
    cp /$FROMHD/usr/doc/mondo-1.67/mondo/mondorestore/mondo-restore.c /usr/doc/mondo-1.67/mondo/mondorestore
    cd /usr/doc/mindi-0.87
    ./install.sh
    cd /usr/doc/mondo-1.67
    ./install.sh
    cd /usr/doc/mindi-kernel-1.0
    ./install.sh
    cp /$FROMHD/usr/local/share/mindi/isolinux.cfg /usr/local/share/mindi
    cp /$FROMHD/usr/local/share/mindi/syslinux.cfg /usr/local/share/mindi
    cp /$FROMHD/usr/local/share/mindi/deplist.txt /usr/local/share/mindi

    #for not compiling mozilla and qt
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    mkdir /usr/local/moz1.8a4
    cp -r /$FROMHD/usr/local/moz1.8a4/* /usr/local/moz1.8a4

    #mkdir /usr/doc/qt-x11-free-3.3.1
    #cp -r /$FROMHD/usr/doc/qt-x11-free-3.3.1/* /usr/doc/qt-x11-free-3.3.1
    #cp /$FROMHD/usr/doc/qt-x11-free-3.3.1/qmake/qmake /usr/bin
    #mkdir /usr/doc/qt-embedded-free-3.1.1
    #cp -r /$FROMHD/usr/doc/qt-embedded-free-3.1.1/* /usr/doc/qt-embedded-free-3.1.1
    #ln -sf /usr/doc/qt-x11-free-3.3.1 /usr/doc/qt

    rm /etc/ld.so.cache
    cp /$FROMHD/etc/ld.so.conf /etc
    ldconfig

    #for not compiling qt apps
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    mkdir /usr/doc/bclock
    cp -r /$FROMHD/usr/doc/bclock/* /usr/doc/bclock
    mkdir /usr/doc/aaexample.hda5
    cp -r /$FROMHD/usr/doc/aaexample.hda5/* /usr/doc/aaexample.hda5
    mkdir /usr/doc/aasensors.hda5
    cp -r /$FROMHD/usr/doc/aasensors.hda5/* /usr/doc/aasensors.hda5
    mkdir /usr/doc/timestmp
    cp -r /$FROMHD/usr/doc/timestmp/* /usr/doc/timestmp
    mkdir /usr/doc/timestmpnx
    cp -r /$FROMHD/usr/doc/timestmpnx/* /usr/doc/timestmpnx
    mkdir /home/hugo/GPC-Qt-hda5
    cp -r -p /$FROMHD/home/hugo/GPC-Qt-hda5/* /home/hugo/GPC-Qt-hda5
    #mv /usr/sbin/vcstime /usr/sbin/vcstime.orig
    cp /$FROMHD/usr/sbin/vcstimed /usr/sbin
    cp /$FROMHD/etc/vcstime.conf /etc

    #cp /$FROMHD/usr/bin/modmv /usr/bin/
    cp /$FROMHD/usr/bin/modconf /usr/bin/
    if [ `uname -r | cut -f 2 -d .` = 6 ]; then
        cp /$FROMHD/usr/sbin/mkrescue.2.6.$ROOTDIR /usr/sbin/
    else
        cp /$FROMHD/usr/sbin/mkrescue.2.4.$ROOTDIR /usr/sbin/
    fi
    #for installing FlagShip
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    apt-get -qq install csh
    cp /hda14/backup.files/FlagShip-4.48-7452.i386.rpm /
    cd /
    alien FlagShip-4.48-7452.i386.rpm
    dpkg -i flagship_4.48-7453_i386.deb
    cp /hda14/backup.files/install.flagship.script.exp /usr/bin
    install.flagship.script.exp

    #for installing mysql
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    apt-get -qq install mysql-server
    /usr/bin/mysqladmin -u root password '516466012'
    cp /hda14/backup.files/add.user.to.db.exp /usr/bin
    cp /hda14/backup.files/create.wordpress.database.exp /usr/bin
    create.wordpress.database.exp
    add.user.to.db.exp
    mkdir /usr/local/apache/htdocs
    cp -r -p /$FROMHD/usr/local/apache/htdocs/* /usr/local/apache/htdocs
    do_restore_sql

    apt-get -qq install man2html
    #apt-get -qq install bootcd
    # this not because FlagShip will get dos2unix...
    #apt-get -qq install sysutils
    apt-get -qq install gcalctool
    apt-get -qq install swish++
    apt-get -qq install partimage

    #apt-get -qq install svgatextmode
    #for setting up svgatextmode
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    #if [ `uname -r | cut -f 2 -d .` = 4 ]; then
        cd /usr/doc
        tar -xzvf /hda14/backup.files/svgatextmode_1.9.orig.tar.gz
        cd /usr/doc/svgatextmode-1.9.orig
        patch -p1 < /hda14/backup.files/svgatextmode_1.9-9.diff
        patch -p1 < /hda14/backup.files/svgatextmode_1.9-9_1.diff
        make install
        cp /$FROMHD/etc/TextConfig /etc
        cp /$FROMHD/etc/init.d/svgatextmode /etc/init.d
        update-rc.d svgatextmode start 60 S .
    #fi

    apt-get -qq install nvram-wakeup
    cp /$FROMHD/etc/nvram-wakeup.conf /etc

    # is on the net, as is lame
    #apt-get -qq install mplayer-386
    # run do_install_mplayer instead
    apt-get -qq install wmcpuload
    apt-get -qq install snd

    #lame is with do_install_mplayer
    mkdir /usr/doc/MPlayer-1.0pre6a
    cp -r -p /hda14/backup.files/fromhd/usr/doc/MPlayer-1.0pre6a/* /usr/doc/MPlayer-1.0pre6a
    cd /usr/doc/MPlayer-1.0pre6a
    make install

    #apt-get -qq install lame
    #dpkg -i /hda7/lame_3.96-sarge1_i386.deb

    apt-get -qq install libmikmod2
    apt-get -qq install xmms
    mkdir /usr/share/xmms/Skins
    cp -r -p /$FROMHD/usr/share/xmms/Skins/* /usr/share/xmms/Skins
    apt-get -qq install libxpm-dev
    apt-get -qq install saytime
    apt-get -qq install xine-ui
    apt-get -qq install imagemagick
    apt-get -qq install smartmontools
    #to get diskparms with hdparm -I /dev/hdb
    apt-get -qq install hdparm
    cp /$FROMHD/etc/default/smartmontools /etc/default

    # copy the debs for mplayer...
    mkdir /debs
    cp -r -p /$FROMHD/debs/* /debs
    #install lame and the Mplayer lib
    #dpkg -i /debs/lame_3.96-sarge1_i386.deb
    dpkg -i /debs/lame_3.96.1-0sarge1_i386.deb
    dpkg -i /debs/libdivxdecore0_1%3a5.0.1-1_i386.deb

    # copy the tex files over + link them
    mkdir /home/hugo/tex
    cp -r -p /$FROMHD/home/hugo/tex/* /home/hugo/tex

    # copy the images over that are not in GPC-Qt-hda5
    mkdir /home/hugo/qpct_images
    cp -r -p /$FROMHD/home/hugo/qpct_images/* /home/hugo/qpct_images

    ln -sf /home/hugo/tex/* /home/hugo
    # you must compile each file!!!

    cp /$FROMHD/root/.bashrc /root
    #cp /$FROMHD/etc/init.d/sendsigs /etc/init.d

    #for buildpackage of xpaint
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    apt-get -qq install devscripts
    apt-get -qq install dh-make
    apt-get -qq install fakeroot
    #apt-get -qq install install !
    apt-get -qq install libwww-perl
    apt-get -qq install libxaw7-dev
    apt-get -qq install libtiff4-dev
    apt-get -qq install lintian
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ

    #to get wish for make xconfig:
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    apt-get -qq install tk8.4

    #to get MNws + Comp with buttons:
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    apt-get -qq install xbindkeys
    apt-get -qq install xmacro
    cp /$FROMHD/home/hugo/.key8 /home/hugo
    cp /$FROMHD/home/hugo/.key9 /home/hugo
    cp /$FROMHD/home/hugo/.xbindkeysrc /home/hugo
    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    apt-get -qq install a2ps
    apt-get -qq install libpaper-utils

    apt-get -qq install alsa-utils
    apt-get -qq install alsamixergui

    #apt-get -qq install efax

    #ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ
    # Do the ncurses thing to fix make menuconfig
    cd /usr/doc
    tar -xzvf /hda14/backup.files/fromhd/debs/ncurses-5.4.tar.gz
    cd /usr/doc/ncurses-5.4
    ./configure
    make
    make install

    exit

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Tong: "Is this tidy converting correct?"