# get rid of the worst CPU hog
apt-get autoremove --purge apt-xapian-index
# don't start X automatically: type startx to start
cd /etc/init
mv gdm.conf gdm.DONOTSTART
# we want normal bootup behavior
cd /etc/default
vi grub
#GRUB_HIDDEN_TIMEOUT
GRUB_CMDLINE_LINUX_DEFAULT=""
update-grub
# edit the uneditable to get a big framebuffer terminal
cd /boot/grub
vi grub.cfg
set gfxpayload=1024x768x32
# have an ssh daemon
apt-get install openssh-server
# get the linux-realtime for ubuntu lucid (Alessio Igor Bogani)
add-apt-repository ppa:abogani/ppa
apt-get update
apt-get install linux-realtime
#[the above loses the framebuffer console because it adds a grub line]
apt-get install rt-tests
# see where you stand with memory use: the "active" is what matters
vmstat -a
# network configuration
cd /etc/network
vi interfaces
# dhcp
auto eth0
iface eth0 inet dhcp
# or static
auto eth0
iface eth0 inet static
address 192.168.3.90
gateway 192.168.3.1
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255
# console fonts
dpkg-reconfigure console-setup
ALTERNATIVE
{
apt-get install console-tools
consolechars -f Lat7-Terminus16
showcfont
}
# X fonts
apt-get install msttcorefonts
#***********************************************
# vesa driver installation, for Intel SIS
#***********************************************
/var/log/xorg.0.log
select appropriate Modeline from detection
/etc/X11/xorg.conf
/\ must be created anew
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31-80
VertRefresh 50-75
Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
Option "PreferredMode" "1280x1024"
EndSection
Section "Device"
Identifier "Configured Device"
Driver "vesa"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Device"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
Key was HorizSync 80
#***********************************************
# dina font installation
#***********************************************
dpkg-reconfigure fontconfig-config
# DOES NOT WORK on xubuntu 10.10
# *** Following Works ***
expand tar into ~/.fonts
ln -s /etc/fonts/conf.avail/70-yes-bitmaps.conf /etc/fonts/conf.d/70-yes-bitmaps.conf
# "Un-disable" bitmap fonts
sudo rm /etc/fonts/conf.d/70-no-bitmaps.conf
# Clear the font cache
sudo fc-cache -f -v
#***********************************************
# install from alternate disk using USB
#***********************************************
http://www.kernel.org/pub/linux/utils/boot/syslinux/
syslinux -s -m F:
http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/current/images/hd-media/
Copy to USB root: initrd.gz, vmlinuz, xubuntu-10.04-alternate-i386.iso
In USB root create syslinux.cfg:
default vmlinuz
append initrd=initrd.gz file=/cdrom/preseed/cli.seed
Ignore: “No kernel modules were found. This is probably due to a mismatch..."
#***********************************************
# Clone a CF card off the USB using dd
#***********************************************
(start a cygwin bash shell if on windows)
cat /proc/partitions
(plug in the card)
cat /proc/partitions
(find the new drive sdb)
dd if=/dev/sdb of=ubuntu10-04.dd
(swap in the new CF card)
dd if=ubuntu10-04.dd of=/dev/sdb bs=20k
(2011226112 bytes (2.0 GB) copied, 367.27 s, 5.5 MB/s)