|
[...Linux on Laptops...] |
This document describes how to install Linux on a Compaq 1800-XL181. I used
Red Hat 6.2 and later updated to
Red Hat 7.0
THIS DOCUMENT ONLY DESCRIBES HOW A INSTALLATION COULD LOOK LIKE, I AM NOT
RESPONSIBLE FOR ANY DAMAGE YOU MAKE TO YOUR OWN LAPTOP, SOFTWARE, DATA OR
YOUR BRAIN AND NERVES!
Document last modified: 14/04/2011 17:27:53
Author / Email-Link: Hakan Kuecuekyilmaz
38.107.179.242 has accessed this side 1 time(s) with CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
The 1800-XL181 has a Pentium-III 500 MHz. CPU, 12 GB HD, 128MB of RAM,
a 15" XVGA Display, ATI 3D Rage LT Pro AGP-133, a 6x/24x DVD/CD-ROM, 3.5" Floppy,
10/100 Mbit Ethernet, internal Modem, USB, PCMCIA and an external controllable CD-Player.
I started to work as a Access Database programmer involved
with visits to customers, so I told my boss that I need a Laptop.
Soon a big supermarket had the 1800-XL181 in a special price offer.
And so I got this real nice Laptop.
I am using it with a lot of pleasure. It is a good development machine
for Access. Sorry but the customers love Access. Some bad things
are that it was shipped with Win98SE and that the machine is not modular,
you cannot put the floppy or CD-ROM out without disassembling the
whole Laptop. The worst thing of course is that it was shipped without Linux.
My /etc/fstab looks like this:
<hda1> <hda2><hda5 hda6 hda7>If you want to use Windows and Linux you should partition the harddisc with the fdisk program of dos. I have had troubles with disappearing partitions as I partitioned with fips from Linux. The sizes of the single partitions depend on your preferences.
/dev/hda5 / ext2 defaults 1 1 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/hda1 /w2k/C vfat defaults 0 0 /dev/hda7 /w2k/D vfat defaults 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 none /proc proc defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 /dev/hda6 swap swap defaults 0 0
Regarding to Jörg Pochmann there should be Partition Magic 4.x on
the Recovery-CD.
It should be located in d:\CPQS\Tools\PQMAGICE.exe and runs in dos.
The Partitioning is much easier with Partition Magic. But I have not tried it.
Details are obtainable from:
http://private.addcom.de/meinpresario1800/ntproblem.htm
Non-interlaced SVGA, 1024x768 at 60 Hz, 800x600 at 72 Hz.
/sbin/insmod -f ltmodem to
/sbin/insmod -f ltmodem.o
^^^
and running it with ./ltinst script the system should says something about the
kernel version but this does not matter. After that minicom -s should be executed
to initialize the modem.Please read the readme.txt file about
the details!
[root@bwpc87 /root]# echo "hdparm -m16 -c1 -u1 -d1 -W1 -S37 /dev/hda" >> /etc/rc.d/rc.local
With RHat 7.0, which I am actually running, the optimizing of the
harddisk is done in a seperate file.
I edited /etc/sysconfig/harddisks as root like this:
# These options are used to tune the hard drives - # read the hdparm man page for more information # Set this to 1 to enable DMA. This might cause some # data corruption on certain chipset / hard drive # combinations. This is used with the "-d" option USE_DMA=1 # Multiple sector I/O. a feature of most modern IDE hard drives, # permitting the transfer of multiple sectors per I/O interrupt, # rather than the usual one sector per interrupt. When this feature # is enabled, it typically reduces operating system overhead for disk # I/O by 30-50%. On many systems, it also provides increased data # throughput of anywhere from 5% to 50%. Some drives, however (most # notably the WD Caviar series), seem to run slower with multiple mode # enabled. Under rare circumstances, such failures can result in # massive filesystem corruption. USE WITH CAUTION AND BACKUP. # This is the sector count for multiple sector I/O - the "-m" option # MULTIPLE_IO=16 # (E)IDE 32-bit I/O support (to interface card) # the "-c" option (added by Hakan Kuecuekyilmaz) EIDE_32BIT=1 # Enable drive read-lookahead # LOOKAHEAD=1 # Add extra parameters here if wanted # On reasonably new hardware, you may want to try -X66, -X67 or -X68 # Other flags you might want to experiment with are -u1, -a and -m # See the hdparm manpage (man hdparm) for details and more options. # EXTRA_PARAMS= hdparm -u1 -W1 -S37 /dev/hda --- after that I did ran some tests [root@bwpc87 /root]# hdparm -v /dev/hda /dev/hda: /* These are own comments! */ multcount = 16 (on) -m16 /etc/sysconfig/harddisks I/O support = 1 (32-bit) -c1 /etc/sysconfig/harddisks unmaskirq = 1 (on) -u1 /etc/sysconfig/harddisks EXTRA_PARAMS=... -u1 using_dma = 1 (on) -d1 /etc/sysconfig/harddisks keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) -a8 geometry = 1559/240/63, sectors = 23579136, start = 0 /dev/hda: Timing buffer-cache reads: 128 MB in 0.95 seconds =134.74 MB/sec Timing buffered disk reads: 64 MB in 4.82 seconds = 13.28 MB/sec /dev/hda: Timing buffer-cache reads: 128 MB in 0.94 seconds =136.17 MB/sec Timing buffered disk reads: 64 MB in 4.79 seconds = 13.36 MB/sec /dev/hda: Timing buffer-cache reads: 128 MB in 0.94 seconds =136.17 MB/sec Timing buffered disk reads: 64 MB in 4.81 seconds = 13.31 MB/sec with [root@bwpc87 /root]# hdparm -X66 /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 0.94 seconds =136.17 MB/sec Timing buffered disk reads: 64 MB in 4.82 seconds = 13.28 MB/sec /dev/hda: Timing buffer-cache reads: 128 MB in 0.94 seconds =136.17 MB/sec Timing buffered disk reads: 64 MB in 5.26 seconds = 12.17 MB/sec /dev/hda: Timing buffer-cache reads: 128 MB in 0.94 seconds =136.17 MB/sec Timing buffered disk reads: 64 MB in 4.80 seconds = 13.33 MB/sec --> makes no difference, so I let the -X66 out of EXTRA_PARAMS...If you can realize any better results, please inform me!