A guide to Java, Linux, and other Technology topics

Guide to Installing Fedora Core 6 on an HP Pavilion dv2000 series laptops.

The specific model used in this instructions is the HP Pavilion dv2221us Laptop. Other models in this series should be very similar. Fedora Core 6 installation is pretty painless on this Laptop, setting up the video requires minor work, setting up the wireless requires some more work, pretty much everything else works out of the box (Integrated web cam didn't work out of the box, I haven't tried to set it up).

This model is marketed as an entertainment unit. Personally I chose it because it was by far the best deal I could find in a 2GB laptop. I am mainly using it for serious software development (server side Java, not exactly known for being light on resources), not for entertainment. For this reason, I haven't gotten around to setting up some of the multimedia hardware included (webcam & integrated microphone). Perhaps when I have some time I will get around to trying to set those up (if you or someone you know has successfully or unsuccessfully tried to set them up, feel free to drop me a note).

Basic Installation of Fedora Core 6:
  • Why use Fedora Core 6
    • Fedora is basically a version of Red Hat Linux, the main difference is that it includes newer versions of most packages. Red Hat is the distribution that is most widely used in enterprise systems. Experience gained with Fedora is easily transferable to Red Hat.
  • Obtaining Fedora Core 6
  • Installing
    • Boot from the Fedora DVD or CD
    • Fedora install is fairly easy and intuitive, follow the prompts until Fedora is completely installed.
  • Post-Install modifications/tweaks
  • Some times the mouse pointer will disappear, making it pretty much impossible to use X.
    • Hit ctrl+alt+F1 to drop to a command line
    • Using your favorite text editor, edit /etc/X11/xorg.conf
    • Look for a section that looks like:
      Section "Device"
              Identifier  "Videocard0"
              Driver      "vesa"
              Option      "AddARGBGLXVisuals" "True"
      EndSection
                      
      Modify it so that it looks like this:
      Section "Device"
              Identifier  "Videocard0"
              Driver      "nv"
              Option      "HWcursor" "false"
              Option      "AddARGBGLXVisuals" "True"
      EndSection
                      

      This accompishes two things, changes the driver from the default "vesa" driver to the open source Nvidia driver, and fixes the issue with the mouse pointer disappearing.
    • Hit ctrl+alt+F7 to go back to X
    • Hit ctrl+alt+backspace to restart X, then log in
    • To get 1280x800 resolution
      • Click on System -> Administration -> Display
      • Enter the root password if/when prompted
      • Select "1280x800" from the drop down labeled "Resolution"
      • Click the "OK" button.
      • Hit ctrl+alt+backspace to restart X, then log in.
      • Optional: follow the instructions at https://www.nvidia.com/object/linux_display_amd64_1.0-9755.html to install the proprietary NVIDIA video driver
    • To configure wireless:
      • The Livna RPM repository contains ndiswrapper, a utility consisting of a kernel module and some other binaries that allow Windows wireless drivers to work with Linux.
      • Setup your system to obtain packages from Livna by issuing the following command in the command line as root:
        • rpm -ivh https://rpm.livna.org/livna-release-6.rpm
        • Using pirut (the graphical package installer), search for package names containing the word "ndiswrapper"
          • Install the lates ndiswrapper package available, and the appropriate kernel module for your kernel and version of ndiswrapper (kernel version can be obtained by typing "uname -a" at the command line).
          • Download the Windows wireless driver from ftp://ftp.hp.com/pub/softpaq/sp33001-33500/sp33008.exe
          • Install the wine package using pirut or yum. Wine allows executing Windows executables from Linux. It is necessary to extract the necessary files from the Windows driver.
          • As root and from a command line, change directory to where the windows driver was installed, then type the follwong command:
            wine ./sp33008.exe
            This will open a graphical window, just keep clicking "next" (accept the terms when prompted) until the window dissapears. You might see some errors reported on the console, ignore them.
          • Change directory to
            /root/.wine/drive_c/SWSetup/SP33008A
            , the necessary files to install the windows driver should be here.
          • Follow the instructions at https://ndiswrapper.sourceforge.net/mediawiki/index.php/Installation, starting from the section titled "Install Windows driver".


    General Hardware Specifications of the HP Pavilion dv2000:
    Hardware Components
    Status under Linux
    Notes
    AMD Turion TL-56 64 X2 Mobile Technology Processor Works No special procedure required during installation.
    2GB DDR2-SDRAM Works No special procedure required during installation.
    160GB 5400 RPM Hard Disk Works No special procedure required during installation.
    LightScribe Double Layer DVD+/-RW SuperMulti Drive Works No special procedure required during installation.
    Digital Audio (16-bit) Works No special procedure required during installation.
    Nvidia GeForce Go 6150 Works By default Fedora will use vesa driver, minor configuration needed to use nvidia driver.
    Memory Stick/Memory Stick Pro/SD/MMC Media Card Reader Works No special procedure required during installation.
    Integrated Ethernet (10/100 Mbps) Works No special procedure required during installation.
    Internal 56k Modem Not tested.
    Integrated 802.11g/802.11g Wireless Works Needs ndiswrapper.
    Touchpad Works No special procedure required during installation.
    Integrated 1.3 megapixel webcam Untested
    Integrated microphone Untested