Make your own free website on Tripod.com
Installing Linux Kernel 2.6.17.4 in Dell Latitude D610

Installing Linux Kernel 2.6.17.4 in Dell Latitude D610


I successfully installed Slackware 10.2 with the latest kernel 2.6.17.4 in my notebook, Dell Latitude D610.
This documents is based on my experience and it works. Therefore, if you wanted to try, it is AT YOUR OWN RISK!!However, there is no harm if you try, right?? (But, make sure you have a good backup, of course!!).
 
UPGRADING THE KERNEL (Using bootable Slackware 10.2 CD-ROM) 

1) Logout from X-windows

2) Sign in as 'root'

3) telinit 1

4) mount -t iso9660 /dev/cdrom /mnt/cdrom
                or
   mount -t iso9660 /dev/cdrom /mnt/hdc

5) ls -l /mnt/cdrom/testing/packagesl

6) To upgrade gcc compiler: (upgrade all for any *.tgz (tar GNU zip) files that available in the directory)
        a. upgradepkg --install-new /mnt/cdrom/testing/packages/gcc-3.4.4/*.tgz
        b. upgradepkg --install-new /mnt/cdrom/testing/packages/*.tgz
        c. upgradepkg --install-new /mnt/cdrom/testing/packages/vm/*.tgz
        d. upgradepkg --install-new /mnt/cdrom/testing/packages/php.5.0.5/*.tgz

7) telinit 3    (partially shutdown and reboot)

8) logout from root

11) login as normal user

12) startx


INSTALLING THE KERNEL

13) su

14) cd /usr/src/linux/kernel

15) gunzip linux-2.6.17.4.tar.gz

16) tar -xvvf linux-2.6.17.4.tar
       
17) ls -l; cd /usr  

18) cp -R linux-2.6.17.4 /usr/src

19) cd /usr/src; ls -l 
     if don't have .config file, must copy from the original .config file.

20) kernel compile  (I hope you already know how to do kernel compile)

Finally, reboot and try your new kernel.
                                        
During booting, I had this problem:

Kernel_panic - not syncing : VFS : Unable to mount root fs on unknown_block (3,3)
VFS : Cannot open root device "303" or unknown _block (3,3)
Please append a correct "root" - boot option read-only.

So, if this happens to you, what should you do? Don't be panic, okay!! (even it stated 'kernel_panic') ;-p
This is what I did; configured the filesystem as sda. This is because the new kernel only know SATA drive. While, the old kernel use IDE drive.

Before

 
root@ffv3vf:~# cfdisk

                                               cfdisk 2.12p

                                             Disk Drive: /dev/hda
                                       Size: 40007761920 bytes, 40.0 GB
                             Heads: 255   Sectors per Track: 63   Cylinders: 4864

     Name             Flags          Part Type      FS Type                [Label]             Size (MB)
 ------------------------------------------------------------------------------------------------------------
     hda1             Boot            Primary       NTFS                   [^A]                 10742.22
     hda2                             Primary       Linux swap                                    296.12
     hda3                             Primary       Linux ReiserFS                              23902.67
     hda5                             Logical       Linux                                        5066.78

      [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]  [  Quit  ]  [  Type  ]  [ Units  ]
      [ Write  ]

                                Toggle bootable flag of the current partition

After

                                                  cfdisk 2.12p

                                             Disk Drive: /dev/sda
                                       Size: 40007761920 bytes, 40.0 GB
                             Heads: 255   Sectors per Track: 63   Cylinders: 4864

     Name             Flags          Part Type      FS Type                [Label]             Size (MB)
 ------------------------------------------------------------------------------------------------------------
     sda1             Boot            Primary       NTFS                   [^A]                 10742.22
     sda2                             Primary       Linux swap                                    296.12
     sda3                             Primary       Linux ReiserFS                              23902.67
     sda5                             Logical       Linux                                        5066.78

      [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]  [  Quit  ]  [  Type  ]  [ Units  ]
      [ Write  ]

                                Toggle bootable flag of the current partition

Then, reboot. Hope, this will work to you too...



Try This Out and Good Luck!!

Return to Linux home page