Installing RedHat 9 on a Dell Precision M60 Sunday, September 14, 2003 This document describes how to set up a dual-boot system with WindowsXP and RedHat 9 Linux on the Dell Precision M60 with an NVidia QuadroFXGo 700 WUXGA LCD. After the initial RedHat install, almost nothing worked except for sound. You will have to download the Broadcom driver for the gigabit ethernet card, the Conexant drivers for the modem, and do a bit of tweaking to get the NVidia drivers working, but nothing really tough. Since networking and graphics do not work with the standard RedHat 9 installlation, it is important to prepare a CD with all the important drivers before you install RedHat. This compressed tar file contains all critical drivers and a few extra packages discussed below. Burn this to a CD and follow the directions below right after installation. Note that this page is included in the tar file. In addition to standard hardware setup, I have put together some of the extra packages and tools that help make your M60 work as you might expect, including:
Please let me know if you notice any problems on this page, or think that it could be enhanced. If anything at all was unclear, let me know and I'll try to fix it up. Hardware Functionality
Current Linux support for standard hardware (green works, yellow untested, red not working): Partitioning for WindowsXP and LinuxMy goals for partitioning this system were:
I used the program Partition Magic to partition the system. The program can be purchased online and it supports WindowsXP (unlike Partition Commander). I'm sure you can also use a free program for the partitioning, if you are willing to put up with a bit more hassle. The important thing to remember when considering a non-trivial partitioning scheme is that there are only 4 primary partitions. Although extended partitions can be made to increase flexibility, each OS's boot sector should be installed onto a primary partition. Also, the current versions of Linux (RedHat 9 in my case) don't fully support NTFS. You can read NTFS from Linux, but you can't write to it. Since I wanted to share a CVS tree, I really wanted full R/W support. For this reason, I decided to add a special FAT32 (fully supported by RH9) partition to use for sharing data between WindowsXP and Linux. Dell sends you the computer with a special 50MB primary partition already installed at the front of the driver. After a couple of false starts, I decided to go with the following partition scheme for my 40GB drive:
After partitioning, my WindowsXP system recognized the new Fat32 shared partition as "E:". This is important since I want to download stuff under WindowsXP and make it available to Linux by saving it on the "E:" driver since that is easily mounted by Linux. I did not go to the trouble of installing the read-only NTFS support for Linux. I figure I'll just use my shared Fat32 for now.
Some people have mentioned problems with Suspend to Disk (s2d). I have not experiemented with the Linux setup for hibernation or suspend to disk, but it seems to work just fine under WindowsXP with my current setup. If this concerns you, make sure to see if you still need to setup a special sleep partition before you decide on your final partitioning setup. Linux InstallationI started with the US retail purchased distribution of RedHat 9. This distribution is full of issues and it is critical to update to the latest packages after installation using the RedHat network.
Make sure to have the latest NVidia drivers downloaded and possibly burned onto a disk to install after the RedHat installtion. The only other packages I feel are necessary for testing are the xmms mp3 package, and the network and modem drivers. Next, I modified the BIOS settings to allow me to boot from the CDROM. The BIOS settings are accessible if you hold down F2 during a reboot. Make sure that you set the CDROM to boot before the hard disk. Now, you can insert the RedHat 9 installation disk (Disk1) and reboot to begin the installation process. A couple of important tips during the install:
After you install RedHat 9, you should be able to reboot the computer and get to an 800x600 desktop. Immediately change the default graphical boot to text by editing /etc/inittab and changing the default runlevel from 5 (graphical login) to 3 (text login). This makes it easier to fix problems when installing the NVidia drivers. XFree86 ConfigurationThe latest (4496) NVidia drivers do not work with the M60 due to an EDID related issue. However, the earlier (4363) drivers work fine if you add a Modeline statement to the /etc/XF86Config file. See my XF86Config for details:
NetworkingThe internal 10/100/1000 Broadcom gigabit ethernet card does not work with the standard RedHat 9 installation. Since you won't have networking up and running after installation, it is important that you have the network drivers on a separate CD so you can install them right after installation.
ModemThe Conexant drivers work with the internal 56K winmodem. This is a software (HSF) modem. Just install them using rpm:
After installation, I just used the RedHat Network Configuration tool to add a new modem device. This tool is accessed via the RedHat menu under System Settings -> Network (note that this is not the Network Device Control tool which is under the System Tools menu. SoundSound worked correctly for me with the standard RH9 install. Occasionally the frequency settings can be messed up. I have not tested this, but this link describes a potential fix. By default, RedHat 9 does not play mp3 files in xmms, the standard audio player. Install this RPM file to make it work. Note that you must update to the latest RedHat 9 packages for xmms to work correctly. If you haven't, it will segfault when you try to run it. UDMA Hard DiskUpdated on September 13th, 2003 If you've updated to a RedHat kernel later than 2.4.20-13, then your hard disk performance is okay. If not, upgrade and test to make sure it is working with: % su % hdparm -t /dev/hda /dev/hda: Timing buffered disk reads: 64 MB in 2.11 seconds = 30.33 MB/sec TrueType Microsoft FontsUpdated on September 13th, 2003 After setting up X correctly, you need to fix up a few other configuration files to make sure you use the highest quality fonts with your awsome WUXGA display. Boot to your windows desktop and copy the fonts from C:\WINDOWS\fonts to your shared Windows/Linux partition. Then, reboot under Linux, and copy this
You can test out the new fonts using the Gnome Preferences -> Font selector, or using xfontsel. Note that the new RedHat 9 font configuration will look in ~/.fonts for new fonts. If you want your desktop to use the same nice fonts as used in Windows XP, here is a list of the settings which are set under Preferences->Font. I find that 12 point is generally easier to read. Note that I also recommend updating the size of the fonts in your browser as described below for Mozilla Firebird.
Web Browsing and EmailThe new Mozilla Firebird web browser and Thunderbird email tools are much faster than the standard mozilla tools. The included versions are all setup to use XFT so that you get nice anti-aliased fonts. After installing, you'll want to copy over your bookmarks and existing email messages into the right places. Generally, you should be able to go into your current browser and export your bookmarks to an HTML file which can be imported into Firebird. Email messages are a bit more difficult, but can also be exported and imported. Note that the default font sizes are different if you have run The Macromedia Flash Installer is easy to install with:
Blackdown Java 2 Runtime can be installed with the following commands (I had trouble getting Sun's gcc 3.x build of Java working with this XFT version of Firebird, but this Blackdown version works great):
Really Slick ScreensaversThese are some much nicer screensavers that are ported versions of Windows OpenGL screensavers. I've also included my .xscreensaver file which should be put in your home directory after installing the RPM.
Development ToolsI recommend using xxdiff for visual file comparison, and our company uses Perforce, so we need a copy of the p4 binary for Linux:
|