Home Site Stocks Machine

Contents of the InstallDoc.txt file. This is an exact description of what has been done during installation.

Debian Testing etch beta 3  -  installed offline and partly online, public version
CD1: minimal Gnome system, CD2: Synaptic, online: linux headers, gcc 4.0
VMware Workstation 4.5.3
VMwareTools from 5.5.2

[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060810)]

later Synaptic got added manually from CD2 and sources.list got edited
-> if the host is online, the system is ready for net install of packages

VMware virtual machine settings:
----------------------------
Host System Win2k sp4 offline
Guest system other Linux 2.6
8 GB disc capacity split into files < 2 GB
96MB RAM
NAT connected at startup
cdrom pointed to iso file: debian-testing-i386-binary-1.iso
everything else as default

Description of installation:
----------------------------
English
South Africa
German keyboard

host name: debian  (default)
domain: localdomain  (default)
all files in one partition -> 279.6 MB swap  (default)
root password: root
user full name: user
user account name: user
user password: user

without network mirror  (non default)
security update repo security.debian.org commented out in /etc/apt/sources.list (automatic)
don't send statistic info once a week  (default)

install  (default)
- Desktop environment
- Standard system

(installation would get much bigger with network mirror than with cd1 alone)

exim mail config: local delivery only, not on a network  (default)
root and postmaster mail recipient: user  (suggested by default)

wanted screen resolutions  (default)
- 640*480
- 800*600
- 1024*768

install GRUB boot loader to the master boot record  (default)

repoint cdrom in VMware to physical drive: auto detect
reboot without cd into new system
boot log on options->security: allow root to log in
log in as root
change Font to Dejavu sans condensed 12

install additional packages from cd2
point VMware cdrom to cd1
Terminal: apt-cdrom add   (repeat for every cd, repoint VMware cdrom every time)
point VMware cdrom to cd2
Terminal: apt-cdrom add
Terminal:
  apt-get update
  aptitude install synaptic (had to be repeated because of segmentation fault)
open Applications->System Tools->File Browser
  prefs: show hidden files, show list view, change date format, use same browser
replace /etc/apt/sources.list from floppy disk
log out and in as user and change fonts
open Applications->System Tools->File Browser
  prefs: don't show hidden files, show list view, change date format, use same browser
for user and root:
  add keyboard switch to panel - US(default) / German
  change homepage of Epiphany and Firefox to: http://www.visoracle.com/download/debian/
shutdown

------

boot and log in as root
check for the kernel version in a terminal
  uname -r
which in this case is: 2.6.16-2-k7  (match the headers package and the sym link, see below)
go online in host system
Synaptic
  change repositories from cdrom to ftp.debian.org and security.debian.org
  reload
  mark packages for install:
    gcc-4.0
    linux-headers-2.6.16-2-k7
  apply
go offline in host system

install VMwaretools Tools 5.5.2
  - point the cdrom to the external linux.iso file (from a VMware 5.5.2 installation, 4.8.06)
  - copy the VMwareTools-5.5.2-29772.tar.gz file to the /tmp and extract it there
  - delete the .tar.gz file
  - cd /tmp/vmware-tools-distrib
  - make a symlink:
    ln -s /usr/src/linux-headers-2.6.16-2-k7 /usr/src/linux
  - change the gcc version to use:
    export CC=/usr/bin/gcc-4.0
  - start the installer with ./vmware-install.pl
    accept everything with <enter>
  - video resolution: choose 3 instead of 2 (1024*768)
  - log out and in again to activate changes

delete the extracted folder and empty the trash bin
repoint cdrom in VMware to physical drive: auto detect
start the toolbox as root (different from VMwareTools which get started automatically on boot):
  /usr/bin/vmware-toolbox
shrink disk
shutdown

------

restart

create a file named /etc/init.d/local with this inside:
#!/bin/sh
mount -a

then run as root:
chmod 755 /etc/init.d/local
update-rc.d local start 98 2 3 4 5 .
mkdir /etc/rc.d/
ln -s /etc/init.d/local /etc/rc.d/rc.local

Don't miss the . in  2 3 4 5 .
All you put inside this newly created local boot commands file named /etc/rc.d/rc.local
is executed at boot. The mount -a is useful for automatically starting up CIFS or SMBFS.
You'll find more info about this work-around at http://www.visoracle.com/download/debian/

finally run as root:
apt-get clean
/usr/bin/vmware-toolbox -> shrink disk
shutdown
zip all VMware files

------

Note:
1) A newer version of the tools should be installable by simply repeating the above process. The script is able to uninstall the older VMware tools first.
2) Invoking /usr/bin/vmware-uninstall-tools.pl will uninstall the tools.
3) To use the vmxnet driver, restart networking using the following commands:
   /etc/init.d/networking stop
   rmmod pcnet32
   rmmod vmxnet
   depmod -a
   modprobe vmxnet
   /etc/init.d/networking start

   (neither I am sure if that actually gives you a working network, nor if it survives a reboot)

------

Other files in this directory:

Readme.txt

VMwareToolsDialog.txt
the VMwareTools installation terminal dialog

sources.list   (currently used by Synaptic)
standard repositories for testing and security updates for etch

------

Homepage with additional info:

- how to get started and what packages may be useful to load
- some mini HowTos like e.g:
  - how and why to set up smbfs or cifs instead of using shared folders.
    This is essential for Player users but because cifs is the more
    functional way of sharing folders it is generally interesting.
- more to come over time. I plan to collect essential Linux tips and tricks here
  and keep the Debian testing VMware appliance up to date.

http://www.visoracle.com/download/debian/




Visoracle

Home ии System ии Machine
 Index