Sunday, December 16, 2007

Migrating from Fedora 4 to Ubuntu 7.10

I bought a new hard disk. And I installed Ubuntu 7.10 on it (/dev/hdb). Ubuntu did not want to recognize my partition where I had previously installed Fedora (/dev/hda3). I had to install

$sudo apt-get install lvm2

And then I followed the instructions on:

http://pissedoffadmins.com/index.php?entry=entry070507-105201

Now, just add at the bottom of /boot/grub/menu.lst the following lines to

title Fedora Core 4
root (hd0,1)
chainloader +1
boot

save the file and reboot! See this



To change the console font (when one gives Ctrl+Alt+F1) add the vga=771 to the corresponding line in /boot/grub/menu.lst. For example:

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=44d34aca-a862-4a4c-99b8-b2ba480527cb ro quiet vga=771
initrd /boot/initrd.img-2.6.22-14-generic
quiet

The table of resolutions is: from http://ubuntuforums.org/showthread.php?t=123920

Code:
                640x480 800x600 1024x768 1280x1024 1600x1200
---------------+-------+-------+--------+---------+---------
256 (8 bit) | 769 771 773 775 796
32,768 (15 bit)| 784 787 790 793 797
65,536 (16 bit)| 785 788 791 794 798
16.8M (24 bit) | 786 789 792 795 799








I "installed the super user". To do this, I just did:

$sudo passwd root

And I assigned a password to root





I removed the NDIVIA logo at startup: Edit /etc/X11/xorg.conf and change the corresponding lines to:

 Section "Device"
...
Driver "nvidia"
...
Option "NoLogo" "true"
EndSection

The KDM has a keyboard configuration in English. But my keyboard has a german distribution. This makes it problematic to ingress passwords. To change the keyboard edit /etc/X11/xorg.conf and change the correponding line

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
EndSection


DO NOT run
$ sudo dpkg-reconfigure -phigh xserver-xorg
as it is recommended in the comments of that file!






To install the mouse in the console mode (Ctrl+Alt+F1) do
$ sudo apt-get install gpm
and then reboot the computer.

No comments: