📚 LinuxDocs
Topics:
All Pages8021X HOWTOACP ModemACPI HOWTOADSL Bandwidth Man..ATA RAID HOWTOATM Linux HOWTOAX25 HOWTOAccessibility Dev ..Accessibility HOWTOAdv Bash Scr HOWTOAdv Routing HOWTOAntares RAID sparc..Apache Compile HOWTOApache WebDAV LDAP..Assembly HOWTOAstronomy HOWTOAthlon Powersaving..Authentication Gat..Autodir HOWTOAviation HOWTOAvr Microcontrolle..BRIDGE STP HOWTOBTTVBackspaceDeleteBandwidth Limiting..Bangla HOWTOBash Prompt HOWTOBattery PoweredBelarusian HOWTOBelgian HOWTOBeowulf HOWTOBocaBogoMipsBootdisk HOWTOBridgeC++ dlopenC C++Beautifier HO..C editing with VIM..CDROM HOWTOCDServer HOWTOCable ModemCaudium HOWTOClone HOWTOCompaq Remote Insi..Compaq T1500 HOWTOConexant+Rockwell ..Cryptoloop HOWTODB2 HOWTODHCPDSL HOWTODVD Playback HOWTODebian Binary Pack..Debian JigdoDebian and Windows..Disk Encryption HO..Disk on Chip HOWTODocBook Demystific..DocBook InstallDocBook OpenJade S..Ecology HOWTOEmacspeak HOWTOEncourage Women Li..Encrypted Root Fil..Euro Char SupportEvent HOWTOFedora Multimedia ..Finnish HOWTOFirewall PiercingFlash Memory HOWTOFont HOWTOFramebuffer HOWTOGCC HOWTOGIS GRASSGlibc Install HOWTOHOWTO HOWTOHOWTO INDEXHP HOWTOHandspring VisorHard Disk UpgradeHardware HOWTOHighQuality Apps H..Home Electrical Co..IBM7248 HOWTOIO Perf HOWTOIP AliasIP Masquerade HOWTOIRCImplement Sys Call..Indic Fonts HOWTOInfrared HOWTOIngresII HOWTOInstall StrategiesInstallation HOWTOInstallfest HOWTOIntkeybItalian HOWTOJabber Server Farm..JavaStation HOWTOKerberos Infrastru..Kernel HOWTOKerneldKodak Digitalcam H..LDAP HOWTOLDP Reviewer HOWTOLILO crash rescue ..LVM HOWTOLeased LineLegoLinksys Blue Box R..Linux+Win95Linux+Win9x+Grub H..Linux+Windows HOWTOLinux Complete Bac..Linux Crash HOWTOLinux Gamers HOWTOLinux Modem SharingLinux Promise RAID..Linux i386 Boot Co..LinuxGL QuakeWorld..Lotus DominoR5MILO HOWTOMMBase Inst HOWTOMP3 CD BurningMail User HOWTOMajordomo MajorCoo..Man PageMasquerading Simpl..Medicine HOWTOMindTerm SSH HOWTOMobile IPv6 HOWTOMock MainframeModule HOWTOModulesMotorola Surfboard..Mozilla OptimizationMulti Distro DevNCURSES Programmin..NFS HOWTONFS Root Client mi..NIS HOWTONetMeeting HOWTONetwork boot HOWTONvidia OpenGL Conf..OLSR IPv6 HOWTOOnline Troubleshoo..Oracle 9i Fedora 3..PA RISC Linux Boot..PCTel MicroModem C..PHP Nuke HOWTOPPP HOWTOPagerPalmOS HOWTOPartitionPartition Mass Sto..Partition Mass Sto..Partition RescuePine ExchangePortSlavePost Installation ..Postfix Cyrus Web ..Pre Installation C..Print2WinPrinting HOWTOProcess AccountingProgram Library HO..Proxy ARP SubnetQmail ClamAV HOWTOQmail VMailMgr Cou..Querying libiptc H..RPM HOWTOReading List HOWTORedHat CD HOWTOReliance HOWTORemote BridgingRemote Serial Cons..SCSI 2.4 HOWTOSCSI Generic HOWTOSLIP PPP EmulatorSRM HOWTOSSL Certificates H..Scanner HOWTOScientific Computi..Scripting GUI TclTkSecure CVS PserverSecure Programs HO..Security HOWTOSecurity Quickstar..Security Quickstar..Serial Laplink HOWTOSerial Programming..Slovak HOWTOSmall MemorySmart Card HOWTOSoftware Proj Mgmt..Software Release P..Sound HOWTOSpam Filtering for..Speech Recognition..SquashFS HOWTOSybase ASA HOWTOSybase ASE HOWTOSybase PHP ApacheTCP Keepalive HOWTOTamil Linux HOWTOTimePrecision HOWTOTimeSys Linux Inst..Token RingTraffic Control HO..Traffic Control tc..UPS HOWTOUnix Hardware Buye..Unix and Internet ..UpgradeUsenet News HOWTOUser Authenticatio..VB6 to TclVMS to Linux HOWTOVPN HOWTOValgrind HOWTOVideoLAN HOWTOVim HOWTOVirtual WebWebcam HOWTOWikiText HOWTOWindows Newsreader..Wireless Link sys ..Wireless Sync HOWTOXDM XtermXDMCP HOWTOXFree Local multi ..XFree86 HOWTOXFree86 R200XFree86 Second MouseXFree86 Video Timi..XML RPC HOWTOXWindow Overview H..XWindow User HOWTOXinerama HOWTOXterminalsHtml singleI810 HOWTOLibdc1394 HOWTOOpenMosix HOWTOPhhttpd HOWTOPpp sshText

6. Installing Native Linux RAID

The first step you want to take is to configure your networking and connect your computer to Internet, which is still running under Promise Driver SCSI emulation. Next you will install native Linux RAID.

  1. Go to www.kernel.org and download latest kernel 2.4.18.tar.gz.

  2. Configure your kernel:

    cd /usr/src/ 
    tar xvzf linux-2.4.18.tar.gz 
    cd linux                 # cd to kernel source directory just created by tar
    cp config.txt .config    #(See NOTE below to find out where to get config.txt)
    make menuconfig

    NoteNOTE
     

    You can download a working config.txt file HERE. You can, of course, modify this to suit your needs either directly in a text editor or by typing make menuconfig as explained above. It is easy to make mistakes if you are editing .:: drill.lovesick.jp ::. .config directly in vi or emacs. Therefore, it is recommended to use Menu Interface by typing .:: booklog.jp ::. make menuconfig.

  3. Enable all the following in the kernel statically (NOT as modules):

      ATA/IDE/MFM/RLL Support -->
    	<*> ATA/IDE/MFM/RLL Support
    	IDE/ATA/ATAPI Block Devices -->	
    		<*> Enhanced ATA/IDE/MFM/RLL disk/cdrom/tape/floppy support
    		<*> Include IDE/ATA-2 Disk Support
    		[*] Use multi-mode by default
    		Include IDE/ATAPI CDROM support
    		[*] Generic PCI IDE chipset support
    			[*] Sharing PCI IDE interrupt support
    			[*] Generic PCI Bus master DMA support
    			[*] Use PCI DMA by default when available
    			[*] Intel PIIXn chipset support
    				[*] PIIXn tuning support
    		[*] Promise PDC202{46|62|65|67|68} support
    			[*] Special UDMA Feature
    			[*] Special FastTrack Feature
    		[*] VIA 82CXXX chipset support
    		<*> Support for IDE RAID controllers
    			<*> Support Promise Software RAID (fasttrack)
  4. After you have enabled static features as shown above, make any more changes that you would like to make to suit your environment.

  5. Save the kernel configuration. It is saved to .config in the current directory. Please back up this file. If you dont do so, you will regret it later. Copy .config file in a blank floppy or in /root

  6. Build and install the kernel like you normally do, by typing:

    make dep ; make clean ; make && make install 
    make modules && make modules_install

Look at /etc/lilo.conf to make sure new lines are added to boot your new kernel 2.4.18. Note that there should not be an initrd= line for this new kernel in /etc/lilo.conf. That is, our new kernel will boot itself without depending on a initrd.img unlike your current 2.4.7-10 kernel.

Now adjust /etc/lilo.conf as follows:

  1. Locate the root=/dev/sdaX line for the new kernel in .:: roughstuffmedia.activeboard.com ::. /etc/lilo.conf. Change this to root=/dev/ataraid/d0pX where X is a number 1 through 16. Save your changes.

  2. Type:

    /sbin/lilo
  3. If you chose any ext2 partitions during installation, you should comment them out in /etc/fstab for now.(Best thing is: Forget ext2 in this whole process)

  4. Remove all floppies and CDs, and reboot by typing:

    sync;sync;reboot
  5. At the LILO prompt, type your new kernel lable corresponding to [ArXiv: JavaScript Analysis] 2.4.18 Your computer should then boot into your new kernel.

  6. Login and type df -k to make sure you see /dev/ataraid/d0X entries instead of earlier /dev/sdaX entries.

    NoteNOTE
     

    You may see some errors related to mounting swap device at the time of booting into new kernel. These are harmless. You should edit /etc/fstab to change any sdaX entries to ataraid/d0pX entries.

  7. Now, connect your computer to Internet and download lilo-22.tar.gz (the latest version of lilo program) from the Internet.

  8. Remove the existing lilo on your computer by typing: .:: www.arc.agric.za ::. [Natural language processing Modules] rpm -e --nodeps lilo

  9. Install new version of lilo as follows:

    tar xvzf lilo-22.tar.gz
    cd lilo-22	# cd to lilo source directory just created by tar 
    ./QuickInst.sh 
  10. Say "Yes" to questions the system will ask you.

  11. Ignore any errors except if /sbin/lilo is not created.

  12. Adjust /etc/lilo.conf as follows:

    • Replace linear by lba32

    • Delete line "compact"

    • Change vga= line to vga=normal

    • Change boot=/dev/sda line to boot=/dev/ataraid/dN (where N is the partition number on which your root file system exists. Type .:: chromewebstore.google.com ::. df -k / to find out your root partition number).

    • Make sure that default=linux-2.4.18 (where linux-2.4.18 is the label given to boot your new kernel: 2.4.18)

  13. Save changes to the file and type: /sbin/lilo

  14. Reboot the system and cross your fingers.

Here is how the final /etc/lilo.conf should look like.

If everything comes up without any errors, time to celebrate!!

Share or Research:

Share on FB Post to X LinkedIn 🤖 Ask AI about this