Installing Debian Linux on a Dell Laptop
I recently bought (leased, actually) a Dell Latitude C800 Laptop. In my work as a software development consultant, I often need to have my own laptop at client sites. The Latitude C800 is one of Dell's high-end laptop models, and an impressive one at that. My laptop's hardware configuration is as follows:
PIII 1.0GHz Processor
256MB RAM
IBM 32.0GB 5400RPM UDMA66 HD (IBM DJSA-232)
ATI Rage Mobility M4 Video w/ 32MB RAM
Built-in mini-PCI 3Com 56k modem + 10/100 combo
15" UXGA Active Matrix (TFT) display (1600x1200)
Built-in ESS Maestro 3i sound card
LG 8X DVD-ROM Drive
BIOS Revision A09
In this article, I will discuss all the steps necessary to install the current stable release of Debian GNU/Linux (currently 2.2r3, also known as potato) on this laptop; upgrade from the stable release of Debian to the unstable branch (currently known as sid); and set up XFree86 4.1.0 to run at a resolution of 1600 x 1200 and at 24bpp color depth.
I will do a network install of Debian on this laptop since I have cable-modem internet access. Debian has an excellent network installer that I would recommend to anyone who has reasonably fast cable/DSL internet access.
For people new to Debian, it is strongly recommended that they (at least once) read over the Debian Installation Manual, which can be found in various formats at www.debian.org/releases/stable/#new-inst.
For the case discussed here, you'll want to read the Installation Manual for the Intel x86 architecture.
Various flavours of Debian boot floppies are available, each geared (i.e., having kernel configuration options) for specific target hardware types. For the Dell C800 laptop, it is sufficient to have a kernel configuration that supports 3Com Ethernet drivers, so that the built-in Ethernet Card can be detected automatically and the network set up at the same time. The compact boot floppy set is ideal for this, available as three 1.44MB floppy images from http.us.debian.org.
rescue.bin: floppy image for the bootable rescue disk
root.bin: floppy image for the root disk
driver-1.bin: floppy image containing kernel modules for various hardware not necessary for initial bootup. We don't need this floppy image as we are care only about having the internal NIC detected at bootup. So this floppy image can safely be ignored.
We will also need a floppy disk in order to create a bootable floppy, so that the Debian installation can be booted from it instead of the hard disk.
All in all, we will need three blank floppy disks, one for rescue.bin, one for root.bin and one for the boot disk (to be created later on in the install).
Once you have downloaded the rescue.bin and root.bin images, you have to write them to blank floppy disks (preferably brand new ones) using the instructions provided at www.debian.org.
Boot the laptop with the rescue floppy. (If your laptop does not search the floppy drive at bootup for a floppy disk, you will have to change the bootup sequence, located in the BIOS settings, so that the first boot device is the disk drive).
Press Enter at the Welcome screen.
As the kernel starts booting, you should notice that the internal miniPCI 10/100 NIC card has been detected as eth0. If your C800 laptop has the 3Com internal miniPCI combo (like mine), you will notice the kernel's 3c59x.c driver has been loaded for the NIC.
You will then be prompted for the root floppy disk, after which the console-based Debian installer appears.
The first step will be to Configure the keyboard. Choose qwerty/us: US English (QWERTY).
Since I am starting out with a blank, unpartitioned hard disk, the next step presented by the installer will be Partition a Hard Disk. If you already have an OS installed, your choice will be different.
Select the drive to partition; there will be only one choice, /dev/hda, after which you will enter into cfdisk.
I will also create the following partitions:
Partition Name | Partition Type | Size (MB) | Purpose/Intended Use |
/dev/hda1 | Primary | 256 | / for Debian |
/dev/hda2 | Primary | 4000 | Win2K |
/dev/hda3 | Primary | 5000 | FreeBSD |
/dev/hda5 | Logical | 512 | swap |
/dev/hda6 | Logical | 500 | /tmp |
/dev/hda7 | Logical | 500 | /var |
/dev/hda8 | Logical | 3000 | /home |
/dev/hda9 | Logical | 3000 | /usr |
/dev/hda10 | Logical | 2000 | /usr/local |
Modify your disk partition layout to suit your needs and the intended use of the laptop. In my case, since I intend to use Win2k on this laptop, I have left a 4GB primary partition for it. I want to try out the recently released FreeBSD 4.4 as well, so I have left a 5GB primary partition for it.
You also don't have to follow my disk partition layout. I prefer to have mountpoints like /tmp, /var, /usr and /usr/local on separate partitions. Keeping /tmp and /home on separate partitions allows me to share/reuse these disk partitions (as well as the swap partition, of course) with other Linux installs on the same disk.
Also, since I do install some software from source (XEmacs 21.4.4, Xine and mplayer, for example), I prefer to keep /usr/local as a separate partition for software not tracked by the package management system.
Minimally, you will need at least two partitions, a swap partition (usually 2 * PhysicalRam) and a root partition for the / mountpoint.
By default, cfdisk will give all newly created partitions the Linux type. To prepare for the next step of the installer, change the partition type of the intended swap partition, in my case /dev/hda5, to the Linux swap type (type 82) by selecting that partition with the cursor keys. Then choose the Type option from the cfdisk menu at the bottom of the screen.
Once you have completed disk partitioning and are satisfied with your layout, select the Write option from the cfdisk menu to write out the partition layout to disk, and then the Quit option to return to the Debian installer.
The installer will prompt you to Initialize and activate a swap partition. A Swap Partition Selection menu should appear with the intended swap partition listed in it (/dev/hda5). Press Enter to select that partition. You will be asked if you want to skip the bad-block scan on this partition. After that, select Yes to initialize that partition as the swap partition.
For all other partitions you choose to initialize as Linux partitions, the installer will ask 1) do you want to retain Linux kernel 2.0 compatibility, and 2) should the bad-block scan be skipped on dev/hdXYY?
You should answer No to the first question since you probably don't intend to run a 2.0.x kernel. It's up to you whether you want to run a bad-block scan on partitions. Just remember that the larger the partition is, the more time it will take to check for bad blocks.
At the next step, Initialize a Linux Partition, choose the partition that you intend to mount as /, or the root partition. In my case, this is /dev/hda1. When this partition has been initialized (formatted), answer Yes to Mount as the Root Filesystem.
The next step of the installer will be Install Operating System Kernel and Modules. Since I have chosen to have separate partitions for other mountpoints (/tmp, /var, /home, /usr, /usr/local), I will select the alternate installation task, Initialize a Linux Partition, from the installer menu and specify the remaining mountpoints:
/tmp, /var, /home, /usr, /usr/local
For each of these remaining partitions, when initialization is complete the installer will notice that the root (/) partition has already been initialized and mounted, and it assume that the user wants to specify a non-root mountpoint for this partition. It's at this step that I will specify the remaining mountpoints (/tmp, /var, /home, /usr, /usr/local).
Once that is (finally!) complete, select Install Operating System Kernel and Modules, choosing network as the installation medium.
Configure your network settings, including hostname. Since I have a DHCP server running on my internal network at home, I will choose DHCP to automatically configure eth0. If you have a static IP configuration, say No to DHCP/BOOTP configuration, and you will then be prompted for all the settings.
At the Select Installation Server step, accept the default for the Download URL. If you use a proxy server, make sure to enter that information.
Once the rescue.bin and drivers.tgz files have been downloaded and installed, the installer will present the next task, Configure Device Driver Modules. You can skip this installation task, as we intend to compile a custom kernel from source later on. You will notice the following alternate tasks listed:
Alternate : Configure PCMCIA Support
Alternate1: Edit Kernel Boot Parameters
Skip both and instead choose Install the Base System by scrolling down the list of installation tasks. Again, select network as the installation medium. Follow the same steps as above when prompted to Select Installation Server.
Once the base system has been downloaded and installed, the installer will again present you with the next task, Configure Device Driver Modules. Two alternate tasks will be listed:
Alternate : Configure PCMCIA Support
Alternate1: Edit Kernel Boot Parameters
As before, skip both and instead scroll down the list of installation tasks and select Configure the Base System.
Select your Timezone and also indicate if the hardware clock will be set to GMT (recommended).
In the next step, Make Linux Bootable Directly from Hard Disk, you will have to specify where you want to install LILO. Select the first option listed, which will be to install LILO in the MBR.
We are at the last step of this first phase of installation, creating a boot floppy. The second step will be to boot the system from the HD and perform additional post-boot, base configuration tasks.
Select the final step (of this phase of installation) and reboot the system, making sure that the boot floppy you created has been removed from the floppy drive.
Trending Topics
| You Need A Budget | Feb 10, 2012 |
| The Linux powered LAN Gaming House | Feb 08, 2012 |
| Creating a vDSO: the Colonel's Other Chicken | Feb 06, 2012 |
| Your CMS Is Not Your Web Site | Feb 01, 2012 |
| Casper, the Friendly (and Persistent) Ghost | Jan 31, 2012 |
| Razor-qt 0.4 - Qt based Desktop Environment | Jan 30, 2012 |
- Fun with ethtool
- Linux-Based X Terminals with XDMCP
- 100% disappointed with the decision to go all digital.
- Readers' Choice Awards 2011
- Parallel Programming with NVIDIA CUDA
- You Need A Budget
- Validate an E-Mail Address with PHP, the Right Way
- The Linux powered LAN Gaming House
- Python for Android
- The Linux RAID-1, 4, 5 Code
- Gnome3 is such a POS. No one
2 hours 12 min ago - Gnome 3 is the biggest POS
2 hours 22 min ago - I didn't knew this thing by
8 hours 27 min ago - Author's reply
11 hours 51 min ago - Link to modlys
12 hours 58 min ago - I use YNAB because of the
13 hours 9 min ago - Search
18 hours 12 min ago - Question
18 hours 36 min ago - for the record
18 hours 38 min ago - That's disappointing. Thanks
21 hours 1 min ago





Comments
PCLinux dual boots Dell XPS 1530 with Vista Premium
DELL XPS 1530 15.4" - CPU: Intel Core 2 Duo (Penryn) T8100 2.1 GHz, 3MB L2 Cache, Intel PM 965 board
Memory 4GB DDR2
Installed PCLinux 2009 (Kernel 2.6.26.8) from www.pclinuxos.com
Downloaded the nvidia-current drivers from synaptic for NVIDIA GeForce 8600M GT 256 MB GDDR3
Screen resolution: 1280x800 WXGA TFT resolution and built-in 2M web cam
Cheese for webcam
Set the kernel boot setting "i8042.nomux=1" for the trackpad issues
And Voila PCLinux 2009 works on DELL XPS 1530 flawlessly
Wireless (WPA2-PSK)/wired internet work with ndiswrapper (BCM4328 driver/sky2 driver) for Dell Wireless WLAN-n and Marvell 10/100 network
Finger Print reader software from UPEK is quite slow at detection and it’s not practical.
alsa for HD sound
Windows Vista Home Premium 32 bit, SP1 Build 6001
PCLinux 2009 OS - dual boot
320 GB Hitachi hard drive - 5400 rpm
Optiarc DVD+-RW
Mobile Intel 965 motherboard
9 cell, 4 hour battery
DELL Media Direct to play multimedia without windows boot.
NVIDIA GeForce 8600M GT 256 MB, Driver: 7.15.11.8520, Driver Date: 12-26-2008, DirectX Version 10
Temperatures:
With latest driver from NVIDIA, motherboard and laptop temperatures recorded were very decent:
CPU: 34 degrees celcius (max: 59 degrees celcius), Fan: 3080 RPM
GPU: 45 degrees celcius (max: 70 degrees celcius)
Chipset: 42 degrees celcius (max: 54 degrees celcius)
Installing Debian
I am not a programmer or computer science engineer but in awe of what Linux can do. I have acquired latest copy of Sarge 3.1r0, and hope to install it on HP Pavallion zv6000. Can someone tell me if this is a pipe dream or a task doable with effort? I would appreciate this early warning so I can return my (newly purchased) computer and buy something easier to work with.
rksingh54@yahoo.com
Having linux and freeBSD on t
Having linux and freeBSD on the same computer offer the possibility to share swap-space. No need to create a 512 Mb linux swap partition. During freeBSD install you create a swap-slice and this http://www.tldp.org/HOWTO/Linux+FreeBSD.html#toc3 will teach you how to use the same space as linux-swap.
3Com Corporation Mini PCI 56k Winmodem
I have an integrated "3Com Corporation Mini PCI 56k Winmodem (rev 10)" in my Dell Latitude C800 notebook. Have anyone managed to get this modem work under linux?
I use Debian Sarge, kernel-2.6.8
Thank for any help in advance.
Debian Linux on Dell Latitude c800 with docking station
i finally took the time and got this to work....should have RTFM (`man 4 r128`)
anyway, in the Device section of your XF86Config, try adding this:
Option "Display" "BIOS"
works for me.....you may have to play with your BIOS settings, or change your Option "NoAccel" as well......
hope that helps someone....
rob@styro.lib.muohio.eud
Re: Installing Debian Linux on a Dell Laptop
I dont quite understand the reason of installing the stable version of Debian, then switching over to the unstable version of debian.
Re: Installing Debian Linux on a Dell Laptop
If I am not mistaken, just to show how to do it.
Re: Installing Debian Linux on a Dell Laptop
In my opinion, new Debian users should stay with a stable release for at least a while (whether that is a few days, weeks or months is really up to how comfortable the end user is).
Debian on the whole is stable. Debian's unstable branch is more stable than most, but it breaks. I'd rather see a new user get the hang of the package management system BEFORE having to fix an oopsie caused by a bad upload.
If you want xfree 4.1.0 to run under debian potato, just visit (and read the README!) here:
http://people.debian.org/~cpbotha/xf410_potato/
Re: Installing Debian Linux on a Dell Laptop
"...the root partition. In my case, this is /dev/hda6."
Your partitioning scheme mentions the following:
"/dev/hda6 Logical 500 /tmp"
Am I missing something?
Re: Installing Debian Linux on a Dell Laptop
Why we install first the stable (potato) distro and then we upgrade to the unstable (sid)? Is not better to install just the testing (woody) one (or just the unstable)?
I'd love something more complete
How do I set up APM, SpeedStep stability, suspend, suspend-to-disk, etc.
Re: Installing Debian Linux on a Dell Laptop
And of course it should read:
/etc/init.d/xdm start
Re: Installing Debian Linux on a Dell Laptop
ctrl-alt-backspace kills the x server.
ctrl-alt-delete will restart Linux
Re: Installing Debian Linux on a Dell Laptop
I work in a school system and am chosen to make a proposal for notebooks for my school. The choice would be between Compaq nx9005 and Dell latitude C 800. I would like to please have an expert opinion before I submit my proposal no later than Tuesday. Is there anyone who could help me make my decision? If I were to choose Dell why and what are the main features of the C 800 that make it appealing, battery life etc... I appreciate it. Thanks
Re: Installing Debian Linux on a Dell Laptop
I have a Dell laptop (running Debian, but the same problem happens with other distros).
I found you can comment out "port 0x800-0x8ff" in "/etc/pcmcia/config.opts" and your cards will work just fine under potato.
Cost me a couple of trashed filesystems to figure that one out...
- Mike Johnson
Re: Installing Debian Linux on a Dell Laptop
Thank you. I have been going insane trying to get that to work.
Using one of the netinst-bf2.4 boot cd's, do everything up to, but not including, Configure PCMCIA. Switch to the second console (alt-f2), and edit /target/etc/pcmcia/config.opts.
Re: Installing Debian Linux on a Dell Laptop
must second this recommendation......after a few hard locks (and trashed filesystems), i came across the same solution for sid.....
one question: has anyone tried to get stuff working in the docking station? i haven't really attempted this yet, but if someone has already identified the pitfalls, i'd love to hear about it....
-rob@styro.lib.muohio.edu