t1hilo has be running centos6 for a few weeks now, here are my notes on
upgrading t1/t2 to centos6 using a restore from t1hilo.
on centos 4, the disk are /dev/hdb
on centos 6, the disk are /dev/sda
Partition setup for disk:
/dev/sda1 20G / for centos4 (or /r1)
/dev/sda2 20G / for centos6. (or /r2)
/dev/sda3 20G /aux catalog, home
/dev/sda4 rest /aux1 (unmounted).
Created backup for t1hilo on all partitions in /irtf.backup/t1hilo/120626*
list of mac addresses for the tcs computers:
t1hilo 50:E5:49:53:F6:FE
t1 50:E5:49:35:48:29
t2 50:E5:49:53:F6:E4
Restore the /sda1 (root) and make centos6 the default boot image.
1. Boot from CentOS 6 DVD. (.686 32-bit linux).
boot 'Rescure installed system'
select rescue method 'Local CD/DVD'.
enable IP/4 support. ( /24 fr ipv4 prefix)
start a shell.
mount irtf_backup
# mount -o nolock basking:/irtf.backup /irtf.backup
Format /dev/sda2 (centos6 boot partition):
# mkfs.ext4 -v -m 3 /dev/sda2 // only centos6 boot disk is ext4.
# mkfs.ext3 -v -m 3 /dev/sda3 // this is /aux
2. Restore
mount your drives
# mkdir /r2
# mkdir /aux
# mount /dev/sda2 /r2
# mount /dev/sda3 /aux
restore centos6 root partition:
# cd /r2
# restore rvf /irtf.backup//t1hilo/120626.root.zdump
restore /aux boot partition:
# cd /aux
# restore rvf /irtf.backup//t1hilo/120626.aux.zdump
3. setup grub
# /r2/sbin/grub
> root (hd0,1) note: sda2 is hd0,1
> find /boot/grub/stage1
> setup (hd0) This command install GRUB on MBR
> quit
4. check:
/etc/hosts
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/fstab
/etc/X11/xorg.conf
reboot to centos6
change root passwork (the one based on the host name).
check IP setting (ifconfig -a ). Run System->Preference->network_connection
5. For t1, install new tcs3.
Stuff I didn't do, but put here for refrence.
----------------------------------------------------------------------------------
If you have problems with the network, some suggest not using the Network Manager:
chkconfig NetworkManager off
services NetworkManager stop
yum remove /*NetworkManager\*
x. For t1, install new tcs3.
ref:
nvidia configuring TwinView: ftp://download.nvidia.com/XFree86/Linux-x86/100.14.23/README/chapter-13.html