Home Site Stocks Machine

Ubuntu Linux in Windows

Contents of the install doc file

Ubuntu 8.04 -  installed mostly offline, public version
VMwareTools-e.x.p-84113

VMware Workstation 5.5.1 to make the base VM and then installed into Player 1.0.6
and finished with WS 6.0.3

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

Description of installation:
----------------------------
English
South Africa
keyboard Germany - eliminate dead keys
guided partioning for entire disk

Name: user 
UserName: user 
Password: user

no proxy info for apt
clock not set to UTC
renamed the iso file
restart

-------

screen resolution 1024*768 0Hz
fonts DejaVu Sans Book 13pt, Sans Mono, Sans Bold 12pt for window labels

Firefox:
homepage: http://www.visoracle.com/download/debian/
change fonts
  "Default font" and "Advanced->Sans-serif" to Bitsstream Vera Sans
  "Advanced->Proportional" to Sans Serif
  "Advanced->Serif" to serif
font sizes 16
set homepage/bookmark
  reduce cache to 0MB
  clear cache
privacy delete on exit

filemanager list view, date format
screensaver off
login window: login user after 12sec
shutdown

----------

start

install VMwaretools Tools 6.0.3-80004
  - point the cdrom to the external linux.iso file
  - copy the VMwareTools-6.0.3-80004.tar.gz file to the /tmp and extract it there
  - delete the .tar.gz file
  - cd /tmp/vmware-tools-distrib
  - start the installer with sudo ./vmware-install.pl
    accept everything with <enter>
  - video resolution: choose 3 instead of 2 (1024*768)

run in a terminal 
sudo /usr/bin/vmware-toolbox
  - shrink the disk

shutdown
repoint the cdrom to the physical drive

-------

start and change the boot sequence
Firefox prefs: remember history for 1 days
go online in host and load page for favicon.ico

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

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

!!Don't miss the . in  2 3 4 5 .

This local boot commands file named /etc/rc.d/rc.local is executed at boot time.
The mount -a is useful for automatically starting up CIFS or SMBFS.

Synaptic remove openoffice.org-core
run
  sudo apt-get --purge remove
  sudo apt-get autoremove
  sudo apt-get clean
  history -c

Note: autoremove takes a long time for gimp-help

run in a terminal 
sudo /usr/bin/vmware-toolbox
  - shrink the disk

restart
escape -> recovery mode -> root shell prompt

run:
  swapoff /dev/sda5
  dd if=/dev/zero of=/dev/sda5
  sync
  sync
  mkswap /dev/sda5
  swapon /dev/sda5
  shutdown -h now

zip all VMware files compression 9

------

install newer VMwaretools Tools e.x.p-84113 over 6.0.3-80004 because 
module for shared folders couldn't be built
  - point the cdrom to the external linux.iso file
  - copy the VMwareTools-e.x.p-84113.tar.gz file to the /tmp and extract it there
  - delete the .tar.gz file
  - cd /tmp/vmware-tools-distrib
  - start the installer with sudo ./vmware-install.pl
    accept everything with <enter>
  - video resolution: choose 3 instead of 2 (1024*768)
  - delete all vmware folders in tmp
  - history -c

run sudo nautilus and change prefs
shutdown
repoint cdrom
shutdown

------

start on Win d: with VMware WS 6
VM settings:
  memory max. 576MB (later it seemed to be 476MB)
  default hardware compatibility WS 4.0
  max swapping with host
  shared folders always enabled

click the network icon and wired network 
Administration->Software Sources->disable auto update
Synaptic prefs: history 0 days

run in a terminal 
sudo /usr/bin/vmware-toolbox
  - shrink the disk

restart
escape -> recovery mode -> root shell prompt
run:
  swapoff /dev/sda5
  dd if=/dev/zero of=/dev/sda5
  sync
  sync
  mkswap /dev/sda5
  swapon /dev/sda5
  shutdown -h now

zip all VMware files compression 9

-------

Terminal dialog after the uninstallation of OpenOffice

user@ubuntu:~$ sudo apt-get --purge remove
[sudo] password for user: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ispell ibritish wamerican gimp-help-en openoffice.org-l10n-common
  gimp-help-common openoffice.org-hyphenation myspell-en-gb myspell-en-us
  myspell-en-za wbritish iamerican
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
user@ubuntu:~$ 
user@ubuntu:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ispell ibritish wamerican gimp-help-en openoffice.org-l10n-common
  gimp-help-common openoffice.org-hyphenation myspell-en-gb myspell-en-us
  myspell-en-za wbritish iamerican
The following packages will be REMOVED:
  gimp-help-common gimp-help-en iamerican ibritish ispell myspell-en-gb
  myspell-en-us myspell-en-za openoffice.org-hyphenation
  openoffice.org-l10n-common wamerican wbritish
0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded.
After this operation, 44.4MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 91595 files and directories currently installed.)
Removing gimp-help-en ...
///usr/share/gnome/help/blackjack/el/blackjack.xml:402: parser error : Entity '\u0392\u03bf\u03ae\u03b8\u03b5\u03b9\u03b1' not defined
                  <para><guimenuitem>\u03a0\u03c1\u03bf\u03c4\u03b9\u03bc\u03ae\u03c3\u03b5\u03b9\u03c2&\u0392\u03bf\u03ae\u03b8\u03b5\u03b9\u03b1;</gui
                                                                           ^
Removing gimp-help-common ...
Removing ibritish ...
Removing myspell-en-gb ...
Updating OpenOffice.org's dictionary list... done.
Removing myspell-en-us ...
Updating OpenOffice.org's dictionary list... done.
Removing myspell-en-za ...
Updating OpenOffice.org's dictionary list... done.
Removing openoffice.org-hyphenation ...
Updating OpenOffice.org's dictionary list... done.
Removing openoffice.org-l10n-common ...
Removing wamerican ...
Removing wbritish ...
/usr/sbin/update-default-wordlist No wordlist elements installed.
/usr/sbin/update-default-wordlist No wordlist elements installed.
Removing ispell ...
Removing iamerican ...
/usr/sbin/update-default-ispell No ispell elements installed.
/usr/sbin/update-default-ispell No ispell elements installed.
user@ubuntu:~$ 




Visoracle

Home ии System ии Machine