Monday, March 31, 2008

Migration to New system

Shifting the hard disk to a new system caused problems in XP with Windows warning you that data would get corrupted etc. So I was expecting similar problems in Linux.
But, a shift from the nvidia chipset motherboad to a Via chipset motherboard, which besides their differing chips also had different onboard graphics went ahead smoothly.
Ofcourse, X had problems, but it booted right up to offer the command prompt. There I did the startx routine which I had picked up from some earlier encounter with Linux. And somewhere in the output I latched upon the /etc/X11/xorg.conf name. I opened the file with the vi /etc/X11/xorg.conf command. Vi as I have already mentioned is too intelligible to be used without blowing one's fuse. No toolbars, no menus, no help, only headaches. But, in the file, I noticed the values that needed modification, and also picked up the name XFDrake.
Running XFdrake in the command prompt brought what appeared to be a tool to configure X. Navigating this tool is tricky, till I figured out that the Up and Down keys were for moving around the menu options, and the left and Right keys were to perform actions. Soon I had set the correct Savage driver (for the onboard Savage 4 graphics), which was automatically detected by the tool, tested the driver and all seemed OK. Exiting the tool and redoing a startx produced the same result as before. Evidently, Xfdrake does not modify the conf file. Rather that endure the insanity of vi, I went down the live CD route.
Booted with PC Linux live CD. Since during the boot, the live Cd will also create a conf file for X, I thought it would be more easier that I envisaged. Logged in as root, the partitions were thankfully mounted, went to the relevant partition, copied the relevant portions of the live CD created xorg.conf file onto the target file on the partition. Rebooted, and voila.

No comments: