Xubuntu 8.1 installation


Xubuntu 8.1 installation


Harddisk:
RAID + LVM:
https://help.ubuntu.com/community/Installation/LVMOnRaid
1. /boot must not be in LVM, otherwise, the installer will force you to use LILO.  But LILO has certain advantage, as LILO install in RAID (/dev/md0), not need to install LILO on second harddisk as GRUB need to do.

For GRUB, you need to install GRUB on second harddisk manually, or your system won't boot when 1st harddisk removed.

TODO: Testing
Now, if your disks are /dev/sda and /dev/sdb, do the following to install GRUB on /dev/sda MBR:
device (hd0) /dev/sda
root (hd0,0)
setup (hd0)

This will install grub into the /dev/sdb MBR:
device (hd0) /dev/sdb
root (hd0,0)
setup (hd0)

RAID Recovery:
Clone the partition table: sfdisk -d /dev/sdX | sfdisk /dev/sdY -



VNC:
VNC on GDM
http://grumpymole.blogspot.com/2006/12/xubuntu-remote-desktop-with-vnc4server.html
http://grumpymole.blogspot.com/2007/04/workaround-for-vnc4server-end-of-stream.html
--> Problem: Process seems to be suspend when VNC is disconnected.


x11 to VNC:
http://www.odrakir.com/blog/2005/12/24/ubuntu-and-vnc/
sudo x11vnc -storepasswd yourpasswordhere /etc/x11vnc.pass
and this line to the file /etc/X11/gdm/Init/Default (or /etc/gdm/Init/Default):
/usr/bin/x11vnc -rfbauth /etc/x11vnc.pass -o /tmp/x11vnc.log -forever -bg -rfbport 5900

And this line to /etc/X11/gdm/gdm.conf-custom
KillInitClients=false

mount old LVM and migrate data.
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/LVM-HOWTO.html
Use command sudo lvscan to detect if the old LVM can be detected.

Add this line to /etc/fstab
/dev/ubuntu/root        /var/bt ext3    defaults        0       0


TODO:
Convert Tops Mandrake to Software RAID
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/LVM-HOWTO.html#UpgradeRootToLVM


Daily Manage
http://www.gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID#RAID_BIOS
http://advosys.ca/viewpoints/2007/04/setting-up-software-raid-in-ubuntu-server/

Comments