Installing Linux on
9th July 2003
This is a description of the process I used to install RedHat V9 Linux on my Toshiba Satellite Pro 6100 notebook while retiaining the Windows 2000 installation.
These installation instructions are based on RedHat 7.3 on Toshiba 6100(dead link), Setup of Toshiba 6100 Pro for GNU/Linux and Toshiba Satellite Pro 6100 with Linux
The basic info for my notebook is:-
OS Name -- Microsoft Windows 2000 Professional Version -- 5.0.2195 Service Pack 2 Build 2195 System Manufacturer -- TOSHIBA System Model -- Satellite Pro 6100 System Type -- X86-based PC Processor -- x86 Family 15 Model 2 Stepping 4 GenuineIntel ~1595 Mhz BIOS Version -- v1.60 Total Physical Memory -- 523,056 KB Hard Disk -- 30Gig Mouse -- Logitech PS/2 wireless-optical Monitor -- NEC LCD1550V Keyboard -- AT, connected to PS/2 port with splitter
The monitor, mouse and keyboard are switched between two computers via a switch box.
First back up your hard disk. You are going to change the partition info on your hard disk and if you make a mistake you may have to completely re-install Windows.
Toshiba's recovery CD's automatically takes the whole hard disk for Windows so after you have backed up you need to change the size of the Windows partition to make space for Linux. I used a disk defragmentor and compactor (the trial version of PerfectDisk) to try and compact the existing Windows files into the lower half of the drive so I could split it in two. This was not completely sucessful as there where still large gaps in the disk allocation after the defragment had finished but it was good enough. I used PerfectDisk's display to estimate the minimum size partition I needed to keep all my existing Window's files. You can always do a clean install of Windows and then restore your backup to get a fully compacted hard disk.
To create the Linux Partition I used BootIt NG. If you follow these instructions, you will need to pay for BootIt NG as you will continue to use it.
Create a boot disk or boot CD for BootIt and then follow the instructions on the web site to create two new partions, one for BootIt and one for Linux. Keep the boot disk handy as you will need it for kernel upgrades
I used the following install options.
"Limited Partions", "Seperate Partition for BootIt"
and "Let BootIt choose partitions"
I set the Linux and windows partitions to be visible to each other. When I had finished I had the following partition layout.
When installing RedHat Linux V9.0 I accepted most of the defaults with the following exceptions
I selected the PS/2 Generic - Wheel Mouse.
I chose Automatic Partitioning - Remove All Linux Partitions on this System
I used the LILO loader and specified that it to be placed in the Linux boot partition rather than in the system MBR (BootIt is in the MBR)
I selected "FORCE LBA32" as I could not get Linux to boot without this setting in my configuration
In package selection I installed the GCC compiler and the Linux Kernel souce code. You will need this to generate a new video driver when you upgrade the kernel.
For the video card I accepted RedHat's selection of Nvidia GForce video card
Once Linux was running I modified the /etc/modules.conf file to add
options NVreg_SoftEDIDs=0 options NVdriver Nvreg_Mobile=4
and modified Device section of the the /etc/X11/XF86Config file to
Section "Device" Identifier "Videocard0" Driver "nvidia" VendorName "Videocard vendor" BoardName "NVIDIA GeForce 4 (generic)" VideoRam 32768 Option "ConnectedMonitor" "CRT, CRT" EndSection
The only problem I still have is that Linux will hang on the USB check when booting if I use "Restart". The fix is to "Shutdown" first and then boot Linux.
To transfer files from Linux to Windows, I installed explore2fs on the Windows drive. This lets me see the Linux partitions and copy files from them to Windows. On the Linux side I installed the appropiate ntfs package. That site has detailed instructions on how to selecte the correct version for your kernel.
To update the kernel you need to download
The new kernel RPM
The new kernel source to match
The new ntfs package to match this kernel
You need the kernel source because the Nvidia driver package will try and build itself for your kernel after you update the kernel. If you installed to kernel source originally (as suggested above) then the RedHat update service will offer to update the kernel source when it updates the kernel.
Detailed steps are:-
Download new kernel rpm
Download the source for the new kernel
Download ntfs support for this kernel
Make sure the NVIDIA install...run file is available
Make sure the notebook will boot from floppy first and BootITNG boot disk is available
Un-install ntfs support
rpm -e kernel-ntfs
Install new kernel
rpm -ihv kernel-.....rpm
Install new kernel's sournce
rpm -ihv kernel-source.....rpm
Run lilo to update boot
You should see your existing kernel and the new one. The existing kernel should be the default (*)
Reboot with floppy drive attached and BootITNG boot disk in (lilo overwrites the MBR for some reason so you need to re-install BootIt).
Go to Maintainence and delete EMRB boot partition (Only clear it)
Resume and Re-install BootITNG, When prompted choose ONLY 4 Partitions and let BootITNG choose the partition
Remove Floppy drive and reboot. At RedHat screen choose new kernel (quickly use the down arrow to choose the new kernel from the list)
When X11 says it cannot start answer NO to all questions to get back to the login prompt and log in as root
Run the NVIDIA install
This should build and install a new screen driver.
Install the new ntfs support
rpm -ivh kernel-ntfs....rpm
Check it with
Reboot and choose new kernel again to check everything works
Edit /etc/lilo.conf to make the
new kernel the default (change the default= line to the label of the
Leave the old kernel available in case you need to go back.
Contact Forward Computing and Control by
©Copyright 1996-2012 Forward Computing and Control Pty. Ltd. ACN 003 669 994