I finally decided to move back to using ubunty hoary 5.04, despite the problems with acpi. Those problems will only show up if you do a full update of the system after install. Instead, choose the packages you want to update with care, and ubuntu will be a very nice distro. I got almost everything I want out of the box. Therefore I thought I write a small guide on what to think of when installing ubuntu.
First, download the ubuntu hoary 5.04 install cd and burn it to a cd.
http://releases.ubuntulinux.org/5.04/
Just follow the install procedure, the installer will detect your hardware fine like disk, ethernet, wireless and so on.
When the installer has finished, it will report that it cannot start x. This is quite easy to fix.
- Code: Alles auswählen
sudo nano -w /etc/X11/xorg.conf
In the device section, change the Driver to "vesa".
- Code: Alles auswählen
Driver "vesa"
Save the file and quit the editor. If you do not want to mess with the xorg.conf file at this stage you can type:
- Code: Alles auswählen
sudo dpkg-reconfigure xserver-xorg
which will start the xorg wizard. Remember to choose vesa, and no resolution larger than 1024x768. You will get better resolution later when you install the fglrx driver.
Now, if gdm is running (which I think it is), just stop it with:
- Code: Alles auswählen
sudo /etc/init.d/gdm stop
On the prompt you can now start gdm again with
- Code: Alles auswählen
sudo gdm
And everything should work fine.
Remember, do not fully update your ubuntu installation as this will break acpi support and crash on boot. If, you have done this, you'll have to disable acpi on boot by typing 'e' in the grub boot menu and adding acpi=off right after splash in the kernel line. Press 'b' to boot, and you should boot.
Now, to get the screen to use the 1280x800 resolution, you'll have to install the fglrx drivers from ati. But before you do this, make sure you have installed the build-essential package.
- Code: Alles auswählen
sudo apt-get install build-essential
I am not sure if gcc is included in this, so just install this as well.
- Code: Alles auswählen
sudo apt-get install gcc
and g++:
- Code: Alles auswählen
sudo apt-get install g++
Now, follow the steps on this page:
http://www.ubuntuforums.org/showthread.php?t=32495I didn't get x to work right away, so you can have a look at my xorg.conf file which is using the 1280x800 resolution.
- Code: Alles auswählen
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "no"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. ATI Default Card"
Driver "fglrx"
Option "MonitorLayout" "None,LVDS"
Option "UseInternalAGPGART" "no"
BusID "PCI:3:0:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. ATI Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
Good luck with the install.
Disclaimer: I am in no way a linux-guru. Just used a lot of google and the #ubuntu channel on freenode. I compiled this small guide after I had done the installation, and might have missed something, I do not know if this is the 'right' way of doing this, but it works.
Zuletzt geändert von tucoz am 05.08.2005 12:44, insgesamt 1-mal geändert.