Installation Notes

Tue Dec 15 08:33:24 EST 2009 (oldest material first)
----------------------------
I created this system by using usb-creator under CrunchBang 9.04 to make
a bootable USB thumb drive from the Alternate Install CD image. Worth
noting is that using the current version of unetbootin, downloaded from
sourceforge, didn't work. The USB device created insisted on trying to
install from the network. I guess there's a reason for the name
unetbootin.

Also worth noting is that formatting the root partition changes its
UUID. I had to fix up the boot stanza for this partition in menu.lst on
my CrunchBang partition.

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda12            7.5G  616M  6.5G   9% /

    1  set -o vi
    2  df -h >> notes.karmic
    3  vi notes.karmic
    4  dpkg -l > dpkg.karmic_as_installed
    5  dpkg --get-selections > dpkg.karmic_as_installed-selections
    6  grep -v ^ii dpkg.karmic_as_installed
    7  grep grub dpkg.karmic_as_installed-selections 
    8  sudo apt-get remove --purge grub-common grub-pc

I've removed grub because it's not used on this system and it takes a
long time to update whenever an updated kernel is installed.

I pre-seeded a few .deb files on another partition before starting this
installation.

   14  sudo mount /dev/sda11 /mnt
   16  cd /mnt/home/pann
   17  sudo dpkg -i gpm_1.20.4-3.2ubuntu1_i386.deb 
   18  sudo dpkg -i rcs_5.7-25_i386.deb 
   21  sudo dpkg -i linux-headers-2.6.31-16_2.6.31-16.53_all.deb linux-headers-2.6.31-16-generic_2.6.31-16.53_i386.deb linux-image-2.6.31-16-generic_2.6.31-16.53_i386.deb 

gpm allows me to cut'n'paste while editing this file. rcs allows me to
record changes I make to, for example, .bashrc. The theory behind
installing the updated kernel is that

update-initramfs: Generating /boot/initrd.img-2.6.31-16-generic

will correctly pick up my USB wireless device.

2.6.31-16-generic

   50  sudo iwconfig wlan0 essid pannda1
   51  sudo ifconfig wlan0 up
   52  sudo dhclient3 wlan0

bound to 192.168.1.107 -- renewal in 38813 seconds

   66  sudo apt-get update
   68  sudo apt-get dist-upgrade
   70  sudo apt-get --purge autoremove
   72  sudo apt-get install grub
   74  sudo dpkg --configure -a

Taking out grub seems to have caused problems with configuring updated
kernels. At least I now have "legacy" grub installed; I'm fairly sure
that won't take as long to update as grub2 did.

   89  sudo apt-get --purge remove linux-image-2.6.31-14-generic
   91  sudo apt-get install deborphan
   92  sudo deborphan
   93  sudo dpkg --purge libdns50
  113  sudo apt-get clean

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda12            7.5G  677M  6.4G  10% /

Let's do it like this:

sudo apt-get install xorg lxde wicd
sudo apt-get --purge remove gdm
dpkg -i slim_1.3.1-3_i386.deb (on sda11)
sudo apt-get install firefox

(and go from there)

  121  sudo iwconfig wlan0 essid pannda1
  122  sudo ifconfig wlan0 up
  123  sudo dhclient3 wlan0
  125  sudo apt-get install xorg lxde wicd
  126  sudo apt-get clean
  127  sudo apt-get --purge remove gdm
  128  sudo apt-get --purge autoremove
  127  sudo apt-get install firefox
  132  cp -p /mnt/home/pann/.bash_aliases .
  134  cd /etc
  136  sudo mkdir RCS
  138  sudo ci -l fstab
  139  sudo vi fstab
  141  sudo ci -l fstab
  143  mkdir working
  144  sudo mount working/
  148  cd working/
  150  rsync -av /mnt/home/pann/bin/ bin/
  153  cd
  154  ln -s working/bin
  156  cd /etc
  159  sudo ci -l slim.conf
  160  sudo vi slim.conf 
  161  cd /usr/share/slim/
  163  cd themes/
  165  cd default/
  168  sudo mv background.jpg background.jpg-orig
  169  sudo ln -s ../../../lxde/wallpapers/lxde_blue.jpg background.jpg

  193  vi .xsession
  194  sudo reboot
  197  sudo apt-get install vim-gtk par
  199  sudo apt-get --purge remove vim-tiny
  206  sudo mount /dev/sda11 /mnt
  207  cp -p /mnt/home/pann/.vimrc .

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda12            7.5G  1.1G  6.0G  16% /

  224  sudo apt-get install flashplugin-installer
  226  sudo apt-get install acroread
  227  sudo apt-get install htop
  236  wget -N http://packages.medibuntu.org/pool/non-free/a/acroread-fonts/acroread-fonts_9.1-0medibuntu1_all.deb
  238  sudo dpkg -i acroread-fonts_9.1-0medibuntu1_all.deb
  239  sudo apt-get install gv xpdf
  242  sudo apt-get install sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-plugin binfmt-support

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda12            7.5G  1.5G  5.7G  21% /

  257  sudo apt-get install cups cups-bsd enscript a2ps groff
  266  a2ps -1 -o notes.karmic.ps notes.karmic 
  267  gv notes.karmic.ps &
  272  sudo lpadmin -d Brother_HL-2070N_series

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda12            7.5G  1.6G  5.6G  22% /

  322  sudo usermod -a -G audio pann

Wed Dec 16 23:04:57 EST 2009
----------------------------
  348  sudo apt-get install iamerican ibritish
  349  sudo apt-get --purge remove aspell aspell-en hunspell-en-us

Thu Dec 17 09:35:17 EST 2009
----------------------------
  408  sudo apt-get --purge remove apturl apturl-common arj
  409  sudo apt-get --purge remove command-not-found command-not-found-data
  410  sudo apt-get --purge autoremove
  411  sudo apt-get --purge remove tasksel tasksel-data
  413  sudo apt-get --purge remove dmsetup

Trying to take out either xarchiver or leafpad takes the baby with the
bathwater (all of lxde and friends). I need to have a look at the
masonux site where this issue is, I believe, addressed.

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda12            7.5G  1.5G  5.6G  21% /

I really had no luck with the metapackage approach recommended on the
masonux website, but this works:

  438  sudo dpkg --purge leafpad lxde xarchiver

Time to install DropBox.

  424  cp -p /mnt/home/pann/dropbox.txt .
  425  cp -p /mnt/home/pann/dropbox-lnx.x86-0.6.571.tar.gz .
  427  tar xzf dropbox-lnx.x86-0.6.571.tar.gz 
  436  cp -p /mnt/home/pann/dbmakefakelib.py .
  437  python dbmakefakelib.py 
  438  sudo apt-get install build-essential
  441  python dbmakefakelib.py 
  449  mv Desktop/dropbox.py bin/
  450  cd bin
  453  chmod +x dropbox.py 
  455  cd
  458  vi .xsession
  459  sudo apt-get install audacious
  465  sudo alsa force-reload

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda12            7.5G  1.6G  5.5G  23% /

  510  sudo apt-get install mutt esmtp-run urlview procmail

And it turns out I need to do something about the damn autoremove
business. Ugh!

  516  scp -p ideapad:working/.muttrc .
  517  scp -p ideapad:working/.mutt_aliases .
  520  chmod o-r .mutt_aliases 
  523  touch .mutt_header_cache
  524  scp -p ideapad:.esmtprc .

  506  sudo apt-get install cups-pdf

  548  sudo apt-get install lxde

The following NEW packages will be installed:
  arj leafpad lxde xarchiver

This should shut up the damn autoremove thingie.

  503  sudo apt-get remove --purge audacious
  504  sudo apt-get --purge autoremove

Sound is working on the full-blown (Gnome) karmic install on sda10, so I
have some lower level work to do on this system. And I probably want to
end up with VLC anyway.

Fri Dec 18 08:02:42 EST 2009
----------------------------
  549  sudo apt-get install conky apcupsd

(both of these need to be configured)

Sat Dec 19 09:25:42 EST 2009
----------------------------
  504  sudo apt-get upgrade
  553  sudo apt-get install tkdiff tclreadline

Tue Dec 22 07:37:07 EST 2009
----------------------------
  508  aptg
  509  apty
  510  aptc

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda12            7.5G  1.7G  5.4G  25% /

  504  sudo apt-get install boa
  510  cd /var/www
  511  sudo ln -s /usr/share/doc/boa/boa.html 
  512  sudo ln -s /usr/share/doc/boa/boa_banner.png 
  514  cd
  515  sudo apt-get install abiword

I always install boa and I have a fair number of documents in .abw
format that I need AbiWord to access.

I went to the LXDE forum and found a "no sound" thread that suggested
running alsamixer and un-muting everything. Bingo. After that splay
plays an MP3. lxmusic is still a mystery but I gotta keep it 'cause of
the autoremove foolishness.

  556  sudo apt-get --remove purge qamix
  557  sudo apt-get --purge autoremove
  560  sudo apt-get install vlc mozilla-plugin-vlc videolan-doc

I was thinking about installing gnumeric (sort of a companion to
abiword) and realized I had no sc (yet).

  570  sudo apt-get install sc

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda12            7.5G  1.9G  5.3G  26% /

  605  sudo apt-get install xtightvncviewer
  614  sudo apt-get --no-install-recommends install gnumeric gnumeric-plugins-extra gnumeric-doc

Boy, now that I know about the --no-install-recommends option I should
probably start from scratch. Sigh.

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda12            7.5G  1.9G  5.2G  27% /

Thu Dec 24 17:59:35 EST 2009
----------------------------
  503  sudo apt-get install xfce4-power-manager
  504  sudo apt-get --purge remove apcupsd apcupsd-doc

Sun Dec 27 09:05:27 EST 2009
----------------------------
  506  sudo apt-get --purge remove grub-common

I noticed that there were way too many files in /boot/grub for legacy
grub (which was installed), so I yarded out grub-common (which took grub
with it). We'll just do without any form of grub unless it turns out we
need it.
Last modified: 27-Dec-2009 and Copyright © 2009 by Pann McCuaig
All rights reserved.