Showing posts with label Oracle Enterprise Linux. Show all posts
Showing posts with label Oracle Enterprise Linux. Show all posts

Saturday, January 9, 2010

Change display resolution in Redhat 5 or Oracle Enterprise Linux 5

Edit your "/etc/X11/xorg.conf" file, add the "Modes" part under subsection "Display" where the first mode - which is 1024x768 in the example below - will be the default one:

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1024x768" "800x600" "640x480"
        EndSubSection
EndSection



Save the file, then restart your X server or restart your computer if you don't know how to :)

Source

Wednesday, January 6, 2010

How to solve the problems of "Oracle Enterprise Linux" in virtualbox

Not able to boot:
Just press escape during the grub loading process and choose the second kernel :), that's it! If you want it to be persistent to avoid doing that at every startup, just go edit the "/boot/grub/grub.conf" and change "default=0" to "default=1" to point to the second kernel automatically.

Source

Not able to install Guest Additions:
  1. mount the installation DVD, navigate to the folder "Server" and issue the command "rpm -ivh kernel-devel-2.6.18-164.el5.i686.rpm"
  2. unmount the DVD (if you're not able to unmount due to a bug in virtualbox that prevents unmounting, just shutdown the guest OS and then remove it from the storage section)
  3. In the guest OS, click "Devices"->"Install Guest Additions"
  4. The CD will be mounted, navigate to its folder (in /media/VBox***) and run "sh VBoxLinux***x86.sh" (x86 here if you're using 32-bit edition)
  5. Reboot and enjoy :)